xunkutech-ai/Qwythos-9B-Claude-Mythos-5-1M-MLX-bf16-mtp-draft
057
Qwythos-9B Claude Mythos 5 1M - MTP Draft Model (MLX)
This is a Qwen3.5 Multi-Token Prediction (MTP) draft model extracted from the Qwythos-9B Claude Mythos 5 1M context model, converted to MLX format for use with mlx-vlm speculative decoding.
Model Details
What is MTP?
Multi-Token Prediction (MTP) is a speculative decoding technique where a smaller "draft" model predicts multiple tokens ahead, which are then verified by the main model in a single pass. This can significantly speed up inference without sacrificing quality.
This draft model extracts the MTP projection weights (blk.32.nextn.*) and the MTP attention/FFN blocks from the original model, producing a standalone qwen3_5_mtp compatible drafter.
Usage
With mlx_vlm CLI
mlx_vlm.generate \
--model /path/to/Qwythos-9B-Claude-Mythos-5-1M-MLX-bf16 \
--draft-model /path/to/Qwythos-9B-Claude-Mythos-5-1M-MLX-bf16-mtp-draft \
--draft-kind mtpWith mlx_vlm Python API
from mlx_vlm import load_model, generate
from mlx_vlm.utils import load_prompt_cache
model = load_model("/path/to/Qwythos-9B-Claude-Mythos-5-1M-MLX-bf16")
draft_model = load_model("/path/to/Qwythos-9B-Claude-Mythos-5-1M-MLX-bf16-mtp-draft")
# Use draft_model with --draft-kind mtp equivalentWeights
Extraction Process
- Source GGUF (
Qwythos-9B-Claude-Mythos-5-1M-MTP-BF16.gguf) parsed for MTP tensors atblk.32 - 15 MTP tensors extracted (BF16/FP32 only, lossless)
- Keys mapped to
mtp.*format for mlx-vlm splitter - Official
mlx_vlm.speculative.drafters.qwen3_5_mtp.splitapplied to produce final drafter - Verified with
strict=Trueload againstQwen3_5MTPDraftModel
License
Apache 2.0 (inherited from base model)
Related
- Main model: xunkutech-ai/Qwythos-9B-Claude-Mythos-5-1M-MLX-bf16
- mlx-vlm: https://github.com/ml-explore/mlx-vlm
