How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="jashepp/Pantheon-Reasoning-26B-A4B-1.1-MXFP4_MOE_Hybrid-Imatrix-GGUF",
	filename="",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": "What is the capital of France?"
		}
	]
)

💎 Pantheon-Reasoning-26B-A4B-1.1 - Custom Mixed Precision GGUFs with Imatrix

Pantheon is Gryphe's ongoing series of roleplay-focused finetunes built around a collection of diverse personas — characters with distinct personalities, voices, accents and mannerisms.
An experiment in bringing reasoning capability to the Pantheon roleplay series in the shape of a Gemma 4 MoE.

Base model License

This repository contains custom, highly optimized, multi-tier mixed precision GGUF weights for Gryphe/Pantheon-Reasoning-26B-A4B-1.1.

Recommended: This model works best with reasoning/thinking enabled.

📊 Importance Matrix (Imatrix)

The following datasets were used for the imatrix:

📄 GGUF Files

In order of quality:


🔍 Precision Matrix & Flavor Variations

This repository provides multiple distinct manual configuration layouts to balance precision and memory constraints:

1. The Tri-Quant Hybrid Flavor (MXFP4 + Q8_0 + F16)

Pantheon-Reasoning-26B-A4B-1.1-MXFP4_Q8_0_F16-Imatrix.gguf - Designed for maximum quality preservation, this layout implements a strict 3-Tier Precision Matrix:

  • Tier 1 (Core - F16 Precision): token_embd.weight - Protects the critical input/output vocabulary mappings. Dramatically prevents text degradation.
  • Tier 2 (Backbone - Q8_0 Precision): attn_q, attn_k, attn_v, attn_output, attn_qkv - All core attention layers. Keeps the model's primary attention mechanism high quality.
  • Tier 3 (Dense FFN - MXFP4 Precision): ffn_down, ffn_gate, ffn_up - Downsamples the massive, heavy feed-forward network layers to hardware-optimized 4-bit microscaling blocks.

2. The Dual-Quant Hybrid Flavor (MXFP4 + Q8_0)

Pantheon-Reasoning-26B-A4B-1.1-MXFP4_Q8_0-Imatrix.gguf - Designed for a slightly leaner memory profile, this layout utilizes 2-Tier Precision:

  • Tier 1 (Backbone - Q8_0 Precision): Vocabulary embeddings (token_embd), final logit projections (output), layer normalizations, and structural layers fall back to the heavy Q8_0 format.
  • Tier 2 (Compute Layers - MXFP4 Precision): attn_k, attn_q, attn_output, ffn_down, ffn_gate, ffn_up - The core attention projections and dense feed-forward network blocks are target-quantized directly to MXFP4 to leverage highly optimized hardware kernels.

3. The Tri-Quant Hybrid Flavor (MXFP4 + Q6_K + Q8_0)

Pantheon-Reasoning-26B-A4B-1.1-MXFP4_Q6_K_Q8_0-Imatrix.gguf - Designed for a tighter VRAM footprint while preserving quality, this layout implements a strict 3-Tier Precision Matrix:

  • Tier 1 (Core - Q8_0 Precision): token_embd.weight - Keeps the critical input/output vocabulary mappings. Lessens the text degradation.
  • Tier 2 (Backbone - Q6_K Precision): attn_q, attn_k, attn_v, attn_output, attn_qkv - All core attention layers. Keeps the model's primary attention mechanism at decent quality.
  • Tier 3 (Dense FFN - MXFP4 Precision): ffn_down, ffn_gate, ffn_up - Downsamples the massive, heavy feed-forward network layers to hardware-optimized 4-bit microscaling blocks.

4. The Dual-Quant Hybrid Flavor (MXFP4 + Q6_K)

Pantheon-Reasoning-26B-A4B-1.1-MXFP4_Q6_K-Imatrix.gguf - Designed for an even tighter VRAM footprint while preserving the mathematical depth of the logical layers, this layout utilizes 2-Tier Precision:

  • Tier 1 (Backbone - Q6_K Precision): Vocabulary embeddings (token_embd), final logit projections (output), layer normalizations, and structural layers fall back to the heavy Q6_K format.
  • Tier 2 (Compute Layers - MXFP4 Precision): attn_k, attn_q, attn_output, ffn_down, ffn_gate, ffn_up - The core attention projections and dense feed-forward network blocks are target-quantized directly to MXFP4 to leverage highly optimized hardware kernels.

5. Bonus Single-Quant (MXFP4)

Pantheon-Reasoning-26B-A4B-1.1-MXFP4-Only-Imatrix.gguf - Using only MXFP4, this shrinks the model down to 14.7 GB. The quality is not the best, but it can still do decent work.

  • Single Tier (All Layers - MXFP4 Precision): All layers are target-quantized directly to MXFP4, for speed and a low VRAM footprint.

