Model reference · open weights

EchoMoE-Moonlight-16B-A3B-s4-r512-c1024

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

EchoMoE-Moonlight-16B-A3B-s4-r512-c1024 is an open-weight language model from McGill-NLP. EchoMoE-Moonlight-16B-A3B-s4-r512-c1024 (BF16) weighs 30.8 GB; the smallest configuration that runs it is L40S 48 GB.

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

  • EchoMoE-Moonlight-s4-r512-c1024 is a 15.4B parameter text generation model developed by McGill-NLP that applies activation compression to the Moonlight-16B-A3B base model.
  • It is designed to reduce inter-node communication in expert parallelism by sending compressed differences from a reference hidden state.
  • The model supports a context length of 8192 tokens, operates in English, and is released under the MIT license.

Summary of the McGill-NLP/EchoMoE-Moonlight-16B-A3B-s4-r512-c1024 model card, 2026-11-18

What it is

Released byMcGill-NLP
Released2026-11-17
Parameters15.4B
VRAM30.8 GB for the weights

What it runs on

Memory and cards for EchoMoE-Moonlight-16B-A3B-s4-r512-c1024 (BF16)

30.8 GBweights, file size
31 MBcache per 1K tokens
1.2 GBruntime overhead, at least
8,192 tokenscontext max
CardRequests at onceContext maxMemory
8K each
RTX 3060 12 GB … RTX 5090 32 GB
5 smaller cards
L40S 48 GB46all 8K44.0 GB
A100 80 GB181all 8K78.2 GB
H100 80 GB158all 8K78.1 GB
RTX PRO 6000 Blackwell 96 GB219all 8K93.8 GB
DGX Spark (GB10) 128 GB unified272all 8K107 GB
H200 141 GB393all 8K138 GB
B200 180 GB533all 8K176 GB
2× RTX 4090 24 GB
tensor parallel
26all 8K23.4 GB a card
2× RTX 3090 24 GB
tensor parallel
26all 8K23.4 GB a card
2× RTX 5090 32 GB
tensor parallel
56all 8K31.0 GB a card
Memory needed at each load
Requests at once8K tokens each
132.3 GB
533.3 GB
834.0 GB
1636.1 GB
3240.2 GB
6448.3 GB

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

From the model card

What McGill-NLP says about EchoMoE-Moonlight-16B-A3B-s4-r512-c1024

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 Moonlight-16B-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 while scoring 5.9 points below the uncompressed teacher's average over 18 benchmarks.

Links

Model summary

  • Base model: Moonlight-16B-A3B, 27 layers, 64 routed experts with 6 active and 2 shared experts, hidden size 2,048.
  • Teacher: Moonlight-16B-A3B-SFT-EchoMoE-teacher, the base model fine-tuned on Dolci instruction data.
  • EchoMoE configuration: a reference every 4th MoE layer (7 of 26), 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 8,192 tokens, bf16.
  • Software: the accuracy results use vLLM 0.21 with the EchoMoE plugin. 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 reasoning62.956.0 (−6.9)
Math34.731.4 (−3.3)
Code47.039.6 (−7.4)
Instruction following51.347.0 (−4.3)
Average53.047.1 (−5.9)

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-Moonlight-16B-A3B-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 8192 --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-Moonlight-16B-A3B-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 MIT license, the license of its base model, Moonlight-16B-A3B.

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