Instructions to use BoyuanJiang/FitDiT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use BoyuanJiang/FitDiT with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("BoyuanJiang/FitDiT", 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
Download resource/img/mask_offset.jpg from BoyuanJiang/FitDiT: direct link, hf CLI and curl.
- Browser
- Download file 321 kB
-
https://huggingface.co/BoyuanJiang/FitDiT/resolve/main/resource/img/mask_offset.jpg
- Command line
-
hf download hf://BoyuanJiang/FitDiT/resource/img/mask_offset.jpg
-
curl -L -o mask_offset.jpg https://huggingface.co/BoyuanJiang/FitDiT/resolve/main/resource/img/mask_offset.jpg
321 kB

- Xet hash:
- 926859f872fedfe19312bf8f4f60092fc4aa2db839a5426bae646990f0f32037
- Size of remote file:
- 321 kB
- SHA256:
- 41c112c0093150c3eafcd825129a33c84888f2cf1fb59a94af05f8ad7b422852
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.