Welcome to the Platinum Series release of Gemma-4-26B-MoE. To combat the inherent fragility of 128-expert architectures during compression, every variant in this collection was forged with a custom Importance Matrix (i-matrix). By shielding the critical gating weights, we’ve ensured that expert routing remains precise and intelligence stays intact, even at lower bit-rates.
High-fidelity GGUF weights for Gemma 4 (26B MoE / A4B).
🛠️ Technical Specifications
Feature
Specification
Total Parameters
25.23 Billion
Active Parameters
~3.8 Billion (per token)
Expert Count
128 Experts (8 active per token)
Quantization
i-Matrix Protected (Q3 - Q8 Variants)
Context Window
128,000 Tokens
Position Embeddings
p-RoPE (Proportional Rotary)
🌟 Key Features
Architecture: Gemma 4 Mixture-of-Experts (A4B).
Expert Precision: Custom Importance Matrix (i-matrix) calibrated on wikitext-2 with 94-99% expert activation coverage to ensure zero routing-gate collapse.
Context Stability: Native support for Proportional RoPE scaling for ultra-long context window retention.
Workstation Optimized: Manually forged on a dual-GPU NVIDIA RTX 3090 + A4000 setup to ensure production-grade reliability and 24GB VRAM compatibility.
This repository contains the Platinum Series universal GGUF release of Gemma-4-26B-MoE. MoE models with high expert counts are fragile; these quants use an i-matrix to shield the critical routing pathways. This ensures that even at lower bit-rates, the model maintains the reasoning depth of the 26B engine while operating with the speed of a 4B parameter model.
📦 Available Files & Quantization Details
File
Method
Description
IQ3_M
i-matrix
Efficiency King. Smallest viable size for high-speed mobile/NPU deployment.
Q4_K_M
k-quant
Balanced Standard. Recommended for most general-purpose logic tasks.
IQ4_XS
i-matrix
The MoE Gold Standard. (~15.8 GB) Optimized for the RTX 3090 with expert protection.
Q5_K_M
k-quant
Platinum Tier. High-fidelity reasoning with minimal perplexity loss.
Q6_K
k-quant
Near-lossless expert routing for complex document analysis.
Q8_0
block-quant
Reference Grade. Maximum fidelity to the BF16 master weights.
🛠️ Usage (llama-cli)
To utilize the 128-expert routing and p-RoPE scaling, use the latest build of llama.cpp :
To run these engines using the provided python script :
python
1from llama_cpp import Llama
23# Optimized for 24GB VRAM (RTX 3090)4llm = Llama(5 model_path="./Gemma-4-26B-MoE-IQ4_XS.gguf",6 n_gpu_layers=-1,# Offload 128 experts to VRAM7 n_ctx=16384,# High-speed context window8 use_mlock=True# Pin memory for expert routing stability9)1011output = llm(12"<|turn|>user\nAnalyze the structural efficiency of 128-experts in this MoE model.<|turn|>model\n",13 max_tokens=1024,14 stop=["<turn|>","<|file_separator|>"]15)1617print(output['choices'][0]['text'])
💻 For C# / .NET Users (LLamaSharp)
Fully compatible with .NET applications via the csharp script and the LLamaSharp library.
csharp
1usingLLama.Common;2usingLLama;34var parameters =newModelParams("Gemma-4-26B-MoE-IQ4_XS.gguf")5{6 ContextSize =16384,7 GpuLayerCount =-1,// Distribute experts across RTX 3090 + A40008 TensorSplit ={1.5f,1.0f}// Balanced split for dual-GPU Noida Forge setup9};1011usingvar weights = LLamaWeights.LoadFromFile(parameters);12usingvar context = weights.CreateContext(parameters);13var executor =newInteractiveExecutor(context);1415var chatHistory =newChatHistory();16chatHistory.AddMessage(AuthorRole.System,"You are a helpful assistant.");1718var session =newChatSession(executor, chatHistory);1920awaitforeach(var text in session.ChatAsync(newChatHistory.Message(AuthorRole.User,"Validate the architectural integrity of this project."),newInferenceParams{ MaxTokens =2048}))21{22 Console.Write(text);23}
🏗️ Hardware Requirements
RTX 3090 / 4090: Recommended for full offloading of Q4_K_M through Q6_K variants.
System RAM: 32GB+ for model loading and initial calibration.
Storage: ~55GB required for the full GGUF collection.
☕ Support the Forge
Maintaining the production line for high-fidelity 128-expert models requires significant hardware resources. If these tools power your research, please consider supporting the development: