Thanks to visit codestin.com
Credit goes to github.com

Skip to content

cannot force cpu #668

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

Open
HarvieKrumpet opened this issue May 1, 2025 · 1 comment
Open

cannot force cpu #668

HarvieKrumpet opened this issue May 1, 2025 · 1 comment

Comments

@HarvieKrumpet
Copy link

setting -- rng to std_default is still attempting to use the gpu.
I wanted to test cpu only speeds but I can see in the console it is still using the gpu

@stduhpf
Copy link
Contributor

stduhpf commented May 1, 2025

--rng is only used to chose the random number generator algorithm. It's not used to chose which device to run inference on. Right now the only way to run the diffusion model on cpu is to use a CPU only build. Maybe a --diffusion-on-cpu flag could be a nice addition. But right now it doesn't exist.

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

No branches or pull requests

2 participants