Instructions to use SceneWorks/qwen-image-2-1-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SceneWorks/qwen-image-2-1-mlx with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("SceneWorks/qwen-image-2-1-mlx", 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
Ctrl+K
Qwen-Image 2.1 q4 tier (pre-quantized, group 64; derived bundle under the Qwen Research License β see q4/CHANGES.md and q4/SHA256SUMS)
1691de0 verified