Instructions to use fal/Qwen-Image-2.1-Components-FlashPack with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use fal/Qwen-Image-2.1-Components-FlashPack with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fal/Qwen-Image-2.1-Components-FlashPack", 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 flashpack_conversion.json from fal/Qwen-Image-2.1-Components-FlashPack: direct link, hf CLI and curl.
- Browser
- Download file 647 Bytes
-
https://huggingface.co/fal/Qwen-Image-2.1-Components-FlashPack/resolve/main/flashpack_conversion.json
- Command line
-
hf download hf://fal/Qwen-Image-2.1-Components-FlashPack/flashpack_conversion.json
-
curl -L -o flashpack_conversion.json https://huggingface.co/fal/Qwen-Image-2.1-Components-FlashPack/resolve/main/flashpack_conversion.json
647 Bytes
| { | |
| "epoch": 6, | |
| "source_repo": "Qwen/Qwen-Image-2.1", | |
| "source_revision": "b3179ad355be050328e483a9dfdd9e60cd62adfa", | |
| "dtype": "bfloat16", | |
| "components": [ | |
| "text_encoder", | |
| "vae" | |
| ], | |
| "components_only": true, | |
| "variant": null, | |
| "include_root": false, | |
| "ignore_names": [], | |
| "ignore_prefixes": [], | |
| "ignore_suffixes": [], | |
| "files": null, | |
| "pack_files": null, | |
| "pickle_key": null, | |
| "rename_prefixes": null, | |
| "include_names": null, | |
| "include_prefixes": null, | |
| "include_suffixes": null, | |
| "script_sha256": "129b4821dbc3cf7d01b5ce93e7672af1f90a057384df7ec89d2cf3eea4a9f3b5", | |
| "n_packs": 2, | |
| "total_pack_bytes": 18209842550 | |
| } |