Instructions to use EigenLabs/Qwen3.5-35B-A3B-MLX-VL-4bit-g64 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use EigenLabs/Qwen3.5-35B-A3B-MLX-VL-4bit-g64 with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("EigenLabs/Qwen3.5-35B-A3B-MLX-VL-4bit-g64") config = load_config("EigenLabs/Qwen3.5-35B-A3B-MLX-VL-4bit-g64") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use EigenLabs/Qwen3.5-35B-A3B-MLX-VL-4bit-g64 with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "EigenLabs/Qwen3.5-35B-A3B-MLX-VL-4bit-g64"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "EigenLabs/Qwen3.5-35B-A3B-MLX-VL-4bit-g64" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use EigenLabs/Qwen3.5-35B-A3B-MLX-VL-4bit-g64 with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "EigenLabs/Qwen3.5-35B-A3B-MLX-VL-4bit-g64"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default EigenLabs/Qwen3.5-35B-A3B-MLX-VL-4bit-g64
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use EigenLabs/Qwen3.5-35B-A3B-MLX-VL-4bit-g64 with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "EigenLabs/Qwen3.5-35B-A3B-MLX-VL-4bit-g64"
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "EigenLabs/Qwen3.5-35B-A3B-MLX-VL-4bit-g64" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Qwen3.5-35B-A3B MLX VLM Affine W4/g64 With Inline Affine W4 MTP
This is a full vision-language MLX conversion of
Qwen/Qwen3.5-35B-A3B,
created from exact source revision
59d61f3ce65a6d9863b86d2e96597125219dc754.
Every quantizable target and inline-MTP module uses affine 4-bit weights with group size 64. There are no 8-bit router overrides. As in the standard MLX-VLM conversion scope, the BF16 vision tower and normalization vectors remain unquantized.
The indexed safetensors artifact contains:
- The language target: 512 affine W4/g64 modules, including every MoE router.
- The complete BF16 vision tower: 333 tensors and 446,571,248 parameters.
- The complete native MTP subtree under
mtp.*: 13 affine W4/g64 modules, including both MTP routers, plus BF16 norms.
The MTP head reuses the target embedding and LM head as defined by the source architecture.
Runtime requirements
Use mlx-vlm>=0.6.12 for ordinary text and image inference. This artifact was tested with mlx-vlm 0.6.15.
pip install -U "mlx-vlm>=0.6.12" jinja2
mlx_vlm.generate \
--model EigenLabs/Qwen3.5-35B-A3B-MLX-VL-4bit-g64 \
--prompt "Explain speculative decoding." \
--max-tokens 256 \
--temperature 0
Add --image /path/to/image.jpg for vision-language inference.
Current public mlx-vlm loads and serves the target while ignoring the namespaced mtp.* tensors. This repository does not include a Python Qwen MTP driver. The inline MTP payload is intended for runtimes that implement Qwen3.5 MTP, including Darkbloom's MLX-Swift engine.
Artifact
| Property | Value |
|---|---|
| Indexed tensors | 2,136 |
| Target and vision tensors | 2,090 |
| Serialized MTP tensors | 46 |
| Source MTP tensors | 785 |
| Source MTP parameters | 844,640,768 |
| Quantized modules | 525, all affine W4/g64 |
| MTP payload | 475,125,888 bytes |
| Combined tensor payload | 20,866,531,040 bytes |
| Safetensors shards | 5 |
The MLX converter reports 4.647 effective bits per target weight after scales, biases, and the unquantized vision tower are included.
Machine-readable provenance and verification evidence are in quantization_manifest.json, verification.json, and SHA256SUMS.
Local benchmark
Target-only greedy generation on an Apple M4 Max with mlx-vlm 0.6.15:
- Prompt: 1,701 tokens
- Generation: 128 tokens
- Warm-up: one discarded run
- Measurements: three runs
- Temperature:
0.0
| Metric | Median | Mean | Range |
|---|---|---|---|
| Prefill | 1,642.06 tok/s | 1,642.60 tok/s | 1,641.14–1,644.61 tok/s |
| Decode | 113.67 tok/s | 112.22 tok/s | 109.23–113.75 tok/s |
| Peak memory | 23.25 GB | — | — |
These are local machine measurements, not cross-device guarantees. MTP was not active in this benchmark.
Verification scope
Verified:
- All 27 files in the pinned source snapshot passed Hugging Face cache verification.
- The converted index exactly covers every tensor in all five safetensors files.
- All 525 quantized modules resolve to affine W4/g64; no module has an 8-bit override.
- All 785 source MTP tensors are represented by the 46 serialized MLX tensors.
- Representative affine dequantization checks passed for fusion, attention, expert, and router weights.
- Qwen zero-centered RMSNorm conversion matched exactly.
chat_template.jinjais byte-identical to the official source.- A clean
mlx-vlm 0.6.15target-only inference and three-run throughput benchmark completed.
Not yet verified:
- Pixel-grounded image output for this exact conversion.
- Qwen MTP speculative token parity or speedup.
- Video inference.
- Population-level quality after quantization.
License
The base model is released under Apache 2.0. See the original
Qwen/Qwen3.5-35B-A3B
repository for its model card and license.
- Downloads last month
- 97
4-bit