3 ms·
If you want to run this on a linux machine and use the machine's cpu. Follow the instructions. Before actually running the command to generate an image. Open
by hackthemack 3y ago
If you want to run this on a linux machine and use the machine's cpu.
Follow the instructions. Before actually running the command to generate an image.
Open up main.py
Change line 17 to
model.to(torch_device="cpu", torch_dtype=torch.float32).to('cpu:0')
Basically change the backend from mps to cpu
- brucethemoose2 3y agoFor linux CPU only, you want https://github.com/rupeshs/fastsdcpu https://github.com/rupeshs/fastsdcpu