-
Notifications
You must be signed in to change notification settings - Fork 1k
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
kto error when assign dataset to device #1620
Comments
I try to set device because I got this error |
@mostafamdy i think this should have been fixed in the repo but maybe hasn't made its way to the release yet. can you try installing trl directly from the cloned repo and seeing if it works then? |
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. |
Hi
when I set device to dataset and train with KTO I get this error
when removing this line it works
dataset.set_format("torch", device="cuda:1")
code
error
The text was updated successfully, but these errors were encountered: