Instructions to use bouroo/Qwopus3.8-27B-Coder-Flash-MTP-mxfp4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use bouroo/Qwopus3.8-27B-Coder-Flash-MTP-mxfp4 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("bouroo/Qwopus3.8-27B-Coder-Flash-MTP-mxfp4") 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 bouroo/Qwopus3.8-27B-Coder-Flash-MTP-mxfp4 with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "bouroo/Qwopus3.8-27B-Coder-Flash-MTP-mxfp4"
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": "bouroo/Qwopus3.8-27B-Coder-Flash-MTP-mxfp4" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use bouroo/Qwopus3.8-27B-Coder-Flash-MTP-mxfp4 with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "bouroo/Qwopus3.8-27B-Coder-Flash-MTP-mxfp4"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "bouroo/Qwopus3.8-27B-Coder-Flash-MTP-mxfp4" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "bouroo/Qwopus3.8-27B-Coder-Flash-MTP-mxfp4", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use bouroo/Qwopus3.8-27B-Coder-Flash-MTP-mxfp4 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 "bouroo/Qwopus3.8-27B-Coder-Flash-MTP-mxfp4"
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 bouroo/Qwopus3.8-27B-Coder-Flash-MTP-mxfp4
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use bouroo/Qwopus3.8-27B-Coder-Flash-MTP-mxfp4 with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "bouroo/Qwopus3.8-27B-Coder-Flash-MTP-mxfp4"
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 "bouroo/Qwopus3.8-27B-Coder-Flash-MTP-mxfp4" \ --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"
Qwopus3.8-27B-Coder-Flash MTP MXFP4
MXFP4 (4-bit, group 32) MLX conversion of the MTP drafter of Jackrong/Qwopus3.8-27B-Coder-Flash.
This is not a standalone model. It holds only the Multi-Token Prediction head
(mtp.*) of the fine-tune, quantized to MXFP4, and is used as the draft model
alongside the matching target,
bouroo/Qwopus3.8-27B-Coder-Flash-mxfp4.
The target supplies the token embeddings and the language-model head.
Use with mlx-vlm
pip install -U mlx-vlm
mlx_vlm.generate \
--model bouroo/Qwopus3.8-27B-Coder-Flash-mxfp4 \
--draft-model bouroo/Qwopus3.8-27B-Coder-Flash-MTP-mxfp4 \
--prompt "Write a Python function that merges overlapping intervals. Include tests." \
--max-tokens 512 \
--enable-thinking
--draft-kind is auto-detected from model_type: qwen3_5_mtp. The default
block size is 3. Measured on an M4 Pro: 2.78 tokens accepted per round,
89.5% of the drafted tokens accepted.
Files
| File | What |
|---|---|
model.safetensors |
The MTP drafter: fc, one decoder layer, the shared norms (235 MB) |
config.json |
model_type: qwen3_5_mtp, block_size: 3, the target's text_config, MXFP4 quantization |
tokenizer.json, tokenizer_config.json |
The target's tokenizer, copied verbatim |
Quantization
The drafter's 2-D weights (the fc projection, the layer's attention and MLP
projections) are MXFP4 (E2M1 codes, group size 32, one uint8 power-of-two
scale per group). Its norm weights are stored as 1 + w, matching
transformers' Qwen3_5RMSNorm, and the loader's own sanitize pass leaves them
unchanged.
The layout mirrors mlx-community/Qwen3.8-27B-MTP-mxfp4, the MXFP4 drafter of the base Qwen3.8-27B.
License and limitations
Apache-2.0, inherited from the upstream checkpoint. The upstream model card's stated limitations apply.
- Downloads last month
- 202
4-bit
Model tree for bouroo/Qwopus3.8-27B-Coder-Flash-MTP-mxfp4
Base model
Qwen/Qwen3.8-27B