Instructions to use Shiftedx/Qwopus3.8-27B-Coder-Flash-MLX-Balanced with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Shiftedx/Qwopus3.8-27B-Coder-Flash-MLX-Balanced 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("Shiftedx/Qwopus3.8-27B-Coder-Flash-MLX-Balanced") 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 Shiftedx/Qwopus3.8-27B-Coder-Flash-MLX-Balanced with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Shiftedx/Qwopus3.8-27B-Coder-Flash-MLX-Balanced"
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": "Shiftedx/Qwopus3.8-27B-Coder-Flash-MLX-Balanced" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use Shiftedx/Qwopus3.8-27B-Coder-Flash-MLX-Balanced with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "Shiftedx/Qwopus3.8-27B-Coder-Flash-MLX-Balanced"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "Shiftedx/Qwopus3.8-27B-Coder-Flash-MLX-Balanced" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8080/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Shiftedx/Qwopus3.8-27B-Coder-Flash-MLX-Balanced", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use Shiftedx/Qwopus3.8-27B-Coder-Flash-MLX-Balanced 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 "Shiftedx/Qwopus3.8-27B-Coder-Flash-MLX-Balanced"
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 Shiftedx/Qwopus3.8-27B-Coder-Flash-MLX-Balanced
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Shiftedx/Qwopus3.8-27B-Coder-Flash-MLX-Balanced with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Shiftedx/Qwopus3.8-27B-Coder-Flash-MLX-Balanced"
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 "Shiftedx/Qwopus3.8-27B-Coder-Flash-MLX-Balanced" \ --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"
Download README.md from Shiftedx/Qwopus3.8-27B-Coder-Flash-MLX-Balanced: direct link, hf CLI and curl.
- Browser
- Download file 2.65 kB
-
https://huggingface.co/Shiftedx/Qwopus3.8-27B-Coder-Flash-MLX-Balanced/resolve/main/README.md
- Command line
-
hf download hf://Shiftedx/Qwopus3.8-27B-Coder-Flash-MLX-Balanced/README.md
-
curl -L -o README.md https://huggingface.co/Shiftedx/Qwopus3.8-27B-Coder-Flash-MLX-Balanced/resolve/main/README.md
license: apache-2.0
library_name: mlx
pipeline_tag: text-generation
base_model: Jackrong/Qwopus3.8-27B-Coder-Flash
base_model_relation: quantized
language:
- en
- zh
tags:
- mlx
- mixed-precision
- qwen3_5
- coding
- tool-use
- experimental
inference: false
Qwopus3.8-27B Coder Flash · MLX Balanced
23.74 GB weights · 6/8 executable coding smoke. The eight-task coding smoke missed weighted interval scheduling and TTL-cache semantics.
4-bit MLP group 32; 14 low-sensitivity projections use group 64. Attention, embeddings, head and eight tail MLP layers use 8-bit group 64. The model retains 96 BF16 recurrent gating projections, publisher tokenizer/template, BF16 vision and native MTP. Exact precision recipe.
Decoding and structured output
| Kapitsa 0.2.31 + DFlash2 | Balanced | Fast |
|---|---|---|
| Structured JSON decode | 128.1 tok/s | 165.6 tok/s |
| Code/prose decode | 90.2 tok/s | 108.0 tok/s |
Medians of three repetitions on M4 Max (64 GiB). With the supplied schemas, this variant passed 12/12 held-out structured-output cases. Native MTP depth 3 passed 8/8 original schema cases. Request profiles · Validation.
Balanced context replay
Retrieval, tool use and cached coding passed at both lengths on Balanced. Kapitsa 0.2.27 + DFlash2, one slot, disk cache off, greedy, thinking off. One run per length on M4 Max (64 GiB). Evaluation contract.
| Local replay | 64K | 128K |
|---|---|---|
| Prompt tokens | 61,441 | 126,976 |
| Cold turn | 192.87 s | 579.09 s |
| Cached coding decode | 78.4 tok/s | 61.9 tok/s |
Run
hf download Shiftedx/Qwopus3.8-27B-Coder-Flash-MLX-Balanced --local-dir ./qwopus-balanced
hf download incoai/Qwen3.8-27B-DFlash2 --local-dir ./dflash2
kapitsa serve --private --local --model ./qwopus-balanced \
--model-id qwopus-coder --context 131072 --slots 1 \
--dflash ./dflash2 --disk-cache 0
Use temperature=0, top_p=1, top_k=0 and chat_template_kwargs={"enable_thinking":false}. Prompt and output share the configured window.
The experimental edit uses strength 0.5 on attention outputs in layers 10–17. Refusal reduction, BF16 fidelity and long-context native MTP remain unverified. Weight hashes.