Model reference · open weights

Kanana-2-30B-A3B-EchoMoE-s4-r512-c1024

LLMs McGill-NLP Text gen · MoE 1 build Its own licence terms 0 dl/mo

Kanana-2-30B-A3B-EchoMoE-s4-r512-c1024 is an open-weight language model from McGill-NLP. Kanana-2-30B-A3B-EchoMoE-s4-r512-c1024 (BF16) weighs 59.2 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.

  • Kanana-2-EchoMoE-s4-r512-c1024 is a 29.6B parameter text generation model developed by McGill-NLP that applies the EchoMoE method to reduce communication overhead in expert parallelism.
  • It supports a context length of 32,768 tokens and operates in English.
  • The model is released under the Kanana License Agreement.

Summary of the McGill-NLP/Kanana-2-30B-A3B-EchoMoE-s4-r512-c1024 model card, 2026-11-18

What it is

Released byMcGill-NLP
Released2026-11-17
Parameters29.6B
VRAM59.2 GB for the weights

What it runs on

Memory and cards for Kanana-2-30B-A3B-EchoMoE-s4-r512-c1024 (BF16)

59.2 GBweights, file size
55 MBcache per 1K tokens
976 MBruntime overhead, at least
32,768 tokenscontext max
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB … L40S 48 GB
6 smaller cards
A100 80 GB399all 32K78.2 GB
H100 80 GB287all 32K78.1 GB
RTX PRO 6000 Blackwell 96 GB6315all 32K93.8 GB
DGX Spark (GB10) 128 GB unified9323all 32K107 GB
H200 141 GB16140all 32K138 GB
B200 180 GB24160all 32K176 GB
2× L40S 48 GB
tensor parallel
297all 32K44.0 GB a card
4× RTX 4090 24 GB
tensor parallel
164all 32K23.4 GB a card
4× RTX 3090 24 GB
tensor parallel
164all 32K23.4 GB a card
4× RTX 5090 32 GB
tensor parallel
338all 32K31.0 GB a card
Memory needed at each load
Requests at once8K tokens each32K tokens each
160.6 GB62.0 GB
562.4 GB69.2 GB
863.8 GB74.7 GB
1667.4 GB89.2 GB
3274.7 GB118 GB
6489.2 GB176 GB

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

From the model card

What McGill-NLP says about Kanana-2-30B-A3B-EchoMoE-s4-r512-c1024

Read the model card

TL;DR

Powered by Kanana.

  • 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 Kanana-2-30B-A3B, with a reference every 4 MoE layers, a 512-dimensional dispatch code and a 1024-dimensional combine code.
  • It sends 50% fewer inter-node bytes and improves throughput by 14.6% at expert parallel 32 over 4 nodes, while scoring 2.4 points below the uncompressed teacher's average over 18 benchmarks.

Links

Model summary

  • Base model: kanana-2-30b-a3b-base-2601, 48 layers, 128 routed experts with 6 active and 2 shared experts, hidden size 2,048.
  • Teacher: Kanana-2-30B-A3B-SFT-EchoMoE-teacher, the base model fine-tuned on Dolci instruction data.
  • EchoMoE configuration: a reference every 4th MoE layer (12 of 47), a 512-dimensional dispatch code and a 1024-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 reasoning68.266.5 (−1.7)
Math41.537.9 (−3.6)
Code53.449.5 (−3.9)
Instruction following53.052.5 (−0.5)
Average58.556.1 (−2.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+12.5%+10.8%
1,024 → 128RDMA512+14.9%+16.0%
4,096 → 256RDMA128+14.6%+14.1%
16,384 → 512RDMA32+10.7%+10.3%

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/Kanana-2-30B-A3B-EchoMoE-s4-r512-c1024 \
    --data-parallel-size 8 --enable-expert-parallel \
    --all2all-backend allgather_reducescatter --attention-backend FLASH_ATTN_MLA \
    --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/Kanana-2-30B-A3B-EchoMoE-s4-r512-c1024"
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 Kanana License Agreement, the license of its base model, kanana-2-30b-a3b-base-2601.

Powered by Kanana. This model is a Derivative Work of Kanana-2-30B-A3B under the Kanana License Agreement, and its weights, configuration and code are modified from Kakao's release. Its use must comply with applicable laws and Kakao's [Guidelines for Responsible AI](https://www.kakaocorp.com/page/res

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