Instructions to use hf-internal-testing/tiny-qwenimage21-modular with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hf-internal-testing/tiny-qwenimage21-modular 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-qwenimage21-modular", 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 processor/tokenizer.json from hf-internal-testing/tiny-qwenimage21-modular: direct link, hf CLI and curl.
- Browser
- Download file 11.4 MB
-
https://huggingface.co/hf-internal-testing/tiny-qwenimage21-modular/resolve/main/processor/tokenizer.json
- Command line
-
hf download hf://hf-internal-testing/tiny-qwenimage21-modular/processor/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/hf-internal-testing/tiny-qwenimage21-modular/resolve/main/processor/tokenizer.json
11.4 MB
- Xet hash:
- 664f337c546274ab57b2cb2d564f355caab2328fd9e8588a711f755ea6a67cce
- Size of remote file:
- 11.4 MB
- SHA256:
- ff8cce547abc110590d19c6b5b6e0c6a7b4c8d1012d78b9c42131bae7f494a02
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.