/ Модель

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

Контекст
1 048 576 токенов
Размер весов
110 ГБ
Лицензия
MIT
Архитектура
glm5_next · dense
Базовая модель
GLM-5.3-Flash
Библиотека
mlx
Опубликована
27 авг 2026

GLM-5.3-Flash-MLX-oQ2-MTP

Изображение и текст → текст12 профессий

Vontra/GLM-5.3-Flash-MLX-oQ2-MTP — это MLX-конверсия и квантованная версия мультимодальной модели GLM-5.3-Flash, разработанной Z.ai.

1 367скачиваний за 30 дней2лайкавеса обновлены8 сен 2026

Бенчмарки

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

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

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

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

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

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

Модель предназначена для генерации текста и изображений, обработки языковых и визуальных запросов, а также локального запуска на компьютерах Apple Silicon через MLX и совместимые компоненты oMLX. Заявлены поддерживаемые языки английский и китайский.

Модель использует архитектуру glm5_next с разреженной Mixture-of-Experts, гибридным линейным и разреженным вниманием и контекстом до 1 048 576 токенов. Применена посттренировочная weight-only-квантизация sensitivity-guided oQ2 со смешанной точностью и эффективным распределением около 2,67 бита на вес. Большинство весов имеют точность Q2 или Q8, отдельные компоненты — Q4, а зрительный энкодер и проектор сохранены в BF16. Репозиторий содержит 22 файла весов общим объёмом около 110 ГБ.

Вариант сохраняет встроенный слой предсказания следующего токена и поддерживает Native MTP с глубиной 1, что может повышать пропускную способность. Однако MTP указан как экспериментальный: в проверенном окружении результаты были связными, но не полностью совпадали с базовым режимом, поэтому для точной детерминированной воспроизводимости его следует отключать. Совместимость проверена с oMLX 0.6.3rc3, MLX 0.32.0, mlx-lm 0.31.3 и mlx-vlm 0.6.3; другие версии могут не поддерживать необходимые пути glm5_next, oQ и Native MTP. Модель распространяется по лицензии MIT.

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

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

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

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

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

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

Открыть на Hugging Face

[!IMPORTANT] Baseline text and image generation pass. Native MTP at depth 1 is experimental in the tested runtime: it produced coherent output and higher throughput, but it was not token-identical to baseline across a 512-token greedy run. Keep MTP disabled when exact deterministic reproducibility matters.

At a glance

ItemValue
RepositoryVontra/GLM-5.3-Flash-MLX-oQ2-MTP
Base modelzai-org/GLM-5.3-Flash
Source revision04c4e9e95c5da8862dced7e5056455116f83a7e0
Source weight formatFP8 E4M3 with 128x128 block scaling
FormatMLX safetensors
QuantisationSensitivity-guided oQ2 mixed precision
Planned effective allocation2.67 bits per weight
Sensitivity sourceRetained 4-bit calibration proxy
Layer sensitivity scores45
Quantised modules683 total: 126 Q2, 3 Q4, and 554 Q8
Mandatory sparse indexers36 projections at Q8 affine, group size 64
Native MTPPreserved, one upstream prediction layer, runtime depth 1
Indexed tensors3,125
Native-MTP entries59
Vision tensors347, all BF16
Weight shards22
Tensor payload110,127,789,756 bytes, 110.128 GB / 102.564 GiB
Weight shard files110,128,198,215 bytes, 110.128 GB / 102.565 GiB
Configured context1,048,576 tokens
Architectureglm5_next, multimodal sparse MoE

oQ recipe

ComponentTreatment
Base allocationQ2 affine, group size 64, 126 saved modules
Sensitivity input45 layer scores measured from the retained 4-bit proxy
Planner Q8 boosts555
Saved Q8 overrides554 modules, group size 64
Saved Q4 overridesThree native-MTP switch-MLP projections, group size 64
Sparse indexer projectionsAll 36 at Q8 affine, group size 64
Routed expertsMixed Q2 and Q8; three native-MTP switch-MLP projections use Q4
Token embedding and output headQ2 affine, group size 64
Vision encoder and projectorBF16
Native MTP prediction layer59 entries; 12 Q8 modules, 3 Q4 modules, and no Q2 modules
MTP fusion projectionlanguage_model.mtp.0.eh_proj kept in BF16
Other non-quantisable tensorsBF16

The planner selected 555 Q8 boosts. The saved checkpoint has 554 Q8 overrides because language_model.mtp.0.eh_proj remains BF16 to protect MTP fusion. This accounts for the one-module difference.

All 36 sparse indexer projections are in the saved Q8 set, including the three native-MTP indexer projections. Every quantised module has matching weight, scale, and bias entries.

This is weight-only post-training quantisation. It does not retrain or fine-tune the upstream model.

Runtime compatibility

GLM-5.3-Flash uses the glm5_next multimodal architecture, hybrid linear and sparse attention, manifold-constrained hyper-connections, and one native next-token prediction layer. The oQ layout also needs per-module quantisation metadata support.

ComponentTested version
oMLX0.6.3rc3, build 2475
MLX0.32.0
mlx-lm0.31.3
mlx-vlm0.6.3
Native-MTP draft depth1

Use these versions for the reported results. Other versions may not understand this checkpoint's glm5_next, oQ, or native-MTP paths.

Download and use

hf download Vontra/GLM-5.3-Flash-MLX-oQ2-MTP \
  --local-dir ./GLM-5.3-Flash-MLX-oQ2-MTP

