Skip to content
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

load_learner with cpu=False doesn't respect the current cuda device if model exported on another; fixes #3656 #3657

Merged
merged 2 commits into from May 24, 2022

Conversation

ohmeow
Copy link
Contributor

@ohmeow ohmeow commented May 19, 2022

No description provided.

@ohmeow ohmeow requested a review from jph00 as a code owner May 19, 2022 01:22
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Member

@jph00 jph00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One suggestion

fastai/learner.py Outdated Show resolved Hide resolved
@ohmeow ohmeow requested a review from jph00 May 19, 2022 03:46
@jph00 jph00 changed the title fixes #3656 load_learner with cpu=False doesn't respect the current cuda device if model exported on another; fixes #3656 May 24, 2022
@jph00 jph00 added the bug label May 24, 2022
@jph00 jph00 merged commit 0b63b9c into fastai:master May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants