Image-Text-to-Text
MLX
Safetensors
English
qwen3_5_mtp
quantized
mtp
speculative-decoding
draft-model
Instructions to use inferencerlabs/Qwen3.6-35B-A3B-MTP-MLX-4.5bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use inferencerlabs/Qwen3.6-35B-A3B-MTP-MLX-4.5bit 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("inferencerlabs/Qwen3.6-35B-A3B-MTP-MLX-4.5bit") config = load_config("inferencerlabs/Qwen3.6-35B-A3B-MTP-MLX-4.5bit") # 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
Upload model file
Browse files
README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
library_name: mlx
|
| 4 |
+
tags:
|
| 5 |
+
- quantized
|
| 6 |
+
- mlx
|
| 7 |
+
- mtp
|
| 8 |
+
- speculative-decoding
|
| 9 |
+
- draft-model
|
| 10 |
+
base_model:
|
| 11 |
+
- Qwen/Qwen3.6-27B
|
| 12 |
+
pipeline_tag: image-text-to-text
|
| 13 |
+
---
|
| 14 |
+
# Qwen3.6-27B MTP
|
| 15 |
+
See Qwen3.6-27B with MTP in action: [demonstration videos](https://youtube.com/xcreate)
|
| 16 |
+
|
| 17 |
+
This draft model contains the extracted **Multi-Token Prediction (MTP)** layers from **[Qwen/Qwen3.6-27B](https://huggingface.co/Qwen/Qwen3.6-27B)** for use alongside the [Qwen3.6-27B-MLX](https://huggingface.co/models?search=inferencerlabs/qwen3.6-27b-mlx) model as a speculative decoder for improved performance.
|
| 18 |
+
|
| 19 |
+
#### Tested on a M3 Ultra 512GB RAM using [Inferencer app v1.11.5](https://inferencer.com)
|
| 20 |
+
<table style="border-collapse: collapse; border: none; text-align:left; margin-top:10px; margin-bottom:0px;">
|
| 21 |
+
<tr><td><strong>Without decoder</strong></td><td>~46.4 tokens/s ~36.4 GiB (debug build)</td></tr>
|
| 22 |
+
<tr><td><strong>With decoder</strong></td><td>~71.5 tokens/s ~37.0 GiB (debug build)</td></tr>
|
| 23 |
+
</table>
|
| 24 |
+
|
| 25 |
+

|
| 26 |
+
|
| 27 |
+
**Q4.5-bit quant typically achieves high throughput at no loss in quality with less RAM usage in our coding test**
|
| 28 |
+
|
| 29 |
+
## Disclaimer
|
| 30 |
+
|
| 31 |
+
We are not the creator, originator, or owner of any model listed. Each model is created and provided by third parties. Models may not always be accurate or contextually appropriate. You are responsible for verifying the information before making important decisions. We are not liable for any damages, losses, or issues arising from its use, including data loss or inaccuracies in AI-generated content.
|