Austriani // ik_llama.cpp // GGUF
WaifuGemma426B-A4B-V1
MoE Roleplay Quantization // V3 Calibration Imatrix
25.2B
Total Params
3.8B
Active Params
128
Routed Experts
1024
Imatrix Ctx
The Base Model
This repository hosts
ik_llama.cpp-compatible GGUF quantizations of
hiwaifu-research/WaifuGemma4-26b-a4b-v1. It is built on the
Gemma 4 26B-A4B Mixture-of-Experts architecture:
25.2B total parameters, 3.8B active per token,
128 routed experts (8 active) plus 1 shared expert, across
30 layers[reference:0].
The parent checkpoint started from
google/gemma-4-26B-A4B-it and was post-trained for
200 GRPO steps against a reward model built from
1.2 million double-blind A/B votes cast by real users inside live role-play conversations on the HiWaifu Arena—not synthetic pairs or a single LLM judge[reference:1][reference:2]. The reward model was trained only on votes between models rated within 10 Elo of each other, removing the “which model wrote this” shortcut[reference:3].
Parent-reported results: 49.6% head-to-head win rate against GLM-5.1 over 1,430 blind battles, 54.7% win rate across a 13-model field over 9,084 battles, and 59.7% against its own untuned Gemma 4 base. General benchmarks shift −0.3 points on average (IFEval 89.1, MMLU 88.6, GSM8K 96.9). These are the upstream team's numbers—validate on your own prompts before production use[reference:4].
MaxOptima Custom Quant
This release includes
MaxOptima, a surgical mix for the 128-expert Gemma 4 MoE. Routing stays at full precision, attention is lifted across every layer, and the expert FFN bulk uses a native fallback for row widths that do not divide cleanly into 256-value super-blocks.
MaxOptima strategy: Embeddings and output locked at
Q6_K. Router inputs, norms, scales, and biases kept at
F32. All attention projections (attn_q, attn_k, attn_v, attn_output) held at
IQ5_K across every layer. Expert FFNs use
IQ4_KS; tensors with non-256-divisible row widths (ffn_down_exps, dense ffn_down) fall back to native 32-block
IQ4_KS_R16. Boundary expert layers (0–4, 25–29) are protected at
IQ5_K.
View Full MaxOptima Custom Quant Configuration
^output\.weight=Q6_K,^token_embd\.weight=Q6_K,ffn_gate_inp\.weight=F32,rope_freqs\.weight=F32,.*_norm\.weight=F32,.*\.scale=F32,.*_scale\.weight=F32,.*\.bias=F32,attn_k\.weight=IQ5_K,attn_v\.weight=IQ5_K,attn_output\.weight=IQ5_K,attn_q\.weight=IQ5_K,blk\.(0|1|2|3|4|25|26|27|28|29)\.ffn_gate_up_exps\.weight=IQ5_K,ffn_gate_up_exps\.weight=IQ4_KS,ffn_down_exps\.weight=IQ4_KS,ffn_down\.weight=IQ4_KS,ffn_(gate|up)\.weight=IQ5_K,.*=IQ4_KS
Available Quants
MaxOptima // Custom MoE Mix
MaxOptima
Custom mix. F32 routing/scales, IQ5_K attention across all layers, IQ4_KS expert FFNs with native IQ4_KS_R16 fallback on non-256-divisible tensors. Best quality-to-size ratio for MoE inference in this repo.
Standard IQK // High & Mid Fidelity
IQ5_K
Higher fidelity 5-bit. Best quality-to-size for systems with sufficient memory.
IQ4_K
Standard 4-bit IQK. Uses 256-value super-blocks for scaling.
IQ4_KS
"Small" 4-bit variant with tighter packing. Lower memory footprint.
IQ4_KS_R4
Row-interleaved variant of IQ4_KS, optimized for ik_llama.cpp's matmul kernels.
Trellis // Alternative 4-Bit
IQ4_KT
Dynamic programming trellis quant. Uses a fundamentally different error-minimization strategy than IQK.
Imatrix Specification
This release uses the
V3 Calibration Dataset used across previous Austriani releases. Calibration ran at
500 cycles per chunk with a
1024-token context window, processing approximately
1000 chunks.
Compatibility
These GGUF files are built exclusively for ik_llama.cpp. IQK, Trellis, and MaxOptima quants will not load in mainline llama.cpp. For mainline compatibility, use the standard GGUF repositories published for the WaifuGemma4 base.
Austriani // WaifuGemma4-26B-A4B-V1 // ik_llama.cpp
Base: hiwaifu-research/WaifuGemma4-26b-a4b-v1