/ Модель

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

Контекст
32 768 токенов
Параметры
2,6 млрд
Размер весов
60,1 ГБ
Лицензия
Apache 2.0
Архитектура
qwen3_moe · MoE
Базовая модель
Qwen3-30B-A3B-SFT-EchoMoE-teacher
Библиотека
transformers
Опубликована
17 ноя 2026

EchoMoE-Qwen3-30B-A3B-s12-r768-c512

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

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

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

Дообученная текстовая модель Qwen3 MoE с механизмом EchoMoE для диалоговой генерации и более эффективного распределённого инференса.

EchoMoE-Qwen3-30B-A3B-s12-r768-c512 — дообученная McGill-NLP языковая модель на архитектуре Qwen3 MoE, предназначенная для генерации текста и диалогов с эффективным обменом данными между экспертами при распределённом запуске. Она основана на Qwen3-30B-A3B-SFT-EchoMoE-teacher и использует сжатые коды dispatch размерностью 768 и combine размерностью 512; эталонное скрытое состояние обновляется каждые 12 слоёв. Модель обучена дистилляцией на 4,3 млрд токенов, имеет 2,6 млрд параметров по метаданным и контекст 32 768 токенов.

Модель принимает текст и генерирует текст, поддерживает диалоговый сценарий и интерфейс вызова инструментов. В измерениях на 32 экспертно-параллельных группах по четырём узлам EchoMoE сокращает межузловой трафик на 66% и повышает пропускную способность до 34,8% на отдельных крупных нагрузках. При этом средний результат на 18 тестах ниже результата исходной модели-учителя на 7,6 пункта; ускорение зависит от размера пакета и может исчезать на небольших нагрузках. Для распределённого обслуживания README описывает запуск с vLLM и специальным плагином EchoMoE; веса bf16 также помещаются на один GPU с 80 ГБ памяти при использовании Transformers. Лицензия — Apache-2.0.

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

  • диалоговый ассистент с распределённым инференсом
  • генерация ответов на инструкции
  • обслуживание текстовой модели на нескольких GPU и узлах
  • ускорение инференса MoE при межузловом обмене экспертами
  • вызов инструментов в диалоговом приложении

Ограничения

На 18 тестах средняя оценка на 7,6 пункта ниже, чем у модели-учителя. Выигрыш в пропускной способности зависит от нагрузки и уменьшается на небольших пакетах; для описанного распределённого запуска требуется поддержка EchoMoE в vLLM.

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

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

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

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

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

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

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

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

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

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

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

Links

Model summary

  • Base model: Qwen3-30B-A3B-Base, 48 layers, 128 experts with 8 active, hidden size 2,048.
  • Teacher: Qwen3-30B-A3B-SFT-EchoMoE-teacher, the base model fine-tuned on Dolci instruction data.
  • EchoMoE configuration: a reference every 12th layer (4 of 48), a 768-dimensional dispatch code and a 512-dimensional combine code.
  • Training: distilled from the teacher on 4.3B tokens, with all weights trained.
  • Context length and precision: 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. "EchoMoE + FP8" also sends the compressed dispatch and combine in FP8.

DomainTeacherEchoMoEEchoMoE + FP8
Knowledge and reasoning77.668.3 (−9.3)68.2 (−9.4)
Math50.745.5 (−5.2)45.2 (−5.5)
Code59.252.1 (−7.1)52.9 (−6.3)
Instruction following55.651.8 (−3.8)52.1 (−3.5)
Average66.959.3 (−7.6)59.3 (−7.6)

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+17.9%+18.9%
1,024 → 128RDMA512+40.7%+28.2%
4,096 → 256RDMA128+34.8%+23.1%
16,384 → 512RDMA32+23.0%+14.7%
4,096 → 256RDMA, 2× slower link128+36.5%+28.2%
4,096 → 256RDMA, 2.5× slower link128+58.8%+35.8%
4,096 → 256TCP8+110.8%+119.5%

Each RDMA row is the largest batch measured. The gain shrinks at smaller batches, down to −5.2% for 128 → 1,024 tokens at 8 requests per GPU. Every measured batch 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-Qwen3-30B-A3B-s12-r768-c512 \
    --data-parallel-size 8 --enable-expert-parallel \
    --all2all-backend allgather_reducescatter --attention-backend FLASHINFER \
    --compilation-config '{"cudagraph_mode": "FULL_DECODE_ONLY", "mode": "NONE"}' \
    --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-Qwen3-30B-A3B-s12-r768-c512"
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 Qwen3's non-thinking values, as the evaluation does 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 Apache 2.0 license, the license of its base model, Qwen3-30B-A3B-Base.

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

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

GPU в ailist

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

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

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

Класс архитектуры
Qwen3MoeFoldedForCausalLM
Ревизия весов
3bc155f

0 моделей