Qwen3.6-27B-rust-v1 MTP BF16 MLX
A Rust-focused Qwen3.6-27B model for Apple Silicon, packaged in MLX.
Use it as a coding assistant for Rust projects: generating focused patches, explaining diffs, tightening tests, reading command output, and making small repo-aware edits. It is tuned for tool-calling workflows where the assistant has to inspect files, run commands, and keep changes narrow.
This is the native-MTP BF16 full-precision variant. This native-MTP package includes the model's MTP weights for runtimes that support the Qwen3.6 dense MTP layout, such as oMLX. If a loader rejects MTP weights, use the matching plain repo instead.
Which Variant Should I Use?
- Use this repo if your runtime supports native MTP for dense Qwen3.6 MLX models and you want the native-MTP BF16 full-precision package.
- Use
jedisct1/Qwen3.6-27B-rust-v1-MTP-4bit.mlxfor the native-MTP 4-bit OptIQ sibling. - Use
jedisct1/Qwen3.6-27B-rust-v1-MTP-8bit.mlxfor the native-MTP 8-bit sibling. - Use
jedisct1/Qwen3.6-27B-rust-v1-bf16.mlxif your runtime does not support native MTP weights.
Usage
Requires mlx-lm:
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("jedisct1/Qwen3.6-27B-rust-v1-MTP-bf16.mlx")
messages = [
{"role": "system", "content": "You are an expert Rust developer."},
{"role": "user", "content": "Generate a focused patch that replaces unwrap() calls in parse_config() with proper error propagation."},
]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
response = generate(model, tokenizer, prompt=prompt, max_tokens=500)
print(response)
What It Is Good At
- Writing idiomatic Rust patches from a concise change request.
- Explaining Rust diffs in commit-message style.
- Following tool-calling workflows where it needs to inspect files before editing.
- Keeping changes focused instead of turning small fixes into broad rewrites.
- Working with tests, compiler errors, command output, and repository context.
Limitations
- Outputs should be reviewed before use, especially unsafe code, concurrency code, and changes that affect security boundaries.
- The model works best on focused Rust changes, tests, and explanations. Very large refactors may need to be split into smaller steps.
- Tool calling depends on the runtime and client preserving the chat template and tool schema format.