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/model.safetensors from ThinkDiffusion/ThinkDiffusionXL: direct link, hf CLI and curl.
- Browser
- Download file 492 MB
-
https://huggingface.co/ThinkDiffusion/ThinkDiffusionXL/resolve/main/text_encoder/model.safetensors
- Command line
-
hf download hf://ThinkDiffusion/ThinkDiffusionXL/text_encoder/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/ThinkDiffusion/ThinkDiffusionXL/resolve/main/text_encoder/model.safetensors
492 MB
- Xet hash:
- 95c8025117f09c94068cfdc1c2b336f3f0449b982628ff200864ca10488c4c88
- Size of remote file:
- 492 MB
- SHA256:
- 9779077fcf1f4358696f2fe89a6c726f396b5449feae49e1016a0e1c85835e3b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.