Add the downloaded directory to a compatible oMLX model directory and refresh the model registry. Start with native MTP disabled. If you choose to test MTP, use draft depth 1 and read the validation note below.

Apple M3 Studio performance

The baseline median comes from three 512-token runs. A separate clean-load pair used the same prompt and settings once per mode to compare MTP directly.

ModeRunsOutput per runSustained throughputDraftedAcceptedAcceptance
MTP disabled3512 tokens6.1440 tok/s mediann/an/an/a
MTP disabled, matched pair1512 tokens6.1287 tok/sn/an/an/a
Native MTP, depth 1, matched pair1512 tokens6.5629 tok/s32318757.9%

The matched MTP run was 7.1% faster. It is one run, not a median. Both modes generated 512 coherent tokens, but their exact greedy token sequences first differed at zero-based output index 313. Treat the speed result as experimental rather than a bit-exact acceleration claim.

Architecture

GLM-5.3-Flash combines KDA linear-attention layers with periodic sparse-attention layers, a sparse mixture-of-experts feed-forward stack, manifold-constrained hyper-connections, and one native next-token prediction layer.

Architecture detailUpstream value
Parameters320B total / 18B active
Language layers45
Linear / sparse-attention layers34 / 11
Dense / sparse-MoE feed-forward layers3 / 42
Routed / active experts288 / 8, plus 1 shared expert
Hidden size4,096
Attention heads64
Vocabulary size154,880
Manifold-constrained hyper-connection width4 streams
Native MTP layers1
Vision encoder24 layers, 1,024 hidden size, 448-pixel input
Configured maximum context1,048,576 tokens

See the official model card, Z.ai overview, and GLM-5 technical report for upstream training, evaluations, intended uses, and safety guidance.

Validation

CheckResult
Safetensors index and shard resolution3,125 entries resolve to 22 final shards
Shard and tensor-header integrityHeader and index key sets match
Saved mixed-precision layouts683 complete weight, scale, and bias triplets; 126 Q2, 3 Q4, and 554 Q8
Planner and saved Q8 reconciliation555 planned; 554 saved because language_model.mtp.0.eh_proj is BF16
Sparse indexer invariantExactly 36 modules; all Q8 affine with group size 64
Native MTP structure59 entries; 12 Q8 modules, 3 Q4 modules, and no Q2 modules
Baseline sustained generation3 x 512 tokens; 6.1440 tok/s median
Native-MTP sustained generation1 x 512 tokens at depth 1; 6.5629 tok/s; 187 of 323 drafts accepted
Fresh MTP-off 512-token parityBoth modes were coherent and deterministic per mode, but exact token parity failed; the first difference was at zero-based output index 313
Image inputStandard one-image chat request with no manual placeholder completed successfully and identified the test image as red and blue

Limitations

  • Mixed-precision quantisation can reduce quality relative to the official checkpoint. The effect depends on the workload and allocation.
  • Proxy-derived sensitivity scores depend on the calibration protocol and do not guarantee BF16-equivalent output.
  • Native MTP helps only when draft acceptance offsets drafting and verification cost. It may be neutral or slower for unpredictable output.
  • The current native-MTP throughput result is one matched run. Compare more runs before drawing a firm performance conclusion.
  • In the tested runtime, native MTP was not token-identical to baseline over 512 greedy output tokens. Leave it disabled for bit-exact deterministic workflows.
  • The configured one-million-token context does not mean every Apple silicon system has enough memory for a full-context request.
  • Image and video prefill have different memory and throughput characteristics from text-only generation.
  • Runtime support for glm5_next, oQ metadata, and native MTP is version-sensitive.

This is a community quantisation, not an official Z.ai release.

Licence and attribution

The upstream model uses the MIT License. The official licence text is included as LICENSE.

Model design, training, upstream evaluations, and documentation belong to Z.ai and the GLM-5 contributors. The oQ conversion, native-MTP preservation, validation, and packaging are provided by Vontra.

If you use this model in research, cite the upstream report:

@misc{glm5team2026glm5,
  title        = {GLM-5: from Vibe Coding to Agentic Engineering},
  author       = {GLM-5-Team and others},
  year         = {2026},
  eprint       = {2602.15763},
  archivePrefix= {arXiv},
  primaryClass = {cs.LG},
  url          = {https://arxiv.org/abs/2602.15763}
}

Choose for your Mac

64GB Macs · 128GB Macs · 256GB Macs

No measured memory tier is assigned here. The collections use published M3 Studio peaks with at least 25% nominal headroom; fit on other Macs is an estimate, and full context is not guaranteed. Start with short context and one request.

Runtime and evidence

The exact tested oMLX application version is not recorded here; a library version is not an app version. The original performance tables retain their benchmark conditions and speed figures; this documentation update adds no new test results.

Quick start and demo prompt

hf download Vontra/GLM-5.3-Flash-MLX-oQ2-MTP --local-dir ./models/GLM-5.3-Flash-MLX-oQ2-MTP

Add the downloaded folder to oMLX model directories, refresh the list, and follow this card's architecture and MTP compatibility requirements before loading.

Try this in a new chat with a 128-token output limit:

Explain why the sky looks blue in three short sentences.

This is a demo prompt to try, not a recorded successful run; a captured demonstration for this documentation update is not yet available.

Follow Vontra for new Apple Silicon releases and fixes.

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

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

GPU в ailist

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

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

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

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

0 моделей