Instructions to use AbstractFramework/qwen-image-edit-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use AbstractFramework/qwen-image-edit-8bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir qwen-image-edit-8bit AbstractFramework/qwen-image-edit-8bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- LM Studio
qwen-image-edit-8bit
This repository contains MLX-Gen saved weights for Qwen/Qwen-Image-Edit. The checkpoint is designed for local Apple Silicon inference with mlx-gen.
It uses the mflux/MLX saved-weight layout and MLX quantization tensors. It is not a Diffusers or Transformers from_pretrained() checkpoint.
Source Model
Original model: Qwen/Qwen-Image-Edit.
License and Access
This quantized derivative follows the Apache 2.0 license of the source model.
Quantization
This is an MLX q8 checkpoint. Quantizable modules are saved at 8-bit where the model layout supports MLX quantization; VAE weights and non-quantizable layers remain BF16. The Qwen-specific mixed q4/q8 policy only applies when preparing Qwen models with --quantize 4; see the MLX-Gen quantization docs.
Compatibility
Requires mlx-gen >= 0.18.2.
Generated with mlx-gen 0.18.2.
Use the mlxgen command and Python import path for new MLX-Gen projects.
Usage
python -m pip install -U mlx-gen
mlxgen download --model AbstractFramework/qwen-image-edit-8bit
mlxgen generate \
--model AbstractFramework/qwen-image-edit-8bit \
--image path_to_image.png \
--prompt "Your edit prompt here" \
--steps 20 \
--seed 42 \
--output edited.png
Attribution
MLX-Gen is based on mflux by Filip Strand and the original mflux contributors. This model card is generated by MLX-Gen so derived checkpoints keep that attribution visible.
Quantized and contributed by @lpalbou.
8-bit
Model tree for AbstractFramework/qwen-image-edit-8bit
Base model
Qwen/Qwen-Image-Edit