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
- Xet hash:
- 4829f8dc7aa34be9198e896de1ce0fca98f76da2ad5fcb3ac0be5acd4147807c
- Size of remote file:
- 246 MB
- SHA256:
- 55456b2f1dc8e3eadb117e6f354da9ff3f854396b198968dc69075dc0df4246a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.