Image-Text-to-Text
MLX
Safetensors
qwen3_5
apple-silicon
speculative-decoding
qwen
qwen3
qwen3-next
mtp
mtplx
local-ai
vision-language
multimodal
conversational
Instructions to use Jonandrop/Qwen3.6-27B-MTPLX-Optimized-Speed-Vision with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Jonandrop/Qwen3.6-27B-MTPLX-Optimized-Speed-Vision 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("Jonandrop/Qwen3.6-27B-MTPLX-Optimized-Speed-Vision") config = load_config("Jonandrop/Qwen3.6-27B-MTPLX-Optimized-Speed-Vision") # 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 Jonandrop/Qwen3.6-27B-MTPLX-Optimized-Speed-Vision with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Jonandrop/Qwen3.6-27B-MTPLX-Optimized-Speed-Vision"
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": "Jonandrop/Qwen3.6-27B-MTPLX-Optimized-Speed-Vision" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use Jonandrop/Qwen3.6-27B-MTPLX-Optimized-Speed-Vision 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 "Jonandrop/Qwen3.6-27B-MTPLX-Optimized-Speed-Vision"
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 Jonandrop/Qwen3.6-27B-MTPLX-Optimized-Speed-Vision
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Jonandrop/Qwen3.6-27B-MTPLX-Optimized-Speed-Vision with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Jonandrop/Qwen3.6-27B-MTPLX-Optimized-Speed-Vision"
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 "Jonandrop/Qwen3.6-27B-MTPLX-Optimized-Speed-Vision" \ --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"
fix: honest M5 Pro 64GB speed_evidence + verified_on (committed policy, recommended draft 0.7, warm median). M5 Max historical preserved
Browse files- mtplx_runtime.json +146 -50
mtplx_runtime.json
CHANGED
|
@@ -38,74 +38,170 @@
|
|
| 38 |
},
|
| 39 |
"speed_evidence": {
|
| 40 |
"acceptance_by_depth": [
|
| 41 |
-
|
| 42 |
-
0.
|
| 43 |
-
0.
|
| 44 |
],
|
| 45 |
-
"accepted_by_depth": [
|
| 46 |
-
49,
|
| 47 |
-
48,
|
| 48 |
-
46
|
| 49 |
-
],
|
| 50 |
-
"correction_tokens": 3,
|
| 51 |
"depth": 3,
|
| 52 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
"draft_sampler": {
|
| 54 |
"temperature": 0.7,
|
| 55 |
"top_k": 20,
|
| 56 |
"top_p": 0.95
|
| 57 |
},
|
| 58 |
-
"drafted_by_depth": [
|
| 59 |
-
49,
|
| 60 |
-
49,
|
| 61 |
-
49
|
| 62 |
-
],
|
| 63 |
"enable_thinking": false,
|
| 64 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
"accepted_by_depth": [
|
| 66 |
49,
|
| 67 |
-
|
| 68 |
-
|
| 69 |
],
|
| 70 |
-
"correction_tokens":
|
|
|
|
|
|
|
| 71 |
"draft_sampler": {
|
| 72 |
-
"temperature": 0.
|
| 73 |
-
"top_k":
|
| 74 |
-
"top_p":
|
| 75 |
},
|
| 76 |
"drafted_by_depth": [
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
],
|
| 81 |
-
"
|
| 82 |
-
|
| 83 |
-
"
|
| 84 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
},
|
| 86 |
-
"
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
],
|
| 103 |
-
"verify_calls": 49
|
| 104 |
},
|
| 105 |
"verified_on": {
|
| 106 |
-
"hardware": "Apple M5
|
| 107 |
"machine_arch": "arm64",
|
| 108 |
-
"
|
| 109 |
-
"
|
|
|
|
| 110 |
}
|
| 111 |
}
|
|
|
|
| 38 |
},
|
| 39 |
"speed_evidence": {
|
| 40 |
"acceptance_by_depth": [
|
| 41 |
+
0.9,
|
| 42 |
+
0.7593,
|
| 43 |
+
0.6476
|
| 44 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
"depth": 3,
|
| 46 |
+
"verdict": "mtp_depth_wins",
|
| 47 |
+
"profile": "sustained",
|
| 48 |
+
"forge_verify_rows": [
|
| 49 |
+
{
|
| 50 |
+
"acceptance_by_position": [],
|
| 51 |
+
"depth": 0,
|
| 52 |
+
"finish_reasons": {
|
| 53 |
+
"stop": 1
|
| 54 |
+
},
|
| 55 |
+
"hit_token_budget": false,
|
| 56 |
+
"hit_token_budget_count": 0,
|
| 57 |
+
"multiplier_vs_ar": 1.0,
|
| 58 |
+
"quality_passed": true,
|
| 59 |
+
"tok_s": 13.66,
|
| 60 |
+
"tok_s_decode": 14.49,
|
| 61 |
+
"tok_s_e2e": 13.66,
|
| 62 |
+
"verify_time_s": null
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"acceptance_by_position": [
|
| 66 |
+
0.9233
|
| 67 |
+
],
|
| 68 |
+
"depth": 1,
|
| 69 |
+
"finish_reasons": {
|
| 70 |
+
"stop": 1
|
| 71 |
+
},
|
| 72 |
+
"hit_token_budget": false,
|
| 73 |
+
"hit_token_budget_count": 0,
|
| 74 |
+
"multiplier_vs_ar": 1.4381,
|
| 75 |
+
"quality_passed": true,
|
| 76 |
+
"tok_s": 19.65,
|
| 77 |
+
"tok_s_decode": 20.9,
|
| 78 |
+
"tok_s_e2e": 19.65,
|
| 79 |
+
"verify_time_s": null
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"acceptance_by_position": [
|
| 83 |
+
0.9496,
|
| 84 |
+
0.7526
|
| 85 |
+
],
|
| 86 |
+
"depth": 2,
|
| 87 |
+
"finish_reasons": {
|
| 88 |
+
"stop": 1
|
| 89 |
+
},
|
| 90 |
+
"hit_token_budget": false,
|
| 91 |
+
"hit_token_budget_count": 0,
|
| 92 |
+
"multiplier_vs_ar": 1.4594,
|
| 93 |
+
"quality_passed": true,
|
| 94 |
+
"tok_s": 19.94,
|
| 95 |
+
"tok_s_decode": 20.79,
|
| 96 |
+
"tok_s_e2e": 19.94,
|
| 97 |
+
"verify_time_s": null
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"acceptance_by_position": [
|
| 101 |
+
0.9,
|
| 102 |
+
0.7593,
|
| 103 |
+
0.6476
|
| 104 |
+
],
|
| 105 |
+
"depth": 3,
|
| 106 |
+
"finish_reasons": {
|
| 107 |
+
"stop": 1
|
| 108 |
+
},
|
| 109 |
+
"hit_token_budget": false,
|
| 110 |
+
"hit_token_budget_count": 0,
|
| 111 |
+
"multiplier_vs_ar": 1.3208,
|
| 112 |
+
"quality_passed": true,
|
| 113 |
+
"tok_s": 18.05,
|
| 114 |
+
"tok_s_decode": 19.71,
|
| 115 |
+
"tok_s_e2e": 18.05,
|
| 116 |
+
"verify_time_s": null
|
| 117 |
+
}
|
| 118 |
+
],
|
| 119 |
+
"greedy_diagnostic": {
|
| 120 |
+
"tok_s": 13.66
|
| 121 |
+
},
|
| 122 |
+
"tok_s": [
|
| 123 |
+
18.05
|
| 124 |
+
],
|
| 125 |
"draft_sampler": {
|
| 126 |
"temperature": 0.7,
|
| 127 |
"top_k": 20,
|
| 128 |
"top_p": 0.95
|
| 129 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 130 |
"enable_thinking": false,
|
| 131 |
+
"mtp_history_policy": "committed",
|
| 132 |
+
"measurement_notes": "Re-measured 2026-07-18 on Apple M5 Pro 64GB, MTPLX 1.0.4, mtp_history_policy=committed (CLI default), draft_temperature=0.7 (model recommended_draft_sampler), enable_thinking=false, warm (4 warmup prompts), 8 measured prompts from calibration_coding suite, max_tokens=192, median tok/s. tok_s_e2e = generated_tokens/total_elapsed (wall-clock, includes prefill). tok_s_decode = decode-only. multiplier_vs_ar uses e2e. The prior baked numbers (acceptance 1.0/0.98/0.94, tok/s 63) were on Apple M5 Max 128GB and are not reproducible on M5 Pro 64GB due to lower memory bandwidth; preserved below as historical_m5max. Acceptance is stable across runs (greedy draft gives 0.87/0.74/0.64, recommended 0.7 draft gives 0.90/0.76/0.65 -- within noise).",
|
| 133 |
+
"historical_m5max": {
|
| 134 |
+
"acceptance_by_depth": [
|
| 135 |
+
1.0,
|
| 136 |
+
0.9795918367346939,
|
| 137 |
+
0.9387755102040817
|
| 138 |
+
],
|
| 139 |
"accepted_by_depth": [
|
| 140 |
49,
|
| 141 |
+
48,
|
| 142 |
+
46
|
| 143 |
],
|
| 144 |
+
"correction_tokens": 3,
|
| 145 |
+
"depth": 3,
|
| 146 |
+
"draft_lm_head": "3-bit affine group64 draft-only head",
|
| 147 |
"draft_sampler": {
|
| 148 |
+
"temperature": 0.7,
|
| 149 |
+
"top_k": 20,
|
| 150 |
+
"top_p": 0.95
|
| 151 |
},
|
| 152 |
"drafted_by_depth": [
|
| 153 |
+
49,
|
| 154 |
+
49,
|
| 155 |
+
49
|
| 156 |
],
|
| 157 |
+
"enable_thinking": false,
|
| 158 |
+
"greedy_diagnostic": {
|
| 159 |
+
"accepted_by_depth": [
|
| 160 |
+
49,
|
| 161 |
+
49,
|
| 162 |
+
43
|
| 163 |
+
],
|
| 164 |
+
"correction_tokens": 0,
|
| 165 |
+
"draft_sampler": {
|
| 166 |
+
"temperature": 0.0,
|
| 167 |
+
"top_k": 0,
|
| 168 |
+
"top_p": 1.0
|
| 169 |
+
},
|
| 170 |
+
"drafted_by_depth": [
|
| 171 |
+
51,
|
| 172 |
+
51,
|
| 173 |
+
51
|
| 174 |
+
],
|
| 175 |
+
"target_sampler": {
|
| 176 |
+
"temperature": 0.0,
|
| 177 |
+
"top_k": 0,
|
| 178 |
+
"top_p": 1.0
|
| 179 |
+
},
|
| 180 |
+
"tok_s": 60.108346853627076,
|
| 181 |
+
"verify_calls": 51
|
| 182 |
},
|
| 183 |
+
"older_3bit_tok_s": [
|
| 184 |
+
60.03822277200243,
|
| 185 |
+
60.06063543439426
|
| 186 |
+
],
|
| 187 |
+
"previous_best_tok_s": [
|
| 188 |
+
61.52744855840259,
|
| 189 |
+
60.89966247416089
|
| 190 |
+
],
|
| 191 |
+
"profile": "sustained",
|
| 192 |
+
"timestamp": "2026-05-03T23:07:00+0100",
|
| 193 |
+
"tok_s": [
|
| 194 |
+
63.05651084048216,
|
| 195 |
+
62.885564723941826
|
| 196 |
+
],
|
| 197 |
+
"verify_calls": 49
|
| 198 |
+
}
|
|
|
|
|
|
|
| 199 |
},
|
| 200 |
"verified_on": {
|
| 201 |
+
"hardware": "Apple M5 Pro",
|
| 202 |
"machine_arch": "arm64",
|
| 203 |
+
"macos": "26.5.2",
|
| 204 |
+
"model": "Qwen3.6-27B-MTPLX-Optimized-Speed-Vision",
|
| 205 |
+
"timestamp": "2026-07-18T00:00:00+00:00"
|
| 206 |
}
|
| 207 |
}
|