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

Move presto pretrained model to the right device #31

Merged
merged 1 commit into from
Dec 23, 2023
Merged

Conversation

gabrieltseng
Copy link
Collaborator

Addresses #29

@mkondratyev85, thank you for raising this issue, and for #30.

I'd prefer to avoid moving model parameters to the device, and move the entire model object around if possible - does this fix your problem?

@mkondratyev85
Copy link

Hello @gabrieltseng,

This indeed fixes the issue. Thanks for the fix!

@gabrieltseng gabrieltseng merged commit 632cd39 into main Dec 23, 2023
1 check passed
@gabrieltseng gabrieltseng deleted the model-device branch December 23, 2023 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants