-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kbit_device_map import error. DPO #1319
Comments
hi @sankydesai |
Nope. The issue is very simple. I went to colab, did pip install -U trl and then imported from trl import get_kbit_device_map. It fails. Please check. |
Hi @sankydesai pip install -U git+https://github.com/huggingface/trl |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. |
closing as we made a recent release |
from trl import get_kbit_device_map
ImportError Traceback (most recent call last)
in <cell line: 1>()
----> 1 from trl import get_kbit_device_map
ImportError: cannot import name 'get_kbit_device_map' from 'trl' (/usr/local/lib/python3.10/dist-packages/trl/init.py)
Also Tried from trl.trainer.utils
Still Got:
ImportError
Traceback (most recent call last)
----> 1 from trl.trainer.utils import get_kbit_device_map
ImportError: cannot import name 'get_kbit_device_map' from 'trl.trainer.utils' (/usr/local/lib/python3.10/dist-packages/trl/trainer/utils.py)
The text was updated successfully, but these errors were encountered: