mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-06-13 08:28:55 +08:00
Add step for setting up Stable Diffusion (#452)
This commit is contained in:
@@ -172,6 +172,8 @@ PROPROTIP: Set "DEBUG=1" environment variable if you want to see why it's slow.
|
||||
|
||||
### tinygrad supports Stable Diffusion!
|
||||
|
||||
You might need to download the [weight](https://huggingface.co/CompVis/stable-diffusion-v-1-4-original/resolve/main/sd-v1-4.ckpt) of Stable Diffusion and put it into weights/
|
||||
|
||||
Run `TORCH=1 python3 examples/stable_diffusion.py`
|
||||
|
||||
(or without torch: `OPT=2 OPENCL=1 python3 examples/stable_diffusion.py`)
|
||||
|
||||
Reference in New Issue
Block a user