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