Instructions to use yugeshkarunamurthy/Qwythos-9B-v2-oQe6-MTP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use yugeshkarunamurthy/Qwythos-9B-v2-oQe6-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("yugeshkarunamurthy/Qwythos-9B-v2-oQe6-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 yugeshkarunamurthy/Qwythos-9B-v2-oQe6-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 "yugeshkarunamurthy/Qwythos-9B-v2-oQe6-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": "yugeshkarunamurthy/Qwythos-9B-v2-oQe6-MTP" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use yugeshkarunamurthy/Qwythos-9B-v2-oQe6-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 "yugeshkarunamurthy/Qwythos-9B-v2-oQe6-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 yugeshkarunamurthy/Qwythos-9B-v2-oQe6-MTP
Run Hermes
hermes
- OpenClaw new
How to use yugeshkarunamurthy/Qwythos-9B-v2-oQe6-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 "yugeshkarunamurthy/Qwythos-9B-v2-oQe6-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 "yugeshkarunamurthy/Qwythos-9B-v2-oQe6-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 yugeshkarunamurthy/Qwythos-9B-v2-oQe6-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 "yugeshkarunamurthy/Qwythos-9B-v2-oQe6-MTP"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "yugeshkarunamurthy/Qwythos-9B-v2-oQe6-MTP" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "yugeshkarunamurthy/Qwythos-9B-v2-oQe6-MTP", "messages": [ {"role": "user", "content": "Hello"} ] }'
Qwythos-9B-oQe6
Apple Silicon Optimized oQe6 MLX Quantized Release
This repository contains an oQe6 mixed-precision MLX quantized version of Qwythos-9B, optimized for efficient local inference on Apple Silicon devices.
The original Qwythos-9B model was developed by Empero AI. This repository contains an optimized MLX/oQe6 conversion only—no additional fine-tuning or retraining has been performed.
About Qwythos
Qwythos-9B is a full-parameter reasoning model built upon Qwen3.5-9B and trained on over 500 million tokens of carefully curated reasoning data.
The original model specializes in:
- 🧠 Advanced reasoning
- 💻 Programming
- 🛠 Native function calling
- 🤖 Tool use
- 🔐 Cybersecurity
- 🧬 Biomedical reasoning
- ➗ Mathematics
- 🔬 Scientific reasoning
- 📚 Long-context agent workflows
Key capabilities include:
- 1,048,576 token context window
- Native function calling
- Excellent coding performance
- Strong mathematical reasoning
- Tool-assisted self-correction
- Long-context understanding
- Uncensored technical reasoning
For complete benchmark results, training methodology, and evaluation details, please visit the original repository:
https://huggingface.co/empero-ai/Qwythos-9B-v2
Quantization
This release uses oQe6 mixed-precision quantization.
Specifications
- Format: MLX
- Quantization: oQe6
- Method: Sensitivity-Aware Mixed Precision
- Target Platform: Apple Silicon
- Inference: MLX / oMLX
Unlike traditional uniform quantization, oQ dynamically allocates precision according to layer sensitivity, preserving higher precision for the most important weights while aggressively compressing less sensitive regions.
This provides an excellent balance between:
- Higher reasoning quality
- Better coding performance
- Lower memory usage
- Faster inference
- Excellent Apple Silicon efficiency
Recommended Settings
For the best reasoning performance:
temp: 0.6
top_p: 0.95
top_k: 20
min_p: 0
rep_penalty: 1.05
presence_penalty: 1.5
enable_thinking: true
These settings provide excellent performance across:
- Reasoning
- Mathematics
- Programming
- Tool Use
- Scientific Questions
- Agent Workflows
Example Usage
from mlx_lm import load, generate
model, tokenizer = load("YOUR_USERNAME/Qwythos-9B-oQe6")
messages = [
{
"role": "user",
"content": "Explain speculative decoding."
}
]
prompt = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
enable_thinking=True,
)
response = generate(
model,
tokenizer,
prompt=prompt,
temp=0.6,
top_p=0.95,
top_k=20,
max_tokens=16384,
)
print(response)
Optimized For
This release is optimized for:
- Apple M1
- Apple M1 Pro / Max / Ultra
- Apple M2 Series
- Apple M3 Series
- Apple M4 Series
Compatible with:
- MLX
- oMLX
- Open WebUI
- LM Studio (MLX)
- MLX-LM
- Local AI Applications
Intended Use
Qwythos-9B-oQe6 is well suited for:
- Software Engineering
- AI Coding Assistants
- Long Context Analysis
- Scientific Research
- Mathematical Reasoning
- Cybersecurity
- Biomedical Analysis
- Local AI Agents
- Tool Calling Applications
- Research & Education
Hardware Recommendations
Recommended systems:
- Apple M1 Pro / Max / Ultra
- Apple M2 Pro / Max / Ultra
- Apple M3 Series
- Apple M4 Series
Higher-memory configurations are recommended when utilizing the full 1M context window.
About oQ Quantization
oQ is a sensitivity-aware mixed-precision quantization technique designed to maximize model quality while significantly reducing memory usage.
Instead of quantizing every layer identically, oQ analyzes layer importance and preserves additional precision where it matters most.
Benefits include:
- Better reasoning retention
- Improved coding performance
- Higher mathematical accuracy
- Lower memory usage
- Faster inference
- Excellent Apple Silicon optimization
Credits
Original Model
All credit for the original model, datasets, training methodology, evaluation, benchmarks, and research belongs entirely to:
Empero AI
Original Repository:
https://huggingface.co/empero-ai/Qwythos-9B-v2
Base Model:
https://huggingface.co/Qwen/Qwen3.5-9B
oQ4 MLX Quantized Release
This repository provides an Apple Silicon optimized oQe6 MLX quantized version of the original model.
No additional fine-tuning has been performed.
Acknowledgements
- Empero AI
- Alibaba Qwen Team
- Apple MLX
- Hugging Face
- Transformers
- TRL
- EleutherAI
- oMLX
- OptiQ Quantization
Citation
If you use this model in research, please cite the original Qwythos-9B model and the Qwen3.5 base model.
License
This release inherits the Apache-2.0 license from the original model.
Please refer to the original repository for complete licensing information.
Disclaimer
This repository contains an optimized oQe6 MLX quantized conversion intended for efficient local inference on Apple Silicon devices.
All original model architecture, datasets, training, benchmarks, evaluations, and research remain entirely the work of the original authors.
- Downloads last month
- 292
6-bit
Model tree for yugeshkarunamurthy/Qwythos-9B-v2-oQe6-MTP
Base model
Qwen/Qwen3.5-9B-Base