Instructions to use popfido/Qwythos-9B-Claude-Mythos-5-1M-oQ4-MLX-MTP-Visual with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use popfido/Qwythos-9B-Claude-Mythos-5-1M-oQ4-MLX-MTP-Visual with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("popfido/Qwythos-9B-Claude-Mythos-5-1M-oQ4-MLX-MTP-Visual") config = load_config("popfido/Qwythos-9B-Claude-Mythos-5-1M-oQ4-MLX-MTP-Visual") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use popfido/Qwythos-9B-Claude-Mythos-5-1M-oQ4-MLX-MTP-Visual with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "popfido/Qwythos-9B-Claude-Mythos-5-1M-oQ4-MLX-MTP-Visual"
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": "popfido/Qwythos-9B-Claude-Mythos-5-1M-oQ4-MLX-MTP-Visual" } ] } } }Run Pi
# Start Pi in your project directory: pi
- OpenClaw new
How to use popfido/Qwythos-9B-Claude-Mythos-5-1M-oQ4-MLX-MTP-Visual with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "popfido/Qwythos-9B-Claude-Mythos-5-1M-oQ4-MLX-MTP-Visual"
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 "popfido/Qwythos-9B-Claude-Mythos-5-1M-oQ4-MLX-MTP-Visual" \ --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"
- Hermes Agent
How to use popfido/Qwythos-9B-Claude-Mythos-5-1M-oQ4-MLX-MTP-Visual 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 "popfido/Qwythos-9B-Claude-Mythos-5-1M-oQ4-MLX-MTP-Visual"
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 popfido/Qwythos-9B-Claude-Mythos-5-1M-oQ4-MLX-MTP-Visual
Run Hermes
hermes
Qwythos-9B-Claude-Mythos-5-1M — oQ4 MLX (MTP + Vision)
4-bit oMLX-quantized MLX conversion of empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF
(Qwen3.5-9B, hybrid GatedDeltaNet + attention) with the MTP head and the
Qwen3.5-9B vision tower.
Pipeline: MTP-BF16 GGUF → float16 MLX (via
popfido/gguf2mlx)
→ oQ level 4 quantization (oMLX Universal Dynamic Quantization). ~5.8 GB,
runs on much less RAM than the full-precision variant. For maximum fidelity use
the BF16 repo; for the un-quantized 8-bit source see Q8.
Quantization
- oQ4 — 4-bit base, mixed precision: sensitivity-driven higher bits
(5–6) on the GatedDeltaNet
in_proj_a/b,out_proj, anddown_projlayers; affine, group size 64. - MTP preserved (
preserve_mtp=True): themtp.*tensors andmtp_num_hidden_layersare kept so the Native MTP toggle works after quantization. - Minor quality drift vs full precision is expected at 4-bit (e.g. occasional factual slips on greedy decode); core generation is coherent and correct.
The underlying float16 conversion was verified bit-exact vs llama.cpp
(text), and the vision tower matches llama.cpp mtmd output — see the BF16
repo card for the full verification + Qwen3.5 conversion notes (zero-centered
RMSNorm, A_log = log(−ssm_a), strided→grouped value-heads, YaRN).
Usage
from mlx_vlm import load, generate
from mlx_vlm.prompt_utils import apply_chat_template
model, processor = load("popfido/Qwythos-9B-Claude-Mythos-5-1M-oQ4-MLX-MTP-Visual")
prompt = apply_chat_template(processor, model.config, "Describe this image.", num_images=1)
print(generate(model, processor, prompt, image=["image.png"], max_tokens=128).text)
Recommended sampling: temperature 0.6, top_p 0.95, top_k 20, repetition_penalty 1.05.
License & attribution
Inherits apache-2.0 from the base model. All credit for the model to empero-ai; this repo is an MLX-format conversion + oQ quantization only.
- Downloads last month
- 155
4-bit
Model tree for popfido/Qwythos-9B-Claude-Mythos-5-1M-oQ4-MLX-MTP-Visual
Base model
Qwen/Qwen3.5-9B-Base