Instructions to use nitrosocke/spider-verse-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nitrosocke/spider-verse-diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("nitrosocke/spider-verse-diffusion", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit History
-
Add `clip_sample=False` to scheduler to make model compatible with DDIM.
Hey nitrosocke 👋, Your model repository seems to contain a stable diffusion checkpoint. We have noticed that your scheduler config currently does not correctly work with the [DDIMScheduler](https://huggingface.co/docs/diffusers/main/en/api/schedulers#diffusers.DDIMScheduler) because `clip_sample` is not set to False and will therefore [incorrectly default to True](https://github.com/huggingface/diffusers/blob/3ce6380d3a2ec5c3e3f4f48889d380d657b151bc/src/diffusers/schedulers/scheduling_ddim.py#L127). The official stable diffusion checkpoints have `clip_sample=False` so that the scheduler config works will **all** schedulers, see: https://huggingface.co/stabilityai/stable-diffusion-2-1-base/blob/main/scheduler/scheduler_config.json#L7. We strongly recommend that you merge this PR to make sure your model works correctly with DDIM. Diffusingly, Patrick.5caa8ec
-
Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default (#10)
- Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default (0160d4600128d7a16da865ed6cfa076fdabff6a9) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>83b5038
-
Update README.md
403f13f
-
Update README.md
03f5069
-
Update README.md
7c65e64 -
Add diffusers code example (#2)
- Add diffusers code example (7daf804dad6d2a80f28ac2f279549e72c978df2a) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>3fd2152
-
Add Diffusers model (#1)
- Add Diffusers model (66425bc56c09b4d0337e11626795dea47a81f6fb)ca85a97
-
Upload 2 files
2cc787e -
updated readme with samples
ca79deb
-
Update README.md
60d0661
-
uploaded first version
e2f2f98 -
initial commit
22ba09d