-
Notifications
You must be signed in to change notification settings - Fork 57
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
Bugs when running on mac #14
Comments
Thank you for letting me know. I don't have a Mac device so those functions are all untested. |
The same thing happens under Windows when using 'cpu' :
|
Thanks all for the comment. I have updated the autocast and model loading part. Works on Ubuntu CUDA and CPU. |
Haven't tested this for Mac -- please feel free to re-open if this fix is not sufficient. |
Wrong device mapping on checkpoint load
Fix:
in main controller do:
autocast seemingly doesn't work with mps
Fix
anywhere autocast is used in main_controller, I did this? idk there's probably a more elegant way
The text was updated successfully, but these errors were encountered: