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