Views
No views yet
mtp_num_hidden_layers: 1)xunkutech-ai/Qwythos-9B-Claude-Mythos-5-1M-MLX-bf16-mtpoMLX is required to load this model with MTP support. Standardmlx-vlm,mlx-lm, and LM Studio do NOT support MTP and will fail with:ValueError: Received 15 parameters not in model: language_model.mtp.*.
pip install -U git+https://github.com/jundot/omlx.git1# Start server with MTP draft-mode
2omlx serve --model /path/to/Qwythos-9B-Claude-Mythos-5-1M-MLX-oQ8-mtp1from omlx import load, generate
2
3model_id = "/path/to/Qwythos-9B-Claude-Mythos-5-1M-MLX-oQ8-mtp"
4model, tokenizer = load(model_id)
5
6result = generate(
7 model=model,
8 tokenizer=tokenizer,
9 prompt="Explain speculative decoding with MTP.",
10 max_tokens=2048,
11 temperature=0.6,
12)
13print(result)| File | Size | Description |
|---|---|---|
config.json | ~3.3 KB | oQ8 quantized config with mtp_num_hidden_layers: 1 |
model-00001-of-00003.safetensors | ~5.0 GB | Quantized shard 1/3 |
model-00002-of-00003.safetensors | ~5.0 GB | Quantized shard 2/3 |
model-00003-of-00003.safetensors | ~0.7 GB | Quantized shard 3/3 (+ MTP head) |
tokenizer.json | ~20 MB | Qwen3.5 tokenizer |
chat_template.jinja | ~8 KB | Qwythos chat template |
1generation_kwargs = {
2 "temperature": 0.6,
3 "top_p": 0.95,
4 "top_k": 20,
5 "repetition_penalty": 1.05,
6 "max_tokens": 4096,
7}