Instructions to use popfido/Qwythos-9B-Claude-Mythos-5-1M-BF16-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-BF16-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-BF16-MLX-MTP-Visual") config = load_config("popfido/Qwythos-9B-Claude-Mythos-5-1M-BF16-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-BF16-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-BF16-MLX-MTP-Visual"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/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-BF16-MLX-MTP-Visual" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use popfido/Qwythos-9B-Claude-Mythos-5-1M-BF16-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-BF16-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-BF16-MLX-MTP-Visual
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use popfido/Qwythos-9B-Claude-Mythos-5-1M-BF16-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-BF16-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-BF16-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"
Qwythos-9B-Claude-Mythos-5-1M — BF16 MLX (MTP + Vision)
Full-precision MLX conversion of empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF
(Qwen3.5-9B, hybrid GatedDeltaNet + attention) including the MTP head and
the Qwen3.5-9B vision tower.
Converted from the MTP-BF16 GGUF (+ the F16 mmproj) to float16 MLX
weights — the highest-fidelity, non-quantized variant (no Q8/4-bit step).
For smaller/faster options see the Q8 and oQ4 repos. Tool:
popfido/gguf2mlx @ feat/qwen35-mtp-vision.
Verification
Activations were compared layer-by-layer against llama.cpp (build 9590,
eval-callback) on identical token ids:
- Text backbone: bit-exact through embedding, norms, the full GatedDeltaNet
recurrence, gated-norm and
out_proj. Greedy generation is correct (factual recall, counting, arithmetic); chat is coherent. - MTP head: present as
mtp.*(loads via MTP-aware loaders; stock mlx-lm strips it automatically). - Vision: all 333 vision-tower params match the
mlx-vlmqwen3_5model; image descriptions matchllama.cppmtmd output.
Conversion notes (Qwen3.5 specifics handled)
- Zero-centered RMSNorm gamma reconstructed (
−1to undo llama.cpp's+1). - GatedDeltaNet decay:
A_log = log(−ssm_a). - Value-head re-segmentation: Qwen3.5 stores SSM value-heads strided
(
[k0_v0, k1_v1, …]); permuted to the grouped layout the mlx kernel expects. - YaRN rope (factor 4, original ctx 262144).
- BF16 GGUF tensors dequantized to float16.
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-BF16-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 only.
- Downloads last month
- 122
Quantized
Model tree for popfido/Qwythos-9B-Claude-Mythos-5-1M-BF16-MLX-MTP-Visual
Base model
Qwen/Qwen3.5-9B-Base