/ Модель

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

Контекст
1 048 576 токенов
Параметры
30,4 млрд
Размер весов
428 ГБ
Лицензия
Своя лицензия
Архитектура
glm_moe_dsa · dense
Базовая модель
GLM-5.3
Библиотека
mlx
Опубликована
28 авг 2026

GLM-5.3-MLX-mixed-4_8bit

Генерация текстаТекст → текст13 профессий

GLM-5.3-MLX-mixed-4_8bit — сборка модели GLM-5.3 от zai-org, адаптированная PipeNetwork для MLX и Apple Silicon.

606скачиваний за 30 дней2лайкавеса обновлены28 авг 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

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

Это генеративная текстовая модель на архитектуре Mixture-of-Experts glm_moe_dsa с 744 млрд параметров, 256 экспертами и маршрутизацией top-8. В архитектуре используется MLA со sparse attention в стиле DeepSeek-V3.2. Модель предназначена для генерации текста и локального инференса на компьютерах Apple Silicon.

Экспертные слои занимают около 724,8 млрд параметров и квантизованы в 4 бита, тогда как attention, общие эксперты, плотные слои, эмбеддинги и lm_head хранятся в 8 битах; маршрутизаторы, нормы и индексатор сохранены в исходной точности. Размер файлов составляет около 427,8 ГБ, для запуска рекомендуется Mac с 512 ГБ оперативной памяти. Сборка использует библиотеку MLX и требует специального runtime-файла glm_moe_dsa.py; указанный README рекомендует запуск через mlx-lm с включённым trust remote code.

По измерениям на wikitext-2 модель имеет perplexity 2,7420, что лучше равномерной 4-битной версии, хотя смешанная квантизация требует примерно на 9 ГБ больше места. Основные ограничения — крайне высокие требования к памяти, отсутствие multi-token-prediction layer и возможное снижение качества на контекстах свыше 2048 токенов из-за особенностей sparse indexer; заявленная длина контекста в README не указана. Лицензия — GLM-5.3 license, унаследованная от исходной модели; точные условия приведены в файле LICENSE.

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

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

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

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

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

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

Открыть на Hugging Face

GLM-5.3-MLX-mixed-4_8bit

MLX (Apple Silicon) build of GLM-5.3 — 744B-parameter glm_moe_dsa MoE (256 experts, top-8; MLA with DeepSeek-V3.2-style sparse attention) — quantized to 4-bit experts / 8-bit everything else.

These files are modified: converted from the upstream bfloat16 release (GLM-5.3-BF16) to MLX and quantized; the architecture is unchanged. The multi-token-prediction layer (78) is not included.

Runtime — read this

This checkpoint bundles glm_moe_dsa.py (declared via model_file) and needs it:

pip install -U mlx-lm
mlx_lm.generate --model pipenetwork/GLM-5.3-MLX-mixed-4_8bit --trust-remote-code --prompt "..." --max-tokens 300

mlx-lm's own glm_moe_dsa builds a lightning indexer on all 78 layers, but GLM-5.2/5.3 ship indexer weights on 21 (indexer_types: the other 57 "shared" layers reuse the previous full layer's top-k selection). A strict load of the release fails with 285 missing parameters; mlx_lm.load loads leniently and leaves those 57 indexers at random initialisation. Prompts up to 2048 tokens are unaffected (the indexer is bypassed below index_topk); beyond that, 57 layers attend to keys chosen by random projections. The bundled runtime implements the schedule as the reference does, plus the reference's fp32 indexer scores and router logits and the indexer LayerNorm epsilon. Tiny-config parity against transformers 5.16 is 4e-7 with the sparse path live, cached decode exact; strict loading of this checkpoint reports zero missing and zero unexpected tensors. Details and tests: https://github.com/PipeNetwork/glm53-mlx.

Size and what is quantized

427.8 GB on disk. RAM: 512 GB, tight.

groupshare of parametersthis build
routed experts (switch_mlp, 75 layers × 256)724.8B (97.5%)4-bit, group 64
attention (MLA), shared experts, dense layers 0–2, embeddings, lm_head18.4B (2.5%)8-bit, group 64
lightning indexer (21 layers), MoE router + correction bias, norms0.3Bas stored (bf16 / fp32)

Source precision: the FP8 release is a lossy derivative of the bf16 one (dequantized FP8 weights differ from bf16 by up to 1.6e-2 on values of 0.46 — half an e4m3 step). The ladder row fp8 is the FP8 release itself measured against bf16: its error is the floor any FP8-sourced build inherits.

Quality

Two measurements, because at 744B most of the ladder cannot be loaded on a 512 GB machine:

Per-layer divergence vs bf16 (scripts/eval_ladder.py): every decoder layer run in bf16 and in each recipe on identical inputs (16,384 tokens of wikitext-2), teacher-forced (each layer sees bf16 inputs — isolates its own damage) and free-running (each recipe feeds itself — what inference does). Relative L2 error of the layer output; lower is better.

recipeteacher-forced (mean over layers)free-running (final layer)cosine (final)
8bit0.006850.131190.98945
6bit0.014650.167360.98389
5bit0.026510.225210.97272
4bit0.051610.357400.93390
mixed-4_8bit0.025240.249510.96710
mixed-3_6bit0.052420.423800.90624
fp80.017410.173210.98320

Perplexity on wikitext-2 (test), 288,627 tokens in 141 windows of 2048, for the builds that fit this machine, scored on identical windows:

buildsizeperplexity [95% CI]
4bit418.6 GB2.8636 [2.6681, 3.0714]
mixed-4_8bit427.8 GB2.7420 [2.5533, 2.9477]
mixed-3_6bit332.6 GB3.0338 [2.8366, 3.2386]
REAP25-4bit316.6 GB3.2872 [3.0703, 3.5184]
REAP37-4bit267.2 GB3.8517 [3.6212, 4.0937]
REAP50-4bit214.7 GB5.0295 [4.7571, 5.3137]

Recommendation. For a 512 GB Mac, mixed 4/8-bit (427.7 GB): perplexity 2.7420, a paired 4.3% better than uniform 4-bit (ratio 0.9575 [0.9537, 0.9612], better on 98.6% of windows) for 9 GB more — the 2.5% of non-expert weights are worth their 8 bits, as on every model we have measured. Uniform 4-bit (418.6 GB) is the fallback when those 9 GB matter. Mixed 3/6-bit (332.6 GB) is the 384 GB-class option, at a real cost: 3.0338, +5.9% over 4-bit and +10.6% over mixed 4/8 — it leads the ladder for the first ten layers and then 3-bit expert damage compounds. Among the builds that cannot be run here, the ladder puts 8-bit closest to bfloat16 (free-running error 0.131), then 6-bit (0.167); the upstream FP8 release scores 0.173, between 6-bit and 5-bit, which is why these are converted from the bf16 release. 5-bit (0.225) sits just above mixed 4/8 (0.250) at 100 GB more.

Greedy generation (a collapse detector, not a ranking) is coherent on every published build.

License

GLM-5.3 license, as the upstream model. Port code: https://github.com/PipeNetwork/glm53-mlx.

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

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

GPU в ailist

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

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

MLX-модели работают только на Apple Silicon, на GPU NVIDIA они не запускаются.

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

0 моделей