Image-Text-to-Text
Safetensors
MLX
mtplx
qwen4_exp
apple-silicon
macos
speculative-decoding
multi-token-prediction
qwen
qwen3.8-flash-next
Mixture of Experts
mtp
local-ai
chat
qwen3.8
qwen3-8
qwen-3.8
local-llm
llm
vision
m5
m5-max
m4
m3
macbook-pro
mac-studio
opencode
claude-code
flash-next
qwen3-8-flash-next
qwen4
125b
conversational
4-bit precision
Instructions to use Youssofal/Qwen3.8-Flash-Next-MTPLX-Optimized-Speed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Youssofal/Qwen3.8-Flash-Next-MTPLX-Optimized-Speed 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("Youssofal/Qwen3.8-Flash-Next-MTPLX-Optimized-Speed") config = load_config("Youssofal/Qwen3.8-Flash-Next-MTPLX-Optimized-Speed") # 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 Youssofal/Qwen3.8-Flash-Next-MTPLX-Optimized-Speed with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Youssofal/Qwen3.8-Flash-Next-MTPLX-Optimized-Speed"
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": "Youssofal/Qwen3.8-Flash-Next-MTPLX-Optimized-Speed" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use Youssofal/Qwen3.8-Flash-Next-MTPLX-Optimized-Speed 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 "Youssofal/Qwen3.8-Flash-Next-MTPLX-Optimized-Speed"
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 Youssofal/Qwen3.8-Flash-Next-MTPLX-Optimized-Speed
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Youssofal/Qwen3.8-Flash-Next-MTPLX-Optimized-Speed with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Youssofal/Qwen3.8-Flash-Next-MTPLX-Optimized-Speed"
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 "Youssofal/Qwen3.8-Flash-Next-MTPLX-Optimized-Speed" \ --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"
metadata: mtplx_runtime.json (weights streaming in background)
Browse files- mtplx_runtime.json +97 -0
mtplx_runtime.json
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"arch_id": "qwen4-next",
|
| 3 |
+
"artifact_role": "forge-local",
|
| 4 |
+
"base_trunk": "Qwen/Qwen3.8-Flash-Next",
|
| 5 |
+
"exactness_baseline": {},
|
| 6 |
+
"forge_provenance": {
|
| 7 |
+
"forge_inputs": {
|
| 8 |
+
"lane": "verify-stamp"
|
| 9 |
+
},
|
| 10 |
+
"forge_recipe": {},
|
| 11 |
+
"forged_at": "2026-08-27T01:36:36-07:00",
|
| 12 |
+
"forged_locally": true,
|
| 13 |
+
"mtp_contract": {
|
| 14 |
+
"base_hidden_variant": "post_norm",
|
| 15 |
+
"concat_order": "embedding_hidden",
|
| 16 |
+
"hidden_variant": "post_norm",
|
| 17 |
+
"mtp_position_mode": "cache",
|
| 18 |
+
"mtp_quant_group_size": 64,
|
| 19 |
+
"mtp_quant_mode": "affine"
|
| 20 |
+
},
|
| 21 |
+
"mtplx_version": "2.9.3",
|
| 22 |
+
"published_to_hf": null,
|
| 23 |
+
"source_format": "mlx_affine_with_mtp",
|
| 24 |
+
"source_repo": "Qwen/Qwen3.8-Flash-Next",
|
| 25 |
+
"source_sha": null
|
| 26 |
+
},
|
| 27 |
+
"mtp_contract": {
|
| 28 |
+
"base_hidden_variant": "post_norm",
|
| 29 |
+
"concat_order": "embedding_hidden",
|
| 30 |
+
"hidden_variant": "post_norm",
|
| 31 |
+
"mtp_position_mode": "cache",
|
| 32 |
+
"mtp_quant_group_size": 64,
|
| 33 |
+
"mtp_quant_mode": "affine"
|
| 34 |
+
},
|
| 35 |
+
"mtp_depth_max": 3,
|
| 36 |
+
"mtp_sidecar": "prequantized-mlx-affine-qwen-moe-switch-mlx",
|
| 37 |
+
"mtplx_version": "2.9.3",
|
| 38 |
+
"public_model_id": "mtplx-flash-next-optimized-speed",
|
| 39 |
+
"recommended_profile": "turbo",
|
| 40 |
+
"sampler": {
|
| 41 |
+
"temperature": 1.0,
|
| 42 |
+
"top_k": 20,
|
| 43 |
+
"top_p": 0.95
|
| 44 |
+
},
|
| 45 |
+
"speed_evidence": {
|
| 46 |
+
"acceptance_by_depth": [],
|
| 47 |
+
"acceptance_collapsed": [],
|
| 48 |
+
"artifact_fingerprint": "sha256:855300a79124c17dd79796a2eddbf23ccc01a01ba1845d645deb4e91e190a93e",
|
| 49 |
+
"depth": 3,
|
| 50 |
+
"failure_reasons": [],
|
| 51 |
+
"forge_verify_rows": [
|
| 52 |
+
{
|
| 53 |
+
"acceptance_by_position": [],
|
| 54 |
+
"depth": 0,
|
| 55 |
+
"generated_tokens": 238,
|
| 56 |
+
"generation_mode": "ar",
|
| 57 |
+
"lane": "family-serve",
|
| 58 |
+
"multiplier_vs_ar": 1.0,
|
| 59 |
+
"tok_s": 43.84569585065126,
|
| 60 |
+
"tok_s_samples": [
|
| 61 |
+
43.52976089754915,
|
| 62 |
+
43.84569585065126
|
| 63 |
+
],
|
| 64 |
+
"verify_time_s": 0.0
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"acceptance_by_position": [],
|
| 68 |
+
"depth": 3,
|
| 69 |
+
"generated_tokens": 512,
|
| 70 |
+
"generation_mode": "mtp",
|
| 71 |
+
"lane": "family-serve",
|
| 72 |
+
"multiplier_vs_ar": 1.675647104339258,
|
| 73 |
+
"tok_s": 73.4699132898836,
|
| 74 |
+
"tok_s_samples": [
|
| 75 |
+
72.71065849672266,
|
| 76 |
+
73.4699132898836
|
| 77 |
+
],
|
| 78 |
+
"verify_time_s": 0.0
|
| 79 |
+
}
|
| 80 |
+
],
|
| 81 |
+
"greedy_diagnostic": {
|
| 82 |
+
"tok_s": 43.84569585065126
|
| 83 |
+
},
|
| 84 |
+
"quality_rejected": [],
|
| 85 |
+
"tok_s": [
|
| 86 |
+
73.4699132898836
|
| 87 |
+
],
|
| 88 |
+
"verdict": "mtp_depth_wins"
|
| 89 |
+
},
|
| 90 |
+
"verified_on": {
|
| 91 |
+
"hardware": "macOS-26.3.1-arm64-arm-64bit-Mach-O",
|
| 92 |
+
"machine_arch": "arm64",
|
| 93 |
+
"macos": "26.3.1",
|
| 94 |
+
"model": "Qwen3.8-Flash-Next-MTPLX-Optimized-Speed",
|
| 95 |
+
"timestamp": "2026-08-27T01:36:36-07:00"
|
| 96 |
+
}
|
| 97 |
+
}
|