Text Generation
MLX
Safetensors
qwen3_5
apple-silicon
quantized
mixed-precision
axquant
axq
development
qwen3.5
4bit
4-bit precision
mtp
vision
conversational
Instructions to use AutomatosX/AX-Qwen3.5-9B-MLX-AXQ-4bit-MTP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use AutomatosX/AX-Qwen3.5-9B-MLX-AXQ-4bit-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.5-9B-MLX-AXQ-4bit-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.5-9B-MLX-AXQ-4bit-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.5-9B-MLX-AXQ-4bit-MTP"
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/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.5-9B-MLX-AXQ-4bit-MTP" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use AutomatosX/AX-Qwen3.5-9B-MLX-AXQ-4bit-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.5-9B-MLX-AXQ-4bit-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.5-9B-MLX-AXQ-4bit-MTP
Run Hermes
hermes
- OpenClaw new
How to use AutomatosX/AX-Qwen3.5-9B-MLX-AXQ-4bit-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.5-9B-MLX-AXQ-4bit-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.5-9B-MLX-AXQ-4bit-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"
- MLX LM
How to use AutomatosX/AX-Qwen3.5-9B-MLX-AXQ-4bit-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.5-9B-MLX-AXQ-4bit-MTP"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "AutomatosX/AX-Qwen3.5-9B-MLX-AXQ-4bit-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.5-9B-MLX-AXQ-4bit-MTP", "messages": [ {"role": "user", "content": "Hello"} ] }'
File size: 860 Bytes
8d999aa 0360978 8d999aa | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | {
"created_at": "2026-08-02T18:28:33.417925Z",
"dtypes": [
"BF16"
],
"output": {
"path": "vision.safetensors",
"sha256": "95424a2beb8065e493985eb0d50aef3cf20ff17694172ad9f44047c9e0f6107d",
"size_bytes": 912058056
},
"parameters": 456010480,
"role": "vision",
"schema_version": "axquant.protected-tensor-sidecar.v1",
"source_files": [
{
"path": "model.safetensors-00004-of-00004.safetensors",
"sha256": "b62b0c4cd7e44edee103ee8f4fe225f246d5e768e07bfd5f25b63a8aa1fdd0c6",
"size_bytes": 3325995712
}
],
"source_model": {
"architecture": "Qwen3_5ForConditionalGeneration",
"format": "mlx",
"local_path": null,
"model_id": "Qwen/Qwen3.5-9B",
"revision": null
},
"tensor_count": 333,
"tensor_names_sha256": "74db978fa718039692971f2ece846f2cc7a62a960047b5cebe2d758cc82ac2e9"
}
|