Instructions to use AIhgenerator/nsfwxxl2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AIhgenerator/nsfwxxl2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AIhgenerator/nsfwxxl2", 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
Download vae/diffusion_pytorch_model.bin from AIhgenerator/nsfwxxl2: direct link, hf CLI and curl.
- Browser
- Download file 167 MB
-
https://huggingface.co/AIhgenerator/nsfwxxl2/resolve/main/vae/diffusion_pytorch_model.bin
- Command line
-
hf download hf://AIhgenerator/nsfwxxl2/vae/diffusion_pytorch_model.bin
-
curl -L -o diffusion_pytorch_model.bin https://huggingface.co/AIhgenerator/nsfwxxl2/resolve/main/vae/diffusion_pytorch_model.bin
167 MB
- Xet hash:
- ee0ac37fbff49065dd9e41528922e4a83003b233a2392e85a486070a6ef17da7
- Size of remote file:
- 167 MB
- SHA256:
- 2b670ab588a2f90b23d34de9980260ff882ca8150f3d3700ecadf84d1862364c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.