Text Generation
MLX
Safetensors
qwen3_5
apple-silicon
quantized
mixed-precision
axquant
axq
development
qwen3.8
MXFP4
mtp
vision
conversational
4-bit precision
Instructions to use AutomatosX/AX-Qwen3.8-27B-MLX-AXQ-MXFP4-MTP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use AutomatosX/AX-Qwen3.8-27B-MLX-AXQ-MXFP4-MTP with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("AutomatosX/AX-Qwen3.8-27B-MLX-AXQ-MXFP4-MTP") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use AutomatosX/AX-Qwen3.8-27B-MLX-AXQ-MXFP4-MTP with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "AutomatosX/AX-Qwen3.8-27B-MLX-AXQ-MXFP4-MTP"
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": "AutomatosX/AX-Qwen3.8-27B-MLX-AXQ-MXFP4-MTP" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use AutomatosX/AX-Qwen3.8-27B-MLX-AXQ-MXFP4-MTP with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "AutomatosX/AX-Qwen3.8-27B-MLX-AXQ-MXFP4-MTP"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "AutomatosX/AX-Qwen3.8-27B-MLX-AXQ-MXFP4-MTP" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AutomatosX/AX-Qwen3.8-27B-MLX-AXQ-MXFP4-MTP", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use AutomatosX/AX-Qwen3.8-27B-MLX-AXQ-MXFP4-MTP 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 "AutomatosX/AX-Qwen3.8-27B-MLX-AXQ-MXFP4-MTP"
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 AutomatosX/AX-Qwen3.8-27B-MLX-AXQ-MXFP4-MTP
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use AutomatosX/AX-Qwen3.8-27B-MLX-AXQ-MXFP4-MTP with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "AutomatosX/AX-Qwen3.8-27B-MLX-AXQ-MXFP4-MTP"
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 "AutomatosX/AX-Qwen3.8-27B-MLX-AXQ-MXFP4-MTP" \ --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"
| { | |
| "axquant_version": "1.8.1", | |
| "calibration": null, | |
| "created_at": "2026-08-15T16:16:21.884670Z", | |
| "effective_bpw": 5.6719817910099914, | |
| "files": [ | |
| { | |
| "path": "README.md", | |
| "sha256": "1989a02ef81ae864b2efc2cf92536efdeb54f98bc5fc32217b21d1c05a41a1f0", | |
| "size_bytes": 10490 | |
| }, | |
| { | |
| "path": "axquant_mtp_sidecar_manifest.json", | |
| "sha256": "11cc9ea99289a7021240024358df53674102c828a8b930930af0a83074e93b87", | |
| "size_bytes": 880 | |
| }, | |
| { | |
| "path": "axquant_plan.json", | |
| "sha256": "fce5a93299e4ccc15b7d5c4d861572f3ded153b2d76d8da2e8da5919b7435b68", | |
| "size_bytes": 1091360 | |
| }, | |
| { | |
| "path": "axquant_quantizer_execution.json", | |
| "sha256": "c389d287323a820bbbd56cc49d29e0add0011db9c5cc75bc012aa5a43c6eb39b", | |
| "size_bytes": 130100 | |
| }, | |
| { | |
| "path": "axquant_runtime.json", | |
| "sha256": "35b5323bb62130be059d863dd684c17fab25157657e4788ba0a6a103192390c8", | |
| "size_bytes": 1676 | |
| }, | |
| { | |
| "path": "axquant_vision_sidecar_manifest.json", | |
| "sha256": "aa54f3fc80257ea5433e7e161e6a66d4cb25335f4fb2a00f69c2b013e2b0ef28", | |
| "size_bytes": 887 | |
| }, | |
| { | |
| "path": "chat_template.jinja", | |
| "sha256": "c3cf9e34abf4f9e36c2d72165aa9c132d3e2a725b6c2586aaa3a8af9d7a81041", | |
| "size_bytes": 8952 | |
| }, | |
| { | |
| "path": "config.json", | |
| "sha256": "5fb63c8d952c521b289e1fd412a1e225020301c37cebcb44dfa881e334003619", | |
| "size_bytes": 131203 | |
| }, | |
| { | |
| "path": "generation_config.json", | |
| "sha256": "e70c136c1b78ddc1fb0905bac8e733a4dc448d4f852a5dd75143fffc70be550e", | |
| "size_bytes": 202 | |
| }, | |
| { | |
| "path": "model-00001-of-00003.safetensors", | |
| "sha256": "cf4901a75d3c819b69df7002d8134d81982c94d20ba600522add8a2df858033b", | |
| "size_bytes": 5347788696 | |
| }, | |
| { | |
| "path": "model-00002-of-00003.safetensors", | |
| "sha256": "e710ff4cc5964f52e422be8881cd17eacd007831d67a903ce52f3d7452dc29e8", | |
| "size_bytes": 5368506182 | |
| }, | |
| { | |
| "path": "model-00003-of-00003.safetensors", | |
| "sha256": "5cd45370f41b0d6bf5b8f10def7b0be1cbaf76cdc392320c5778726763a639f5", | |
| "size_bytes": 4927126499 | |
| }, | |
| { | |
| "path": "model-manifest.json", | |
| "sha256": "524163237ca2b879bff41f782a5eee6a1266b4f80f5d2c99e07117b7b899127a", | |
| "size_bytes": 433842 | |
| }, | |
| { | |
| "path": "model.safetensors.index.json", | |
| "sha256": "e20dbf6b96058c7b6ccfc1d79745c3f5f4cf8ea4d287ed408da95bdaa4833911", | |
| "size_bytes": 138731 | |
| }, | |
| { | |
| "path": "mtp.safetensors", | |
| "sha256": "914bef4ec6fcfde83925f9c138559253db030d9138b0a375623d6fdc06ebe898", | |
| "size_bytes": 849400520 | |
| }, | |
| { | |
| "path": "mtplx_runtime.json", | |
| "sha256": "840c099003ecd5e25bcf8cbad13c83ff2335bfb9aebf5d743bfd82b4c0c058ae", | |
| "size_bytes": 919 | |
| }, | |
| { | |
| "path": "tokenizer.json", | |
| "sha256": "06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523", | |
| "size_bytes": 19989325 | |
| }, | |
| { | |
| "path": "tokenizer_config.json", | |
| "sha256": "95c557768e6b88a7128befc7bfd3c7de50e5d51af9b8b33a9f4dee0e04f99679", | |
| "size_bytes": 1161 | |
| }, | |
| { | |
| "path": "vision.safetensors", | |
| "sha256": "d0d927c489250588557d5761dcd47ca267ef64c95f7e7d58dd6a0cccf54ac68f", | |
| "size_bytes": 921497320 | |
| } | |
| ], | |
| "format": "mlx", | |
| "logical_parameters": 27781427952, | |
| "main_logical_parameters": 27356728560, | |
| "main_weight_file_size_bytes": 16564918697, | |
| "measured_main_bpw": 4.84412269125501, | |
| "measured_total_bpw": 5.014664976066166, | |
| "mtp_acceptance_retention": null, | |
| "mtp_distribution": { | |
| "bf16": { | |
| "fraction": 1.0, | |
| "parameters": 424699392 | |
| } | |
| }, | |
| "mtp_measured_speedup": null, | |
| "mtp_policy": { | |
| "candidate_bits": [ | |
| 8, | |
| 16 | |
| ], | |
| "min_bits": 8, | |
| "mode": "protected", | |
| "optimize_for_acceptance": true, | |
| "preserve_external_sidecar": true, | |
| "protect_norms": true, | |
| "protect_output_head": true | |
| }, | |
| "mtp_present": true, | |
| "mtp_weight_file_size_bytes": 849400520, | |
| "plan_sha256": "cbfbf9fbc718c89dfbd5241f97cd784bdb62bd8e570c137a0c3fc2c764d8bcb1", | |
| "profile": "agent-coding", | |
| "protected_weight_file_size_bytes": 921497320, | |
| "quantizer": "axquant", | |
| "runtime": { | |
| "ax_engine": { | |
| "decode_kernel": null, | |
| "fused_mtp": null, | |
| "kernel_evidence": "unmeasured", | |
| "model_manifest": "model-manifest.json", | |
| "preferred_group_size": 32 | |
| }, | |
| "compatible_runtimes": [ | |
| { | |
| "compatibility_level": "B", | |
| "manifest": "config.json", | |
| "mtp_support": "runtime-dependent", | |
| "name": "mlx-lm", | |
| "notes": [ | |
| "Standard backbone inference is the compatibility target.", | |
| "AXQuant MTP metadata may be ignored by MLX-LM." | |
| ], | |
| "standard_inference": true, | |
| "standard_mlx_weights": true, | |
| "support_level": "standard-inference" | |
| } | |
| ], | |
| "created_at": "2026-08-15T16:16:13.776072Z", | |
| "kv_cache": null, | |
| "memory_policy": { | |
| "kv_cache_precision": "runtime-default", | |
| "mtp_buffers": "preallocate-when-enabled", | |
| "prefix_cache": "runtime-managed", | |
| "unified_memory_safety_margin": "benchmark-required" | |
| }, | |
| "mtp": { | |
| "acceptance_retention": null, | |
| "detected": true, | |
| "draft_tokens": 1, | |
| "enabled_by_default": true, | |
| "head_precision": null, | |
| "measured_speedup": null, | |
| "optimized": false, | |
| "recommended_temperature_max": null, | |
| "sidecar_file": "mtp.safetensors", | |
| "verification_mode": "runtime-default" | |
| }, | |
| "optimization_scope": "text-path", | |
| "primary_runtime": { | |
| "compatibility_level": "A", | |
| "manifest": "model-manifest.json", | |
| "mtp_support": "native", | |
| "name": "ax-engine", | |
| "notes": [ | |
| "Runtime claims require a passing AX Engine doctor and benchmark report." | |
| ], | |
| "standard_inference": true, | |
| "standard_mlx_weights": true, | |
| "support_level": "optimized" | |
| }, | |
| "schema_version": "axquant.runtime.v1" | |
| }, | |
| "schema_version": "axquant.artifact.v2", | |
| "software_versions": { | |
| "ax_engine": null, | |
| "axquant": "1.8.1", | |
| "mlx": "0.32.0", | |
| "mlx_lm": "0.31.3", | |
| "pydantic": "2.13.4", | |
| "python": "3.13.14", | |
| "safetensors": "0.8.0" | |
| }, | |
| "source_model": { | |
| "architecture": "Qwen3_5ForConditionalGeneration", | |
| "format": "mlx", | |
| "local_path": null, | |
| "model_id": "Qwen/Qwen3.8-27B", | |
| "revision": "1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0" | |
| }, | |
| "target_class": "6bit", | |
| "weight_distribution": { | |
| "4bit": { | |
| "fraction": 0.8765048435261222, | |
| "parameters": 24350556160 | |
| }, | |
| "8bit": { | |
| "fraction": 0.0915286573603551, | |
| "parameters": 2542796800 | |
| }, | |
| "bf16": { | |
| "fraction": 0.0319664991135226, | |
| "parameters": 888074992 | |
| } | |
| }, | |
| "weight_file_size_bytes": 17414319217 | |
| } | |