Instructions to use philipjohnbasile/hy3-demolition-mlx-reap25-v1-mtp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use philipjohnbasile/hy3-demolition-mlx-reap25-v1-mtp with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("philipjohnbasile/hy3-demolition-mlx-reap25-v1-mtp") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use philipjohnbasile/hy3-demolition-mlx-reap25-v1-mtp with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "philipjohnbasile/hy3-demolition-mlx-reap25-v1-mtp"
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": "philipjohnbasile/hy3-demolition-mlx-reap25-v1-mtp" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use philipjohnbasile/hy3-demolition-mlx-reap25-v1-mtp 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 "philipjohnbasile/hy3-demolition-mlx-reap25-v1-mtp"
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 philipjohnbasile/hy3-demolition-mlx-reap25-v1-mtp
Run Hermes
hermes
- OpenClaw new
How to use philipjohnbasile/hy3-demolition-mlx-reap25-v1-mtp with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "philipjohnbasile/hy3-demolition-mlx-reap25-v1-mtp"
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 "philipjohnbasile/hy3-demolition-mlx-reap25-v1-mtp" \ --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"
- MLX LM
How to use philipjohnbasile/hy3-demolition-mlx-reap25-v1-mtp with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "philipjohnbasile/hy3-demolition-mlx-reap25-v1-mtp"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "philipjohnbasile/hy3-demolition-mlx-reap25-v1-mtp" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "philipjohnbasile/hy3-demolition-mlx-reap25-v1-mtp", "messages": [ {"role": "user", "content": "Hello"} ] }'
Hy3-Demolition-MLX reap25-v1-mtp
The MTP-equipped variant of reap25: its fused trunk with the Hy3 NextN (Multi-Token-Prediction) sidecar grafted back on (num_nextn_predict_layers=1, num_experts=144), for self-speculative decoding on MTPLX.
Status — honest
This artifact is MTP-equipped but not yet end-to-end runnable. mtplx inspect (release v2.0.1) recognizes it — "HY V3 MTP markers recognized, but MTPLX does not yet have a native MLX runtime backend for this family" — i.e. it is recognized-backend-pending. The native hy_v3 runtime backend is in flight as MTPLX PR #142, gated on hy_v3 reaching MTPLX's mlx-lm pin. Until that lands, use the AR daily-driver (reap25) instead.
How it was built
The MTP head consumes the trunk's final hidden state (hidden_size 4096, unchanged by pruning) and runs its own MoE on the global num_experts. So the base checkpoint's mtp.* sidecar grafts directly onto the fused AR trunk — no re-heal, no re-prune of the trunk.
- The MTP head's experts are sliced 192→144 (packing-safe whole-expert axis slice, scales-L2 pick) to match the pruned trunk's
num_experts. The MTP head is a draft component MTPLX verifies every token against, so this affects draft acceptance (speed) only — never correctness.
Graft script + mtplx inspect receipts: https://github.com/PhilipJohnBasile/hy3-demolition-mlx (scripts/38_mtp_sidecar_graft.py, eval/receipts/mtplx_inspect_*.json).
Limitations
- Does not run on stock mlx_lm as MTP. The fast MTP path needs the MTPLX backend; mlx-lm's own per-token self-speculative loop is ~4.7× slower than AR (measured), which is why the MTPLX batched-verify backend is the target.
- Everything from the base reap25 card applies (quantized MoE, English/agent focus, no tool execution).
- End-to-end MTP behavior is unverified until the backend loads it; recognition is structural (
mtplx inspect), not a live run.
Base recipe + receipts: https://github.com/PhilipJohnBasile/hy3-demolition-mlx
LM Studio / Ollama
Not yet. Same root blocker as MTPLX — hy_v3 must reach mainline mlx-lm (ml-explore/mlx-lm#1211). And note: even once loadable, LM Studio runs AR-only (no MTP speculative decoding) — the MTP heads only pay off on MTPLX. For LM Studio, use the AR sibling instead.
Run on a smaller Mac
The AR trunk of this model can run on 16–128 GB Macs via the SSD
expert-streaming pager (src/hy3_streaming.py in the source repo, bit-identical,
zero quality loss). The MTP head is small and stays resident; only trunk experts
stream. See docs/64gb-feasibility.md for the measured 16/32/64 GB tiers.
- Downloads last month
- 630
2-bit
Model tree for philipjohnbasile/hy3-demolition-mlx-reap25-v1-mtp
Base model
tencent/Hy3