-
Notifications
You must be signed in to change notification settings - Fork 27k
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
deprecate no_cuda #24863
deprecate no_cuda #24863
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this! Just one comment on the docstring.
Please hold off merging until the release branch has been cut.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect!
The documentation is not available anymore as the PR was closed or merged. |
* deprecate no_cuda * style * remove doc * remove doc 2 * fix style
What does this PR do?
This PR deprecates the
no_cuda
arg because it is confusing for Mac users as their models get dispatched tomps
device whenno_cuda=False
. If they want to train the model on cpu, they need to setno_cuda=True
which is not intuitive. We rename ituse_cpu
instead.Related issue #24697