Instructions to use Ex0bit/MYTHOS-26B-A4B-PRISM-PRO-DQ-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Ex0bit/MYTHOS-26B-A4B-PRISM-PRO-DQ-MLX 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("Ex0bit/MYTHOS-26B-A4B-PRISM-PRO-DQ-MLX") config = load_config("Ex0bit/MYTHOS-26B-A4B-PRISM-PRO-DQ-MLX") # 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
- LM Studio
- Pi new
How to use Ex0bit/MYTHOS-26B-A4B-PRISM-PRO-DQ-MLX with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Ex0bit/MYTHOS-26B-A4B-PRISM-PRO-DQ-MLX"
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": "Ex0bit/MYTHOS-26B-A4B-PRISM-PRO-DQ-MLX" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use Ex0bit/MYTHOS-26B-A4B-PRISM-PRO-DQ-MLX 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 "Ex0bit/MYTHOS-26B-A4B-PRISM-PRO-DQ-MLX"
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 Ex0bit/MYTHOS-26B-A4B-PRISM-PRO-DQ-MLX
Run Hermes
hermes
MYTHOS-26B-A4B — PRISM Dynamic Quantization (MLX)
Gemma 4 26B-A4B MoE PRISM-PRO-Dynamic-Quant for Apple Silicon
- PRISM-PRO: Production model with full over-refusal and bias mechanisms completely removed using State of the Art PRISM pipeline.
- DQ: Per-tensor-class mixed-precision allocation derived entirely from weight structure sensitivity analysis — not closed-gated datasets.
Created by Ex0bit
💡Support My Research & Development efforts. Members Receive access to the latest PRISM-PRO Model drops on Day-0
Model Details
| Property | Value |
|---|---|
| Base Model | google/gemma-4-26B-A4B-it |
| Architecture | Gemma 4 MoE (128 experts, top-8 routing) |
| Parameters | 26B total / 4B active per token |
| Quantization | PRISM-PRO-DYNAMIC-QUANT (MLX native) |
| Achieved BPW | 6.52 |
| File Size | ~20 GB |
| Context Length | 262,144 tokens |
| Modalities | Text, Image, Video |
| Runtime | mlx-vlm (Apple Silicon Metal) |
| Creator | Ex0bit |
Supported Modalities
- Text: Full instruction-following and chat
- Image: Vision understanding via SigLIP encoder (280 soft tokens per image)
- Video: Gemma4VideoProcessor (32 frames, pooled)
Note: This 26B MoE variant does not include audio support. For audio, see the 31B dense variant.
PRISM-DQ Quantization
This MLX model uses PRISM-PRO Dynamic Quantization — a per-tensor-class mixed-precision allocation that assigns different quantization types to different tensor classes based on weight structure sensitivity.
Unlike uniform quantization (Q4, Q6, Q8), PRISM-DQ analyzes each tensor class's sensitivity and allocates precision where it matters most. Attention projections receive higher precision than FFN layers, with block-level overrides that protect critical layers.
The model's config.json contains per-tensor quantization overrides that mlx-vlm loads natively — no custom runtime required. The compiled Metal kernels automatically handle mixed-precision tensors in a single forward pass at full GPU speed.
Usage
mlx-vlm (CLI)
pip install mlx-vlm
# Interactive chat
mlx_vlm.chat --model Ex0bit/MYTHOS-26B-A4B-PRISM-PRO-DQ-MLX \
--temperature 0.7 --max-tokens 2048 --max-kv-size 8192
# Vision prompt
python -m mlx_vlm.generate \
--model Ex0bit/MYTHOS-26B-A4B-PRISM-PRO-DQ-MLX \
--image path/to/image.jpg \
--prompt "Describe this image in detail." \
--max-tokens 500
Python API
from mlx_vlm import load, generate
from mlx_vlm.prompt_utils import apply_chat_template
model, processor = load("Ex0bit/MYTHOS-26B-A4B-PRISM-PRO-DQ-MLX")
config = model.config
prompt = apply_chat_template(
processor, config,
"Describe this scene.",
num_images=1
)
response = generate(
model, processor, prompt,
image=["path/to/image.jpg"],
max_tokens=500, temperature=0.7
)
print(response)
Refusal & Bias Removal
This model has been treated to remove bias, over-refusals and propaganda from the base google/gemma-4-26B-A4B-it using the State of The Art PRISM pipeline.
License
Apache 2.0 (inherited from google/gemma-4-26B-A4B-it)
Credits
- Creator: Ex0bit
- Base model: Google DeepMind
- Quantization engine: PRISM-DQ by Ex0bit
- Downloads last month
- 1,114
6-bit