/ Модель

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

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

GLM-5.3-MXFP4

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

OneNexus/GLM-5.3-MXFP4 — квантизированная версия полноразмерной модели GLM-5.3, разработанной Z.ai и основанной на исходном контрольном пункте zai-org/GLM-5.3-BF16.

3 352скачиваний за 30 дней4лайкавеса обновлены9 сен 2026

Бенчмарки

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

Тесты пользователейпока нет

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

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

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

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

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

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

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

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

Модель предназначена для генерации текста и диалоговых сценариев; входом и выходом служит текст. В метаданных заявлены английский и китайский языки, архитектура GlmMoeDsaForCausalLM и поддержка pipeline text-generation.

Модель использует MoE-архитектуру GLM-5.3 с DSA. Весовые параметры маршрутизируемых MoE-экспертов квантизированы в формате OCP MXFP4 E2M1 с блочным масштабированием 1×32, тогда как внимание, DSA-проекции, маршрутизатор, общие MLP-проекции, lm_head и отдельные компоненты сохранены в BF16. Размер индексированных весов составляет около 407,92 ГиБ в 282 шардах, что существенно меньше исходной BF16-версии. Валидация выполнена с контекстом до 1 048 576 токенов.

К сильным сторонам относятся заметное сокращение объёма весов, совместимость с готовым рецептом InferenceX/SGLang и оптимизация для AMD Instinct MI350 с поддержкой EAGLE, DSA, MXFP4 MoE, FP8 KV-кэша и HiCache. Ограничения связаны с узкой инфраструктурой валидации: заявлена конфигурация из четырёх GPU AMD Instinct MI350 и ROCm-стек с конкретной версией SGLang; производительность и качество на другом оборудовании или в других средах могут отличаться. Модель распространяется по лицензии glm-5.3, обозначенной в README как license: other.

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

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

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

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

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

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

Открыть на Hugging Face

GLM-5.3-MXFP4

Model Overview

  • Model architecture: full GLM-5.3 (GlmMoeDsaForCausalLM)
    • Input: text
    • Output: text
  • Source checkpoint: zai-org/GLM-5.3-BF16, revision 304b8051cfb2b260b61ce0cbe330e02a98e73639
  • Validated hardware: 4× AMD Instinct MI350 GPUs (gfx950)
  • Validated runtime: stock InferenceX/SGLang ROCm path
    • SGLang image tag lmsysorg/sglang-rocm:v0.5.19-rocm720-mi35x-20260908
    • TP4/EP4, EAGLE MTP, TileLang DSA, AITER MXFP4 MoE, FP8 E4M3 KV cache, and HiCache
    • AMD Quark 0.12.post1+1b229f7 checkpoint format

This is the first evaluated OneNexus MXFP4 release for the full GLM-5.3 model. The promoted checkpoint’s internal candidate name is Strong7. It was quantized from the BF16 checkpoint, not from the published FP8 checkpoint.

The 282 model shards contain 438,001,945,864 bytes (407.92 GiB) of indexed model weights. This is 42.04% smaller than the official GLM-5.3 FP8 checkpoint and 70.93% smaller than the BF16 source.

Model Quantization

AMD Quark applies OCP MXFP4 E2M1 quantization to the routed MoE expert weights. Weights use static 1×32 block scaling with E8M0 scales; expert activations are quantized dynamically with the same 1×32 layout. No calibration dataset is required for the initial MXFP4 conversion.

The following paths remain in BF16:

  • attention and DSA projections;
  • router gates, dense/shared MLP projections, and lm_head;
  • the MTP layer, layer 78.

Strong7 additionally applies a checkpoint-only, folded-intermediate SmoothQuant refinement to seven routed experts in layer 6: expert IDs 16, 96, 103, 159, 195, 208, and 253. The transform preserves MXFP4 storage and requires no custom runtime operation. Relative to the initial Quark conversion, only 28 tensors across four shards change; 115,874 non-target tensors remain unchanged.

The Hugging Face metadata uses normalized model.layers.* module names and the same Quark MXFP4 convention as amd/GLM-5.2-MXFP4. The checkpoint keeps the glm_moe_dsa model type, GlmMoeDsaForCausalLM architecture, 282-shard layout, and native Quark weight/scale pairs expected by the stock SGLang loader.

