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