📝 Exact Conversion Details

These files were converted via llama-quantize utilizing the following manual recipe parameters:

Generate Tri-Quant MXFP4_MOE + Q8_0 + F16:

llama-quantize \
  --tensor-type "token_embd\.weight=F16" \
  --tensor-type "blk\..*\.(ffn_down_exps)\.weight=Q8_0" \
  --tensor-type "blk\..*\.(ffn_down|ffn_gate|ffn_up)\.weight=MXFP4" \
  --imatrix "imatrix.gguf" \
  "Pantheon-Reasoning-26B-A4B-1.1_F16.gguf" \
  "Pantheon-Reasoning-26B-A4B-1.1-MXFP4_Q8_0_F16-Imatrix.gguf" \
  Q8_0

Generate Dual-Quant MXFP4_MOE + Q8_0:

llama-quantize \
  --tensor-type "blk\..*\.(ffn_down_exps)\.weight=Q8_0" \
  --tensor-type "blk\..*\.(attn_k|attn_q|attn_output|ffn_down|ffn_gate|ffn_up)\.weight=MXFP4" \
  --imatrix "imatrix.gguf" \
  "Pantheon-Reasoning-26B-A4B-1.1_F16.gguf" \
  "Pantheon-Reasoning-26B-A4B-1.1-MXFP4_Q8_0-Imatrix.gguf" \
  Q8_0

Generate Tri-Quant MXFP4_MOE + Q6_K + Q8_0:

llama-quantize \
  --tensor-type "token_embd\.weight=Q8_0" \
  --tensor-type "blk\..*\.(ffn_down_exps)\.weight=Q6_K" \
  --tensor-type "blk\..*\.(ffn_down|ffn_gate|ffn_up)\.weight=MXFP4" \
  --imatrix "imatrix.gguf" \
  "Pantheon-Reasoning-26B-A4B-1.1_F16.gguf" \
  "Pantheon-Reasoning-26B-A4B-1.1-MXFP4_Q6_K_Q8_0-Imatrix.gguf" \
  Q6_K

Generate Dual-Quant MXFP4_MOE + Q6_K:

llama-quantize \
  --tensor-type "blk\..*\.(ffn_down_exps)\.weight=Q6_K" \
  --tensor-type "blk\..*\.(attn_k|attn_q|attn_output|ffn_down|ffn_gate|ffn_up)\.weight=MXFP4" \
  --imatrix "imatrix.gguf" \
  "Pantheon-Reasoning-26B-A4B-1.1_F16.gguf" \
  "Pantheon-Reasoning-26B-A4B-1.1-MXFP4_Q6_K-Imatrix.gguf" \
  Q6_K

Generate Single-Quant MXFP4_MOE:

llama-quantize \
  --tensor-type "blk\..*\.(attn_k|attn_q|attn_output|ffn_down|ffn_gate|ffn_up|ffn_down_exps)\.weight=MXFP4" \
  --imatrix "imatrix.gguf" \
  "Pantheon-Reasoning-26B-A4B-1.1_F16.gguf" \
  "Pantheon-Reasoning-26B-A4B-1.1-MXFP4-Only-Imatrix.gguf" \
  MXFP4

ℹ️ Misc Details

I'm doing this as a side hobby, with my AMD 5900X, 64GB DDR4, RTX 3060 12GB & RTX 5060 Ti 16GB.

This model works well for SillyTavern with CharMemory and MessageLimit.

However it does struggle to do tool calling, so don't use it as an agent.
For story-writing analysis, you'll have to put the content into the chat yourself.
If you want a similar model that can do story-writing analysis and tool calling, see Equinox-31B-i1-MXFP4-GGUF.


🤝 Support the Journey

As a passionate developer, I'm always programming, automating, or experimenting with new ideas.
I love building open-source tools, trying out new web tech, and creating things that don't yet exist, including local AI & quantizing models.

I love sharing these creations to give back to the community.
If my projects have saved you time or helped you out, consider supporting my work below!

👉 Support me on Ko-fi


✨ Acknowledgments

  • Gryphe for the exceptional Pantheon-Reasoning-26B-A4B-1.1 base model.
Downloads last month
-
GGUF
Model size
26B params
Architecture
gemma4
Hardware compatibility
Log In to add your hardware

6-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for jashepp/Pantheon-Reasoning-26B-A4B-1.1-MXFP4_MOE_Hybrid-Imatrix-GGUF

Quantized
(4)
this model

Collection including jashepp/Pantheon-Reasoning-26B-A4B-1.1-MXFP4_MOE_Hybrid-Imatrix-GGUF