Skip to content

Fix cpu#22

Open
edumotya wants to merge 1 commit intoAlgolzw:mainfrom
edumotya:fix/cpu
Open

Fix cpu#22
edumotya wants to merge 1 commit intoAlgolzw:mainfrom
edumotya:fix/cpu

Conversation

@edumotya
Copy link
Copy Markdown

Fix #21 by simply eliminating the explicit conversion of zero_modules to cuda.

As far as I see create_model will take care of moving everything to cuda

model.to(device=device)

@LukaGiorgadze
Copy link
Copy Markdown

Thank you, tiny but helpful PR.
Did you test on cpu?

@edumotya
Copy link
Copy Markdown
Author

Sure! it works

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.

how to use cpu/mps?

3 participants