The reference Quark recipe is:

cd Quark/examples/torch/language_modeling/llm_ptq/
python quantize_quark.py \
  --model_dir zai-org/GLM-5.3-BF16 \
  --output_dir GLM-5.3-MXFP4 \
  --quant_scheme mxfp4 \
  --exclude_layers "*self_attn*" "*mlp.gate" "*lm_head" \
    "*mlp.gate_proj" "*mlp.up_proj" "*mlp.down_proj" \
    "*layers.78.*" \
  --file2file_quantization

Strong7 adds the targeted folded SmoothQuant refinement described above. Machine-readable release details are in mxfp4_smoothquant_optimization.json; the exact quantization exclusions and tensor format are in config.json.

InferenceX Drop-in Compatibility

This checkpoint was validated as a drop-in weight replacement in the stock InferenceX GLM MXFP4 serving recipe. During validation, only the model path, served-model name, chat-template path under the model directory, and listening port changed. The image layers and configuration, environment, TP4/EP4 topology, EAGLE settings, HiCache settings, KV format, DSA backends, and all other serving flags were identical. No SGLang source overlay was mounted.

Deployment

Stock InferenceX/SGLang recipe on four MI350 GPUs

hf download OneNexus/GLM-5.3-MXFP4 \
  --local-dir "$PWD/GLM-5.3-MXFP4"


docker run --rm \
  --device=/dev/kfd \
  --device=/dev/dri \
  --security-opt seccomp=unconfined \
  --security-opt label=disable \
  --ipc=host \
  --shm-size 32g \
  -p 30000:30000 \
  -v "$PWD/GLM-5.3-MXFP4:/model:ro" \
  -e ROCR_VISIBLE_DEVICES=0,1,2,3 \
  -e SGLANG_USE_AITER=1 \
  -e SGLANG_SET_CPU_AFFINITY=1 \
  -e SGLANG_USE_ROCM700A=1 \
  -e SGLANG_MOE_PADDING=1 \
  -e SGLANG_ROCM_DISABLE_LINEARQUANT=0 \
  -e SGLANG_ROCM_FUSED_DECODE_MLA=1 \
  -e SGLANG_OPT_USE_TOPK_V2=false \
  -e NCCL_MIN_NCHANNELS=112 \
  -e ROCM_QUICK_REDUCE_QUANTIZATION=INT8 \
  lmsysorg/sglang-rocm:v0.5.19-rocm720-mi35x-20260908 \
  sglang serve \
    --model-path /model \
    --served-model-name glm-5.3-mxfp4 \
    --tp 4 \
    --ep-size 4 \
    --speculative-algorithm EAGLE \
    --speculative-num-steps 3 \
    --speculative-eagle-topk 1 \
    --speculative-num-draft-tokens 4 \
    --enable-hierarchical-cache \
    --hicache-ratio 1.5 \
    --hicache-write-policy write_through \
    --hicache-io-backend direct \
    --hicache-mem-layout page_first_direct \
    --page-size 64 \
    --trust-remote-code \
    --context-length 1048576 \
    --dsa-prefill-backend tilelang \
    --dsa-decode-backend tilelang \
    --chunked-prefill-size 131072 \
    --max-prefill-tokens 16384 \
    --mem-fraction-static 0.80 \
    --cuda-graph-max-bs 2 \
    --max-running-requests 2 \
    --watchdog-timeout 1800 \
    --kv-cache-dtype fp8_e4m3 \
    --moe-runner-backend auto \
    --chat-template /model/chat_template.jinja \
    --reasoning-parser glm45 \
    --tool-call-parser glm47 \
    --mm-feature-transport cpu \
    --host 0.0.0.0 \
    --port 30000

The loader auto-detects quantization=quark; an explicit quantization flag is not required for the validated recipe.

Evaluation

Agentic benchmarks

Independent evaluations were run on AMD Instinct MI355X infrastructure using the official benchmark harnesses and sampling settings.

DeepSWE v1.1

DeepSWE was evaluated with the official mini-swe-agent harness, temperature=0.95, top_p=1.0, a 6-hour task timeout, and a 400K context limit. The table reports the multi-run score and the reported variation.

