Model reference · open weights
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.
Summary of the McGill-NLP/EchoMoE-Gemma-4-26B-A4B-s4-r768-c1408 model card, 2026-11-18
What it is
| Released by | McGill-NLP |
|---|---|
| Released | 2026-11-17 |
| Parameters | 24.6B |
| VRAM | 49.3 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory | |
|---|---|---|---|---|
| 8K each | 32K each | |||
| RTX 3060 12 GB … L40S 48 GB 6 smaller cards | ||||
| A100 80 GB | 20 | 11 | all 256K | 78.2 GB |
| H100 80 GB | 11 | 4 | all 256K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 19 | 7 | all 256K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 25 | 10 | all 256K | 107 GB |
| H200 141 GB | 41 | 16 | all 256K | 138 GB |
| B200 180 GB | 59 | 14 | all 256K | 176 GB |
| 2× RTX 5090 32 GB tensor parallel | 8 | 4 | 242K | 31.0 GB a card |
| 2× L40S 48 GB tensor parallel | 26 | 15 | all 256K | 44.0 GB a card |
| 4× RTX 4090 24 GB tensor parallel | 29 | 17 | all 256K | 23.4 GB a card |
| 4× RTX 3090 24 GB tensor parallel | 29 | 17 | all 256K | 23.4 GB a card |
| Requests at once | 8K tokens each | 32K tokens each |
|---|---|---|
| 1 | 51.4 GB | 52.4 GB |
| 5 | 57.0 GB | 62.0 GB |
| 8 | 61.1 GB | 69.2 GB |
| 16 | 72.2 GB | 88.3 GB |
| 32 | 94.3 GB | 127 GB |
| 64 | 139 GB | 203 GB |
One card, with vLLM's small-card settings.
From the model card
Project page: mcgill-nlp.github.io/EchoMoE
All models: EchoMoE collection
Average score (%) over 18 benchmarks by domain, with the change from the teacher in parentheses. The repository's README lists the benchmarks.
| Domain | Teacher | EchoMoE |
|---|---|---|
| Knowledge and reasoning | 72.5 | 67.7 (−4.8) |
| Math | 41.4 | 37.1 (−4.3) |
| Code | 53.9 | 50.7 (−3.2) |
| Instruction following | 57.3 | 54.1 (−3.2) |
| Average | 61.2 | 56.8 (−4.4) |
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) | Network | Requests per GPU | Gain, BF16 | Gain, FP8 |
|---|---|---|---|---|
| 128 → 1,024 | RDMA | 512 | +7.7% | +9.9% |
| 1,024 → 128 | RDMA | 512 | +12.9% | +11.1% |
| 4,096 → 256 | RDMA | 128 | +14.2% | +12.0% |
| 16,384 → 512 | RDMA | 32 | +11.9% | +10.2% |
Every measured row is in results/throughput/throughput.csv in the code repository.
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.
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))
@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},
}
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.