Model reference · open weights

EchoMoE-Gemma-4-26B-A4B-s4-r768-c1408

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

EchoMoE-Gemma-4-26B-A4B-s4-r768-c1408 is an open-weight language model from McGill-NLP. EchoMoE-Gemma-4-26B-A4B-s4-r768-c1408 (BF16) weighs 49.3 GB; the smallest configuration that runs it is 2× RTX 5090 32 GB.

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

  • EchoMoE-Gemma-4-s4-r768-c1408 is a 24.6B parameter text generation model developed by McGill-NLP.
  • It applies activation compression to the Gemma-4-26B-A4B base model to reduce communication overhead in expert parallelism.
  • The model supports a 262144 token context length, operates in English, and is released under the Apache 2.0 license.

Summary of the McGill-NLP/EchoMoE-Gemma-4-26B-A4B-s4-r768-c1408 model card, 2026-11-18

What it is

Released byMcGill-NLP
Released2026-11-17
Parameters24.6B
VRAM49.3 GB for the weights

What it runs on

Memory and cards for EchoMoE-Gemma-4-26B-A4B-s4-r768-c1408 (BF16)

49.3 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 GB2011all 256K78.2 GB
H100 80 GB114all 256K78.1 GB
RTX PRO 6000 Blackwell 96 GB197all 256K93.8 GB
DGX Spark (GB10) 128 GB unified2510all 256K107 GB
H200 141 GB4116all 256K138 GB
B200 180 GB5914all 256K176 GB
2× RTX 5090 32 GB
tensor parallel
84242K31.0 GB a card
2× L40S 48 GB
tensor parallel
2615all 256K44.0 GB a card
4× RTX 4090 24 GB
tensor parallel
2917all 256K23.4 GB a card
4× RTX 3090 24 GB
tensor parallel
2917all 256K23.4 GB a card
Memory needed at each load
Requests at once8K tokens each32K tokens each
151.4 GB52.4 GB
557.0 GB62.0 GB
861.1 GB69.2 GB
1672.2 GB88.3 GB
3294.3 GB127 GB
64139 GB203 GB

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

From the model card

What McGill-NLP says about EchoMoE-Gemma-4-26B-A4B-s4-r768-c1408

Read the model card

TL;DR

  • EchoMoE retrofits a pretrained mixture-of-experts model to communicate less under expert parallelism. Instead of each hidden state in full, it sends a compressed difference from a reference hidden state that is refreshed every few layers.
  • This checkpoint applies EchoMoE to Gemma-4-26B-A4B, with a reference every 4 MoE layers, a 768-dimensional dispatch code and a 1408-dimensional combine code.
  • It sends 50% fewer inter-node bytes and improves throughput by 14.2% at expert parallel 32 over 4 nodes, while scoring 4.4 points below the uncompressed teacher's average over 18 benchmarks.

Links

Model summary

  • Base model: gemma-4-26B-A4B, 30 layers, 128 experts with 8 active, hidden size 2,816.
  • Teacher: Gemma-4-26B-A4B-SFT-EchoMoE-teacher, the base model fine-tuned on Dolci instruction data.
  • EchoMoE configuration: a reference every 4th MoE layer (8 of 30), a 768-dimensional dispatch code and a 1408-dimensional combine code.
  • Training: distilled from the teacher on 4.3B tokens, with all weights trained.
  • Context length and precision: evaluated at 32,768 tokens, bf16.
  • Software: the accuracy results use vLLM 0.21 with the EchoMoE plugin. The throughput results use the repository's expert-parallel runtime on vLLM 0.29 with DeepEP. transformers 5.8.1 loads the model through this repository's remote code.

Results

Accuracy

Average score (%) over 18 benchmarks by domain, with the change from the teacher in parentheses. The repository's README lists the benchmarks.

DomainTeacherEchoMoE
Knowledge and reasoning72.567.7 (−4.8)
Math41.437.1 (−4.3)
Code53.950.7 (−3.2)
Instruction following57.354.1 (−3.2)
Average61.256.8 (−4.4)

Throughput

Throughput gain over the uncompressed teacher, both served with vLLM 0.29 and DeepEP at expert parallel 32 over 4 nodes of 8 H100s, with balanced expert assignment. The two gain columns send dispatch and combine in BF16 or in FP8, for both models.

Workload (input → output tokens)NetworkRequests per GPUGain, BF16Gain, FP8
128 → 1,024RDMA512+7.7%+9.9%
1,024 → 128RDMA512+12.9%+11.1%
4,096 → 256RDMA128+14.2%+12.0%
16,384 → 512RDMA32+11.9%+10.2%

Every measured row is in results/throughput/throughput.csv in the code repository.

Quickstart

vLLM

scripts/install.sh vllm installs the EchoMoE package with vLLM 0.21, and the package registers this architecture with vLLM. vLLM downloads the checkpoint from the Hub on first use and serves it on one node of 8 GPUs:

git clone https://github.com/McGill-NLP/EchoMoE && cd EchoMoE
scripts/install.sh vllm && . scripts/env.sh vllm
vllm serve McGill-NLP/EchoMoE-Gemma-4-26B-A4B-s4-r768-c1408 \
    --data-parallel-size 8 --enable-expert-parallel \
    --all2all-backend allgather_reducescatter --attention-backend TRITON_ATTN \
    --compilation-config '{"cudagraph_mode": "FULL", "mode": "NONE"}' \
    --max-model-len 32768 --max-num-seqs 256

--max-num-seqs 256 keeps start-up to a few minutes: the folded model's CUDA graph capture grows with the number of concurrent sequences, and at vLLM's default it outlasts the API server's 600-second wait for the engines. The repository's README covers evaluation and multi-node throughput.

Transformers

This repository includes the architecture as remote code, in plain PyTorch without expert parallelism. The bf16 weights fit on one 80 GB GPU.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "McGill-NLP/EchoMoE-Gemma-4-26B-A4B-s4-r768-c1408"
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True, 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