Instructions to use xocialize/qwen-image-edit-2511-mlx-int4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use xocialize/qwen-image-edit-2511-mlx-int4 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir qwen-image-edit-2511-mlx-int4 xocialize/qwen-image-edit-2511-mlx-int4
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
qwen-image-edit-2511-mlx-int4
Pre-quantized MLX weights for Qwen-Image-Edit-2511, for the Swift
xocialize/qwen-image-edit-swift package's QwenImageEdit turbo tier. They let the engine
load the int4 tier directly instead of loading bf16 (~40 GB peak) and quantizing
in-memory.
⚠️ Non-standard format — for the MLXEngine Swift loaders only. These are not standard
mlx_lm/mlx_vlm/ diffusers-layout repos and will not load with generic MLX tooling. Tensors use the engine's internal module key names and carry custom quantization metadata; they load only viaQwenImageEditWeights.loadQuantizedDiTandQwenVLPromptEncoder.load(quantizedTextModelPath:). For a standard, tool-loadable conversion seemlx-community/qwen-image-edit-2511-8bit.
Files
| file | size | contents |
|---|---|---|
qie-2511-dit-int4-mod8.safetensors |
~15 GB | 20B DiT transformer — attention + feed-forward Linears int4 (group 64), modulation linears int8 (conditioning-critical), top-level projections bf16. Per-layer bits + group size travel in the safetensors metadata. |
qie-2511-vl7b-int4.safetensors |
~4 GB | Qwen2.5-VL-7B text model, int4 (group 64). The (small) vision tower is not included — it loads bf16 from the base snapshot. |
Measured footprint (Swift MLXEngine turbo tier, 1024², 4-step DMD)
- Load peak ~21 GB (no bf16 ever materialized) · resident ~21 GB · inference peak ~25.5 GB (with bf16 VAE).
- vs ~57 GB bf16 / ~41 GB quantize-after-load peak.
Provenance / license
Derived from Qwen/Qwen-Image-Edit-2511 (Apache-2.0). Quantization: MLX affine, group size 64. The Lightning 4-step DMD LoRA is applied separately at runtime and is not included here.
Quantized
Model tree for xocialize/qwen-image-edit-2511-mlx-int4
Base model
Qwen/Qwen-Image-Edit-2511