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
-
Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`.
Hey nitrosocke 👋, Your model repository seems to contain logic to load a feature extractor that is deprecated, which you should notice by seeing the warning: ``` transformers/models/clip/feature_extraction_clip.py:28: FutureWarning: The class CLIPFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please use CLIPImageProcessor instead. warnings.warn( ``` when running `pipe = DiffusionPipeline.from_pretrained(nitrosocke/spider-verse-diffusion)`.This PR makes sure that the warning does not show anymore by replacing `CLIPFeatureExtractor` with `CLIPImageProcessor`. This will certainly not change or break your checkpoint, but onlymake sure that everything is up to date. Best, the 🧨 Diffusers team.d93eaed
-
Add `scale_factor` to vae config. (#15)
- Add `scale_factor` to vae config. (132fc3f43dd420b250841282552a1d7398175f90) Co-authored-by: Suraj Patil <valhalla@users.noreply.huggingface.co>500e3d9
-
Add `clip_sample=False` to scheduler to make model compatible with DDIM. (#12)
- Add `clip_sample=False` to scheduler to make model compatible with DDIM. (5caa8ec82ba6c83f3199d8addb96fc422c146bdc) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>681f8a9
-
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