Model / referencePass@1
DataCurve official69.0% ± 3.0%
GLM-5.3 FP870.6% ± 4.9%
GLM-5.3 MXFP468.9% ± 4.0%

Terminal-Bench 4.0

Model / endpointPass@3
Official GLM-5.3 API55.87%
GLM-5.3 MXFP455.87%

SGL-eval accuracy (16K output cap)

This MXFP4 release and the BF16 oracle were evaluated with sgl-eval using temperature=0, seed=0, reasoning_effort=max, and a 16,384-token maximum output limit. The MXFP4 endpoint used the stock InferenceX recipe above on four MI350 GPUs. “16K” below is the maximum output-token limit, not the input-context limit.

Definitions:

  • Completed: requests with a recorded evaluator result.
  • Raw accuracy: correct ÷ completed.
  • Truncated: requests ending because the maximum output-token limit was reached.
  • Excluding truncation: correct ÷ (completed − truncated).
  • Recovery: MXFP4 accuracy ÷ BF16 accuracy.

Results

BenchmarkModelCompletedCorrectRaw accuracyTruncatedExcluding truncationRecovery (raw / excl. trunc.)
GSM8K, flexible extractBF16 oracle1,319/1,3191,28897.65%2 (0.15%)1,288/1,317 = 97.80%—
GSM8K, flexible extractMXFP41,319/1,3191,28697.50%2 (0.15%)1,286/1,317 = 97.65%99.84% / 99.84%
MMLUBF16 oracle500/50044689.20%32 (6.40%)446/468 = 95.30%—
MMLUMXFP4500/50044388.60%34 (6.80%)443/466 = 95.06%99.33% / 99.75%
GPQABF16 oracle198/19810754.04%87 (43.94%)107/111 = 96.40%—
GPQAMXFP4198/19810553.03%91 (45.96%)105/107 = 98.13%98.13% / 101.80%

Across all 2,017 questions, BF16 scores 1,841 correct and MXFP4 scores 1,834. The MXFP4 release therefore recovers 99.62% of the BF16 combined correct-count rate.

Among rows where both MXFP4 and BF16 produce parsed answers, selected-answer agreement is:

  • GSM8K: 1,303/1,316 = 99.01%;
  • MMLU: 446/450 = 99.11%;
  • GPQA: 88/89 = 98.88%.

The paired row-identity SHA-256 values are 847cdb1e2b395e2542ac293f4abbb76a5a6614458ec6dfe7da8ae7e3032034f7 for GSM8K, cd7e1e554596ede9b565164f69cce2ef6b7b977202bb4674a519c82c1d6842ab for MMLU, and e40093cba458dad6ba216ff3aa83516250627f3463f5188786e7c71d3b0c1565 for GPQA.

Reproduction

After starting the endpoint, install sgl-eval and run:

sgl-eval run gsm8k \
  --num-examples 1319 \
  --num-threads 32 \
  --max-tokens 16384 \
  --temperature 0 \
  --seed 0 \
  --reasoning-effort max \
  --base-url http://localhost:30000/v1 \
  --model glm-5.3-mxfp4

sgl-eval run mmlu \
  --num-examples 500 \
  --num-threads 32 \
  --max-tokens 16384 \
  --temperature 0 \
  --seed 0 \
  --reasoning-effort max \
  --base-url http://localhost:30000/v1 \
  --model glm-5.3-mxfp4

sgl-eval run gpqa \
  --num-examples 198 \
  --num-threads 16 \
  --max-tokens 16384 \
  --temperature 0 \
  --seed 0 \
  --reasoning-effort max \
  --base-url http://localhost:30000/v1 \
  --model glm-5.3-mxfp4

For a strict paired comparison, reuse one frozen dataset artifact for BF16 and MXFP4 rather than relying on the same seed to recreate the same question mapping.

Limitations

  • This is a post-training MXFP4 checkpoint. It can differ numerically and behaviorally from BF16, especially on long reasoning traces near an output-token cap.
  • Validation used the stock SGLang ROCm/AITER path described above. Other engines, hardware, and kernel implementations require independent compatibility and accuracy checks.

License

This checkpoint is distributed under the source model’s GLM-5.3 license. See LICENSE and the GLM-5.3-BF16 model card for source-model details and citation information.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей