/ Модель

Характеристики

Контекст
262 144 токена
Параметры
1,9 млрд
Размер весов
55,6 ГБ
Лицензия
Своя лицензия
Архитектура
nemotron_h · dense
Библиотека
transformers
Опубликована
17 ноя 2026

EchoMoE-Nemotron-3.5-Lightning-30B-A3B-s4-r768-c1408

Генерация текстаТекст → текст13 профессий
684скачиваний за 30 дней0лайковвеса обновлены18 ноя 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Модель McGill-NLP на базе Nemotron с EchoMoE для диалоговой генерации текста и снижения межузлового обмена данными при параллелизме экспертов.

EchoMoE-Nemotron-3.5-Lightning-30B-A3B-s4-r768-c1408 — исследовательская языковая модель McGill-NLP для генерации текста и диалогов. Она основана на дообученной инструкциями модели Nemotron-3.5-Lightning-30B-A3B-SFT-EchoMoE-teacher и использует EchoMoE для сжатия обмена данными между экспертами при параллельной обработке. Модель имеет архитектуру Nemotron-H с Mamba-2, слоями внимания и MoE; в конфигурации EchoMoE используются опорное представление через каждые четыре MoE-слоя, код диспетчеризации размерности 768 и код объединения размерности 1408. В метаданных указано 1,9 млрд параметров и контекст до 262 144 токенов; в README оценка проведена на контексте 32 768 токенов.

Модель предназначена для диалоговых ответов, рассуждений, математических задач и генерации кода. По данным README, она передаёт на 48% меньше межузловых данных, чем несжатая модель-учитель, при среднем результате на 4,5 процентного пункта ниже на 18 тестах. README описывает обучение дистилляцией на 4,3 млрд токенов с обучением всех весов. Для воспроизведения приведённых результатов рекомендуется vLLM с плагином EchoMoE; реализация Transformers без Mamba-SSM может давать отличающиеся оценки. Указана лицензия other, её конкретные условия следует проверять в репозитории модели.

Сценарии применения

  • диалоговые ответы на запросы пользователя
  • решение математических задач
  • ответы на вопросы по общим знаниям
  • генерация и дополнение кода
  • обслуживание языковой модели через vLLM с параллелизмом экспертов

Ограничения

Средний результат на 18 тестах на 4,5 процентного пункта ниже модели-учителя; разрыв особенно заметен на математических задачах. Реализация Transformers без ядер mamba-ssm может давать иные логарифмические вероятности и результаты, чем vLLM.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Для каких профессий подходит13

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

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 Nemotron-3.5-Lightning-30B-A3B, with a reference every 4 MoE layers, a 768-dimensional dispatch code and a 1408-dimensional combine code.
  • It sends 48% fewer inter-node bytes while scoring 4.5 points below the uncompressed teacher's average over 18 benchmarks.

Links

Model summary

  • Base model: NVIDIA-Nemotron-3.5-Lightning-30B-A3B-Base-BF16, 52 Mamba-2, attention and MoE layers, 128 routed experts with 6 active and 1 shared expert, hidden size 2,688.
  • Teacher: Nemotron-3.5-Lightning-30B-A3B-SFT-EchoMoE-teacher, the base model fine-tuned on Dolci instruction data.
  • EchoMoE configuration: a reference every 4th MoE layer (6 of 23), 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. 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 reasoning71.667.9 (−3.7)
Math50.541.7 (−8.8)
Code53.051.4 (−1.6)
Instruction following55.054.1 (−0.9)
Average62.858.3 (−4.5)

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-Nemotron-3.5-Lightning-30B-A3B-s4-r768-c1408 \
    --data-parallel-size 8 --enable-expert-parallel \
    --all2all-backend allgather_reducescatter --attention-backend FLASHINFER \
    --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-Nemotron-3.5-Lightning-30B-A3B-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))

With transformers, this model's log-probabilities differ from vLLM's more than for the other EchoMoE models. Without the mamba-ssm kernels installed, transformers 5.8.1 runs the Mamba-2 layers in plain PyTorch. On ARC-Challenge (5-shot) this model scores 2.3 points below its vLLM score, and the uncompressed teacher scores 0.9 points below. Use vLLM to reproduce the reported numbers.

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},
  eprint        = {2611.22215},
  archivePrefix = {arXiv},
  url           = {https://arxiv.org/abs/2611.22215},
}

License

This model is released under the OpenMDW License 1.1, the license of its base model, NVIDIA-Nemotron-3.5-Lightning-30B-A3B-Base-BF16. The LICENSE file keeps NVIDIA's copyright notice.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Нельзя запустить

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

Класс архитектуры
NemotronHFoldedForCausalLM
Ревизия весов
c3af515

0 моделей