Skip to content

Add the exact GLM-5.2 training contract - #35

Draft
kiddyboots216 wants to merge 5 commits into
codex/oss-upstream-stack-p5-v3-20260730from
codex/glm52-oss-clean-20260803
Draft

Add the exact GLM-5.2 training contract#35
kiddyboots216 wants to merge 5 commits into
codex/oss-upstream-stack-p5-v3-20260730from
codex/glm52-oss-clean-20260803

Conversation

@kiddyboots216

Copy link
Copy Markdown
Contributor

Summary

  • add native GLM-5.2 FP8 checkpoint loading and the exact trainer forward path
  • make bit-relevant GLM-5.2 numerical choices structural, with fail-closed explicit overrides
  • add canonical logical-contributor MoE reduction and topology-aware transport
  • reject the unsupported distributed folded-LoRA path until gradient ownership is explicit

This PR is intentionally stacked on #23.

Validation

  • 138 passed, 31 skipped, 20 deselected in the broad GLM CPU matrix
  • 17 passed, 2 skipped in the unmarked FP8/FSDP supplement
  • Ruff, compileall, diff check, and provenance checks pass
  • cross-repository selector import resolves the public GLM-5.2 contract

Qualification

The final source pins have not yet completed a fresh full-model trainer/sampler replay. Existing exact-replay evidence predates the final structural-default commit, so this remains a draft until that replay is attached.

@broly-code-security-scanner

Copy link
Copy Markdown

Broly Security Scan

Note

Clean scan
No vulnerabilities detected in this PR.

Note

Re-scan this PR anytime with /broly scan — useful after /broly undismiss, or to refresh findings without a new push.

Broly — SAST (zai-org/GLM-5.2) · Secrets · SCA · IaC · GH Actions · Base Images · Supply Chain Threats · Exploit Chains · Adversarial Verification

We're continuously improving Broly's accuracy and finding quality — your feedback is valuable. False positives, missed findings, bugs, and feature requests all welcome.

Ask in #security-engineering   Powered by Together AI

@kiddyboots216
kiddyboots216 force-pushed the codex/oss-upstream-stack-p5-v3-20260730 branch 4 times, most recently from f9811ef to 6e1d598 Compare August 5, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant