/ Модель

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

Контекст
1 048 576 токенов
Лицензия
MIT
Архитектура
glm5_next · dense
Базовая модель
Sage-S2.1-Flash
Опубликована
25 ноя 2026

sage-s2.1-flash-exlr8-k2-k3-k4

Изображение и текст → текст14 профессий
5 224скачиваний за 30 дней0лайковвеса обновлены25 ноя 2026

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

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

Квантованная сборка Sage-S2.1-Flash для диалоговой генерации и задач зрения на устройствах NVIDIA GB10.

Это многовариантная квантованная сборка Sage-S2.1-Flash от Shanghai Artificial Intelligence Laboratory, подготовленная kindlingai в формате exlr8 v2 с trellis-кодированием pmcgx. Она основана на архитектуре GLM-5.3-Flash: 45 слоёв, включая MoE-слои с 288 маршрутизируемыми экспертами и топ-8 маршрутизацией, а также башню зрения. Экспертные и плотные веса квантованы; башня зрения сохранена в BF16. Доступны варианты K2, K3 и K4 с выбором ширины при загрузке.

Модель предназначена для диалоговой генерации и понимания изображений при обслуживании на устройствах NVIDIA GB10, в том числе в конфигурациях с несколькими узлами. README описывает оценки качества квантованного варианта K4 относительно базовой модели и проверки генерации на задачах программирования, арифметики, логики, структурированного вывода и технических объяснений. Репозиторий распространяется по лицензии MIT.

Для декодирования требуется загрузчик с поддержкой pmcgx и округления E4M3; README указывает kindlingai/gr8 как совместимый движок. Проверка в этом выпуске проводилась только с текстовым вводом; башня зрения включена, но отдельно не тестировалась. Модель не предназначена для обучения.

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

  • диалоговые ответы и объяснения по текстовому запросу
  • генерация и разбор кода на Python и CUDA
  • решение многошаговых арифметических задач
  • логические рассуждения и дедукция
  • генерация ответов в строгом формате JSON
  • анализ изображений в диалоге при использовании совместимого движка

Ограничения

Для декодирования нужен загрузчик с поддержкой pmcgx и округления FP8 E4M3; обычный EXL3-декодер может некорректно прочитать веса. В этом выпуске тестировался только текстовый ввод, а башня зрения отдельно не оценивалась.

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

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

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

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

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

Бенчмарки пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь рядом с другими моделями теста

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Изображение → текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

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

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

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

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

Открыть на Hugging Face

Sage-S2.1-Flash · exlr8 (K2/K3/K4, pmcgx)

A multi-width quantization of Sage S2.1 Flash (Shanghai Artificial Intelligence Laboratory) in the exlr8 v2 format using the pmcgx (V2 L20) trellis codebook across every MoE layer, built for NVIDIA GB10-class unified-memory devices (DGX Spark, ASUS GX10) served on one to four boxes. Every routed expert is stored at three trellis widths (K2, K3, and K4) and every shared expert at K3 and K4, with serving width chosen at load time.

Requires a pmcgx + E4M3-rounding loader. Every MoE layer (layers 3–45) uses the pmcgx V2 L20 codebook (exlr8 FORMAT.md), and every codebook value must be rounded to FP8 E4M3 (round to nearest even, saturating) before applying the side vectors. Current kindlingai/gr8 decodes pmcgx natively. A stock EXL3 decoder, or any loader that only supports mcg or skips E4M3 rounding, will not decode these bytes accurately.

Sage S2.1 Flash uses the GLM-5.3-Flash architecture: 45 layers (0–2 dense, 3–44 MoE), 288 routed experts with top-8 routing plus one shared expert per MoE layer, hidden size 4096, expert intermediate size 2048, an MTP layer 45, and a vision tower. This repository quantizes the routed and shared experts of layers 3–45 (pmcgx V2 L20) and the dense weights of every layer, and carries the vision tower unchanged in BF16.

Engine support

Widths and sizes

widthrouted + shared experts (incl. index)model sizeserves atnote
K278.6 GB (2.0 bpw routed)86.7 GBTP=1fits one 128 GB box
K3117.9 GB (3.0 bpw routed + shared)126.0 GBTP=2high KV headroom on 2 boxes
K4157.0 GB (4.0 bpw routed + shared)165.1 GBTP=2, TP=3, TP=4validated default
  • Model size is everything one copy loads at that width: the experts of layers 3–45 plus the 8.1 GB of dense, vocabulary, and BF16 vision files.
  • Exact per-layer expert file sizes: K4 3,636,527,104 bytes, K3 2,727,411,712 bytes, K2 1,812,004,864 bytes.
  • Total repository size across all three widths, index files, TP=1–4 index slices, dense weights, and vision tower: 362.4 GB (337.5 GiB).
  • Each width is an independent, Hessian-aware (LDLQ) pmcgx encode with refinement; codes do not nest between widths.

Quality

All numbers compare this pmcgx K4 release with the BF16 base model (internlm/Sage-S2.1-Flash) on the exact same token sequences, alongside the prior K4-only mcg release (kindlingai/sage-s2.1-flash-exlr8-k4).

Full-vocabulary KL, top-1, and NLL (offline forward, fp64 log-softmax)

Evaluated across the 41 held-out rows of 2,048 tokens (83,968 positions) and the full 44-row evaluation suite (41 held-out + 3 fixed texts = 90,112 positions, 90,068 next-token NLL positions):

metricpmcgx K4 (this release)prior mcg K4change
mean KL (41 held-out rows)0.08890.0985-9.8%
top-1 agreement (41 held-out rows)91.5%91.0%+0.5 pp
mean KL (all 44 rows, 90,112 pos)0.085540.09453-9.51%
median KL (all 44 rows)0.009960.01085-8.22%
p90 KL (all 44 rows)0.103500.11267-8.14%
p99 KL (all 44 rows)1.085301.23840-12.36%
top-1 agreement (all 44 rows)91.51%91.06%+0.45 pp
NLL / PPL (BF16 ref: 1.8145 / 6.138)1.8127 / 6.127 (dNLL -0.0017)1.8112 / 6.118 (dNLL -0.0032)better than BF16

Across the 44 evaluation sequences, pmcgx K4 achieves lower full-vocabulary KL on 40 of 44 sequences and higher top-1 agreement on 33 of 44 sequences, with zero non-finite values.

NLL change on three fixed texts

Mean next-token NLL over the first 2,048 tokens of three fixed texts (prose, CUDA source, Python source), K4 minus BF16 (lower is better):

textoffline forwardserved by gr8, TP=2
prose+0.0037+0.0076
CUDA-0.0009-0.0021
Python+0.0039+0.0124

Live served by gr8 (TP=2, int4 KV, MTP=2)

Teacher-forced top-20 lumped KL and top-1 agreement of the live TP=2 gr8 glm53f server against BF16:

slicemetricpmcgx K4 (live)prior mcg K4 (live)change
first 10 held-out rows (20,470 pos)top-20 KL0.04490.0485-7.4%
first 10 held-out rows (20,470 pos)top-1 agreement91.4%90.8%+0.5 pp
13-row priority set (26,611 pos)top-20 KL0.04240.0451-6.1% (wins 11/13)
13-row priority set (26,611 pos)top-1 agreement91.5%91.0%+0.4 pp (wins 10/13)
13-row priority set (26,611 pos)served dNLL vs BF16-0.0030 (PPL 6.024 vs 6.042)-0.0017better than BF16

Live greedy generation was verified across 6 domains (Python coding, multi-step arithmetic, logic deduction, strict JSON output, bilingual Chinese/English technical explanation, and multi-node RDMA systems) with fluent, accurate outputs at 40.6–51.0 tok/s single-stream on 2× GB10.

What is in this repository

contentnotes
experts/exlr8-layer-LLL.k{2,3,4}.safetensorspmcgx V2 L20 routed (K2/K3/K4) and shared (K3/K4) expert trellis halves for layers 003–045
experts/exlr8-layer-LLL.index.safetensorsindex, side vectors, and xxhash64 checksums for layer LLL
dense/exlr8-dense-LLL.safetensorsnon-expert weights for layers 000–045 (plus .sha256 sidecars)
dense/exlr8-vocab.safetensorstoken embedding, language-model head, and final norm
dense/vision-bf16.safetensorsvision tower, unquantized BF16 (347 tensors)
config.json, generation_config.json, tokenizer.json, tokenizer_config.json, chat_template.jinja, processor_config.jsonbase model configuration and tokenizer files
tokenization_glm5.py, processing_glm5.pybase model custom tokenizer and processor code
manifests/exlr8-manifest-k{2,3,4}.jsonuniform K2, K3, and K4 manifests (each carries set_id)
index-slices/tp<N>/k<K>/rank<r>.safetensorsper-rank index slices for TP=1–4 across K2, K3, and K4
hashes/SHA256SUMSSHA-256 checksums of the release files

Main dense matrices by encoding:

matricesencoding
attention output (o_proj), q_b_proj, dense MLP (layers 0–2)trellis K4
MLA q_a_proj, kv_a_proj_with_mqa, indexer wq_b and wk, MTP eh_projMXFP8
kv_b_projFP8, block scales
router (mlp.gate), indexer weights_proj, norms, biasesBF16, as shipped

Identifying the weights

The weight set ID is the SHA-256 of the sorted <path> <size> <sha256> lines over all weight files (experts/*.safetensors and dense/*.safetensors). This release's weight set ID is:

228ce709da52f9a22cd06a539f5ed181783be68525105845e0348d9975f8f12e

Every manifest (manifests/exlr8-manifest-k{2,3,4}.json) and every index slice carries this set_id.

How to run with gr8 (TP=2)

Two GB10 boxes on a RoCE fabric. From a kindlingai/gr8 checkout on each box:

./gr8 glm53f up --tp 2 \
  --model https://huggingface.co/kindlingai/sage-s2.1-flash-exlr8-k2-k3-k4 \
  --model-cache /path/to/model-cache \
  --variant k4 \
  --kv-format int4 \
  --peers <head-ip>,<peer-ip> \
  --ips <head-rail1-ip>,<peer-rail1-ip> \
  --ips2 <head-rail2-ip>,<peer-rail2-ip>
  • Pass --variant k3 for higher KV headroom at TP=2, or --variant k2 --tp 1 for single-box serving.
  • Pass --ips and --ips2 when a box has more than two RoCE v2 addresses.
  • gr8 encodes message content as literal text and only the chat template's markers as control tokens, matching Sage's tokenizer requirements (tokenization_glm5.py).

Provenance and validation

Built from internlm/Sage-S2.1-Flash. The configuration, tokenizer, chat template, processor, custom tokenizer code, and BF16 vision tower are preserved from the upstream checkpoint.

All 12,427 experts (111,714 projections across all 43 MoE layers, L003–L045) were independently decoded with a bit-exact pmcgx V2 L20 verifier and audited against BF16 weights and Hessians before packing:

  • 0 hard failures, 0 NaN/Inf values, and 100% strict K4 < K3 < K2 monotonicity across every expert projection.
  • Every packed shard and TP=2 rank slice passed g6load verify with 0 bad chunks across K2 (297,216 chunks), K3 (298,248 chunks), and K4 (298,248 chunks per rank).

Calibration and community quantization

Encoded with Hessian-aware (LDLQ) rounding and refinement against a fixed calibration set of 617 rows of 2,048 tokens (1,263,616 tokens), with 41 held-out rows reserved for evaluation.

Layers 26–45 (5,780 expert pieces) were quantized through distributed community compute on KindlingAI Campfire. Special thanks to the Campfire contributors for this release:

  • adapt-ai-systems (3,676 pieces)
  • y0r-agent (1,514 pieces)
  • coffee-the-dev (590 pieces)

The format's trellis primitives (128×128 Hadamard transform and tile packing order) derive from exllamav3 (MIT).

Intended use and limitations

  • Serving Sage S2.1 Flash on GB10-class devices at TP=1–4.
  • Tested with text input only. The BF16 vision tower is included unmodified but has not been separately benchmarked in this release.
  • Not for training. The router, norms, and small projections keep their shipped precision.

Licence

Sage S2.1 Flash is released by Shanghai Artificial Intelligence Laboratory under the MIT License. This quantization stays under the MIT License: see LICENSE.

Acknowledgements

Built on Sage S2.1 Flash by Shanghai Artificial Intelligence Laboratory (internlm/Sage-S2.1-Flash).

exllamav3 made this possible through their original research on the EXL3 trellis format.

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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

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

0 моделей