chore(models): split GLM-5.2 into its own model, deprecate GLM 5/5.1 / 将 GLM-5.2 拆分为独立模型,并弃用 GLM 5/5.1#590
Closed
functionstackx wants to merge 1 commit into
Closed
Conversation
GLM-5.2 is a new architecture bucket (743B core MoE / 39B active with IndexShare DSA; the 753B HF metadata figure includes the bundled MTP head), not a point release of GLM-5/5.1 — #588 folded it into the GLM-5 display grouping by mistake. Split glm5.2 into its own GLM-5.2 display model with its own dropdown entry (default category) and /compare slug (glm-5-2), and move the GLM 5/5.1 entry to the Deprecated group (no longer actively benchmarked). Records the 753B MTP-head param trap and the not-a-point-release trap in AGENTS.md. 中文:GLM-5.2 是全新架构分桶(核心 MoE 743B / 激活 39B,采用 IndexShare 稀疏注意力;HF 元数据显示 753B 是因为包含 MTP 头),并非 GLM-5/5.1 的 小版本更新 — #588 误将其并入 GLM-5 显示分组。本次将 glm5.2 拆分为独立 的 GLM-5.2 显示模型(默认分类,含独立下拉项与 /compare slug glm-5-2), 并将 GLM 5/5.1 条目移入"已弃用"分组(不再进行日常基准测试);同时在 AGENTS.md 中记录 753B(含 MTP 头)参数量陷阱与"非小版本更新"陷阱。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GLM-5.2 is not a point release of GLM-5/5.1 — it is a new architecture bucket (
glm_moe_dsawith IndexShare sparse attention, 78 layers; 743B core MoE / 39B active — the 753B HF metadata figure includes the bundled ~10B MTP head, same trap as DeepSeek-R1's 685B). PR #588 foldedglm5.2into theGLM-5display grouping by mistake. This PR:glm5.2into its ownGLM-5.2display modelDB_MODEL_TO_DISPLAY:'glm5.2' → 'GLM-5.2'(own bucket; no re-ingest needed — DB rows were always stored under theglm5.2key, only the display mapping changes)Model.GLM_5_2enum +MODEL_CONFIGentryGLM5.2 743B(categorydefault). Placed aboveGLM_5becauseMODEL_PREFIX_MAPPINGmatches artifact names by substring in insertion order andglm5.2artifact names also containglm5— covered by new unit tests/compare+/compare-per-dollarslugglm-5-2(dbKeys: ['glm5.2']); theglm-5-1slug reverts to['glm5.1', 'glm5']with labelGLM 5/5.1. Existingglm/glm-5aliases stay onglm-5-1, mirroring how the bareminimaxalias stayed on the M2 series when M3 (different architecture) split outKNOWN_MODELS, agentic sibling-nav label, and submissions display-mapping pick upGLM-5.2;/aboutFAQ model list derives fromDB_MODEL_TO_DISPLAYautomaticallyModel.GLM_5) to the Deprecated dropdown group (label reverts toGLM5/5.1 744B) — no longer actively benchmarked, following the gpt-oss precedent in chore(models): move gpt-oss 120B to deprecated / 将 gpt-oss 120B 移至弃用类别 #535zai-org/GLM-5.2) to the verified parameter table and a mislabel-trap bullet (not-a-point-release + 753B-includes-MTP-head)Chinese pages (/zh)
Both
/zh/compareand/zh/compare-per-dollarSEO blurbs updated in the same PR. No new page/tab/post — the new compare slug pages are generated from shared templates that already have their/zhmirrors (compare-ssr-zh.tsuntouched because the English narrative templates are unchanged).Overlay-run support
N/A — this is a model-category/display-mapping change, not a chart feature. Overlay rendering resolves model labels through the same
MODEL_CONFIG/DB_MODEL_TO_DISPLAYmaps, so?unofficialrun=overlays pick up the split automatically.Testing
pnpm typecheck,pnpm lint,pnpm fmt— passpnpm test:unit— 3,063 tests pass, including new coverage:glm5.2prefix-collision parsing (getModelAndSequence/getModelAndSequenceFromArtifact),GLM-5.2own display bucket (constants + app),isModelDeprecated(GLM_5),glm-5-2compare-slug parsing, submissionsglm5.2 → GLM-5.2dropdown-switching.cy.tsgrouping e2e updated:GLM5/5.1 744Bnow asserted under Deprecated中文说明
GLM-5.2 并非 GLM-5/5.1 的小版本更新,而是全新架构分桶(
glm_moe_dsa,采用 IndexShare 稀疏注意力,78 层;核心 MoE 743B / 激活 39B —— HF 元数据显示的 753B 包含约 10B 的 MTP 头,与 DeepSeek-R1 685B 是同类陷阱)。PR #588 误将glm5.2并入GLM-5显示分组。本 PR:glm5.2拆分为独立的GLM-5.2显示模型:DB_MODEL_TO_DISPLAY映射为独立分桶(无需重新摄取数据,DB 行本就存储在glm5.2键下,仅显示映射变更);新增Model.GLM_5_2枚举与MODEL_CONFIG条目GLM5.2 743B(默认分类),且置于GLM_5之上以保证产物名前缀子串匹配的正确性(已补充单元测试);新增/compare与/compare-per-dollar的glm-5-2slug,glm-5-1slug 恢复为仅查询['glm5.1', 'glm5']Model.GLM_5)移入下拉框"已弃用"分组(标签恢复为GLM5/5.1 744B),不再进行日常基准测试,沿用 chore(models): move gpt-oss 120B to deprecated / 将 gpt-oss 120B 移至弃用类别 #535 弃用 gpt-oss 的先例测试:
pnpm typecheck/pnpm lint/pnpm fmt/pnpm test:unit(3,063 个测试)全部通过;新增前缀冲突解析、独立显示分桶、弃用分类与 compare slug 的测试覆盖;已更新下拉分组 e2e。🤖 Generated with Claude Code
Note
Medium Risk
Wide but coordinated model-taxonomy changes (dropdown categories, compare slugs, prefix parsing); regressions could mis-route benchmarks, though new tests target the main collision and mapping paths.
Overview
Treats GLM-5.2 as its own architecture and display model instead of folding
glm5.2into the GLM-5/5.1 bucket.glm5.2→GLM-5.2in shared DB/display maps; newModel.GLM_5_2with default dropdown labelGLM5.2 743B, placed aboveGLM_5so artifact prefix matching does not treatglm5.2asglm5.GLM 5/5.1 (
Model.GLM_5) moves to Deprecated (GLM5/5.1 744B); compareglm-5-1only queriesglm5/glm5.1and a newglm-5-2slug targetsglm5.2alone. EN/ZH compare SEO copy highlights GLM 5.2; AGENTS.md adds parameter counts and a mislabel trap.Tests cover prefix collision, slug parsing, deprecation, submissions URLs, and Cypress expects
GLM5/5.1 744Bunder Deprecated.Reviewed by Cursor Bugbot for commit 3c15315. Bugbot is set up for automated code reviews on this repo. Configure here.