Instructions to use AnasHXH/stable-diffusion-v1-4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AnasHXH/stable-diffusion-v1-4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AnasHXH/stable-diffusion-v1-4", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Epoch 41
Browse filesFiles changed (4)
47 unmodified lines48495047 unmodified linessamples/0032.png filter=lfs diff=lfs merge=lfs -textsamples/0035.png filter=lfs diff=lfs merge=lfs -textsamples/0038.png filter=lfs diff=lfs merge=lfs -text47 unmodified lines4849505147 unmodified linessamples/0032.png filter=lfs diff=lfs merge=lfs -textsamples/0035.png filter=lfs diff=lfs merge=lfs -textsamples/0038.png filter=lfs diff=lfs merge=lfs -textsamples/0041.png filter=lfs diff=lfs merge=lfs -text
123version https://git-lfs.github.com/spec/v1oid sha256:ee16524782d4e3ceaf264e9c816c3c55e5987bdd7691cd48a26e1a67bbd8bb78size 618775123version https://git-lfs.github.com/spec/v1oid sha256:5364d1dad053f3719406d3c901ead160623915009d8a7956349e71aa72aa3646size 666400
123version https://git-lfs.github.com/spec/v1oid sha256:9f25eea9ae769be41ba482c7fbb7a94980acf4cd8375d3d92c79a8eb7a98fa7csize 454867325123version https://git-lfs.github.com/spec/v1oid sha256:4514e69e3a0d3b69962225e3c21516e553ce0189feff0a970e4f0fab1e8dbdcasize 454867325
.gitattributes+1
logs/train_example/events.out.tfevents.1674976643.ab31301080b7.1111.0+2-2
samples/0041.pngAdded

Large File Pointer Details
- SHA256: 7a93a2c90a544c911b7b9d39d36a389c0492e72a753d36e736f453ec8bd566f1
- Pointer size: 131 Bytes
- Size of remote file: 285 kB
unet/diffusion_pytorch_model.bin+1-1