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

Setting default device as cuda #275

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Mateusmsouza
Copy link

Recently there was a change to support CPU, but CPU was set as default device.
It broke old versions pipelines to generate samples on txt2image, throwing an error:
RuntimeError: expected scalar type BFloat16 but found Float
Like in this issue #236.
It is solved by passing --device cuda, which used to be default.

This PR changes default device to cuda.

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.

1 participant