Instructions to use hf-internal-testing/tiny-flux2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hf-internal-testing/tiny-flux2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("hf-internal-testing/tiny-flux2", 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:
- fc25a1df639a54afdde732ff783a83533f3f9036963a91ca7963a2dc8cce214c
- Size of remote file:
- 4.13 MB
- SHA256:
- 499b2cf5011c2bfcb7722bba76dbedde5ee991b24b4dec8e0a179ae013814589
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.