Model reference · open weights

Gemma-4-26B-A4B-SFT-EchoMoE-teacher

LLMs McGill-NLP Text gen · MoE 1 build Open weights 0 dl/mo

Gemma-4-26B-A4B-SFT-EchoMoE-teacher is an open-weight language model from McGill-NLP. Gemma-4-26B-A4B-SFT-EchoMoE-teacher (BF16) weighs 50.5 GB; the smallest configuration that runs it is H100 80 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • Gemma-4-SFT-EchoMoE-teacher is a 25.2B parameter text generation model developed by McGill-NLP.
  • It is a supervised fine-tuned version of the Gemma-4-26B-A4B base model, trained on Dolci instruction data to serve as an uncompressed teacher for the EchoMoE distillation process.
  • The model supports a context length of 262144 tokens, operates in English, and is released under the Apache 2.0 license.

Summary of the McGill-NLP/Gemma-4-26B-A4B-SFT-EchoMoE-teacher model card, 2026-11-18

What it is

Released byMcGill-NLP
Released2026-11-17
Parameters25.2B
VRAM50.5 GB for the weights

What it runs on

Memory and cards for Gemma-4-26B-A4B-SFT-EchoMoE-teacher (BF16)

50.5 GBweights, file size
41 MBcache per 1K tokens
1.0 GBwindow cache per request
761 MBruntime overhead, at least
262,144 tokenscontext max
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB … L40S 48 GB
6 smaller cards
A100 80 GB1911all 256K78.2 GB
H100 80 GB104all 256K78.1 GB
RTX PRO 6000 Blackwell 96 GB187all 256K93.8 GB
DGX Spark (GB10) 128 GB unified2510all 256K107 GB
H200 141 GB4016all 256K138 GB
B200 180 GB5914all 256K176 GB
2× L40S 48 GB
tensor parallel
2515all 256K44.0 GB a card
4× RTX 4090 24 GB
tensor parallel
2816all 256K23.4 GB a card
4× RTX 3090 24 GB
tensor parallel
2816all 256K23.4 GB a card
4× RTX 5090 32 GB
tensor parallel
5029all 256K31.0 GB a card
Memory needed at each load
Requests at once8K tokens each32K tokens each
152.6 GB53.6 GB
558.1 GB63.2 GB
862.3 GB70.4 GB
1673.4 GB89.5 GB
3295.5 GB128 GB
64140 GB204 GB

One card, with vLLM's small-card settings.

From the model card

What McGill-NLP says about Gemma-4-26B-A4B-SFT-EchoMoE-teacher

Read the model card

TL;DR

  • gemma-4-26B-A4B fine-tuned on Dolci instruction data: the uncompressed teacher that the EchoMoE report distills the Gemma-4-26B-A4B student from, and the model its scores are compared with.
  • It averages 61.2 over the report's 18 benchmarks.

Links

Model summary

  • Base model: gemma-4-26B-A4B, 30 layers, 128 experts with 8 active, hidden size 2,816.
  • Training: supervised fine-tuning on Dolci-Instruct-SFT, two epochs of packed 8,192-token sequences, learning rate 2e-5.
  • Context length and precision: evaluated at 32,768 tokens, bf16.
  • Software: the scores use vLLM 0.21. The architecture is the base model's own, so vLLM and transformers load it without the EchoMoE package.

Results

Average score (%) over 18 benchmarks by domain. The repository's README lists the benchmarks.

DomainScore
Knowledge and reasoning72.5
Math41.4
Code53.9
Instruction following57.3
Average61.2

Quickstart

vLLM

vllm serve McGill-NLP/Gemma-4-26B-A4B-SFT-EchoMoE-teacher \
    --data-parallel-size 8 --enable-expert-parallel \
    --max-model-len 32768

Transformers

The bf16 weights fit on one 80 GB GPU.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "McGill-NLP/Gemma-4-26B-A4B-SFT-EchoMoE-teacher"
model = AutoModelForCausalLM.from_pretrained(repo, dtype=torch.bfloat16, device_map="cuda")
tokenizer = AutoTokenizer.from_pretrained(repo)

messages = [{"role": "user", "content": "Give me a short introduction to large language models."}]
inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))

Suggested generation settings

  • For chat, use the values the evaluation uses for most chat-format tasks: temperature 0.7, top_p 0.8 and top_k 20, plus a presence penalty of 1.5 in vLLM.
  • The evaluation's few-shot tasks use greedy decoding, which is also the checkpoint's default.

Citation

@misc{liu2026communicate,
  title  = {Communicate the Change: Efficient Expert Parallelism via Activation Compression},
  author = {Liu, Fengyuan and Gala, Jay and Reddy, Siva and Bahdanau, Dzmitry},
  year   = {2026},
}

License

This model is released under the Apache 2.0 license, the license of its base model, gemma-4-26B-A4B. Google's Gemma 4 license page has the details.

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms