Instructions to use vvsotnikov/Qwen3.6-27B-MTP-bf16-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use vvsotnikov/Qwen3.6-27B-MTP-bf16-test 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("vvsotnikov/Qwen3.6-27B-MTP-bf16-test") 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 vvsotnikov/Qwen3.6-27B-MTP-bf16-test with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "vvsotnikov/Qwen3.6-27B-MTP-bf16-test"
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": "vvsotnikov/Qwen3.6-27B-MTP-bf16-test" } ] } } }Run Pi
# Start Pi in your project directory: pi
- OpenClaw new
How to use vvsotnikov/Qwen3.6-27B-MTP-bf16-test with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "vvsotnikov/Qwen3.6-27B-MTP-bf16-test"
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 "vvsotnikov/Qwen3.6-27B-MTP-bf16-test" \ --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 vvsotnikov/Qwen3.6-27B-MTP-bf16-test with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "vvsotnikov/Qwen3.6-27B-MTP-bf16-test"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "vvsotnikov/Qwen3.6-27B-MTP-bf16-test" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "vvsotnikov/Qwen3.6-27B-MTP-bf16-test", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use vvsotnikov/Qwen3.6-27B-MTP-bf16-test 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 "vvsotnikov/Qwen3.6-27B-MTP-bf16-test"
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 vvsotnikov/Qwen3.6-27B-MTP-bf16-test
Run Hermes
hermes
- Atomic Chat
Qwen3.6-27B-MTP-bf16-test
This is not a standalone model. It holds only the Multi-Token Prediction (MTP) drafter head, so it carries no token embeddings and no
lm_headand it cannot generate text alone. Load it as the draft model beside a Qwen3.6-27B target, which supplies both.
This repository keeps the drafter unquantized, so it costs 0.85 GB against the 4-bit build's 0.24 GB. Use it when you want the highest acceptance rate, or when you compare quantized and unquantized drafting.
Use with mlx-vlm
mlx_vlm generate \
--model vvsotnikov/Qwen3.6-27B-4bit-test \
--draft-model vvsotnikov/Qwen3.6-27B-MTP-bf16-test \
--prompt "Write a quicksort in Python." \
--max-tokens 256 --temperature 0.6
How this was produced
python -m mlx_vlm.speculative.drafters.qwen3_5_mtp.split \
--model Qwen/Qwen3.6-27B --output Qwen3.6-27B-MTP-bf16
The tool reads the 15 mtp. tensors out of the base checkpoint, strips
that prefix, and adds 1.0 to every RMSNorm weight, because Qwen stores the
norm scale minus one. It finishes in under two seconds, since it touches
only the two shards that hold those tensors.
Verification
This build is bit-identical to
mlx-community/Qwen3.6-27B-MTP-bf16
across all 15 tensors, and the file sizes match exactly.
| Check | Result |
|---|---|
model_type |
qwen3_5_mtp |
block_size |
3, from mtp_num_hidden_layers + 2 |
| Tensors | 15, all bfloat16 |
| RMSNorm shift | applied exactly once, checked against the source |
Pairing rules
Use a drafter and a target that come from ONE checkpoint, because the drafter binds to the target's embeddings at runtime. Prefer this bf16 build over the 4-bit one on Mixture-of-Experts targets, where quantized MTP weights are reported to cut acceptance from about 80 percent to about 10 percent.
License and attribution
The weights derive from Qwen/Qwen3.6-27B under Apache 2.0, so the
original license and its terms carry over. Refer to the
upstream model card for details.
- Downloads last month
- 64
Quantized
Model tree for vvsotnikov/Qwen3.6-27B-MTP-bf16-test
Base model
Qwen/Qwen3.6-27B