Instructions to use nitrosocke/classic-anim-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nitrosocke/classic-anim-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/classic-anim-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
Adding `safetensors` variant of this model
Browse filesThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert
This new file is equivalent to `pytorch_model.bin` but safe in the sense that
no arbitrary code can be put into it.
These files also happen to load much faster than their pytorch counterpart:
https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb
The widgets on your model page will run using this model even if this is not merged
making sure the file actually works.
If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions
Feel free to ignore this PR.
Files changed (5)
123version https://git-lfs.github.com/spec/v1oid sha256:b975da6ea164eff5590f44caf445087bcbb6887125dec2aab65e7d3fc135a927size 2132625464123version https://git-lfs.github.com/spec/v1oid sha256:11cfe53105625af8c00faac32a430626641cce686454f3c39d837f14397d858bsize 1215981832123version https://git-lfs.github.com/spec/v1oid sha256:1b6b43be10d25030b978529137182c7408f25ce2847e359871132c376566fcb0size 492265880123version https://git-lfs.github.com/spec/v1oid sha256:52707a44c32b0af0551e5258405a13fcda4f380c2f60e501a247d9653c660e90size 3438167536123version https://git-lfs.github.com/spec/v1oid sha256:55ad9628530430eed28c01dcf3c971a29ffe5d657856cb054728b6c956da3037size 334643276classicAnim-v1.safetensorsAdded+3
safety_checker/model.safetensorsAdded+3
text_encoder/model.safetensorsAdded+3
unet/diffusion_pytorch_model.safetensorsAdded+3
vae/diffusion_pytorch_model.safetensorsAdded+3