mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1476] [CLOSED] Port Maya v1.0.14 NVIDIA GLM updates to Strata v0.1.41 #3482
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3482
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/1476
Author: @apr3ndi5
Created: 10/8/2026
Status: ❌ Closed
Base:
main← Head:codex/glm5-maya-v1.0.4📝 Commits (6)
f2f680dAdd optional GLM-5.3-Flash support from Project Mayacd2f4a9Update GLM port to Maya v1.2.0 with experimental Windows supportf0fc335Update GLM to Maya v1.0.4 tensor-core prefill and diagnosticsff9f6b8Merge Strata v0.1.41 and resolve GLM integration conflicts0db33adMerge updated GLM base with Strata v0.1.41cd297dePort compatible Maya v1.0.14 GLM updates to Strata v0.1.41📊 Changes
78 files changed (+23595 additions, -123 deletions)
View changed files
📝
.gitignore(+2 -0)📝
AGENTS.md(+4 -0)📝
CMakeLists.txt(+147 -4)📝
README.md(+5 -0)📝
docs/AI_SETUP.md(+4 -0)➕
docs/GLM.md(+252 -0)📝
docs/INSTALL.md(+3 -0)📝
docs/MODELS.md(+4 -1)📝
include/strata/artifact/gguf_reader.hpp(+2 -0)➕
include/strata/core/glm_model.hpp(+445 -0)➕
include/strata/kernels/cpu/kq_avx512.hpp(+33 -0)📝
include/strata/kernels/cpu/native_expert.hpp(+7 -1)➕
include/strata/kernels/glm_batch.hpp(+128 -0)➕
include/strata/kernels/glm_dsa.hpp(+63 -0)➕
include/strata/kernels/glm_fast.hpp(+263 -0)➕
include/strata/kernels/glm_ffn.hpp(+26 -0)➕
include/strata/kernels/glm_hc.hpp(+80 -0)➕
include/strata/kernels/glm_kda.hpp(+76 -0)➕
include/strata/kernels/router_sigmoid.hpp(+30 -0)📝
include/strata/prefill/moe_mmq.hpp(+1 -0)...and 58 more files
📄 Description
Summary
Port compatible NVIDIA GLM updates from Project Maya
cfd2f45b506be6c02d715e3198b3ff9719de25fc(v1.0.4) through327cfa60d46f9d8eea33a1b38e76284646fbad86(v1.0.14), integrated with Strata 0.1.41 mainfb58e0dbc8399662c0e47c76578c6e878b14f6cf.Conflict resolution and PR scope
Merge commits
ff9f6b8832b4d12aba40f8553204d120b7a3cc05(PR #1420) and0db33adresolve conflicts against official main without rewriting published history. Resolutions preserve the upstream CUDA toolkit discovery, baseline-ISA native-expert predicates and tokenizer piece cache together with the GLM adaptations.This draft remains cumulative while #1420 is unmerged. The latest Maya update itself is the incremental comparison. No maintainer PR was merged or closed.
Compatibility limits
This is a selective port, not a copy of the entire Maya fork. GLM continues to target native Linux/NVIDIA and experimental native Windows x64/NVIDIA; WSL, AMD/HIP and Intel remain rejected. Maya's new AMD extension requires its different HIP intrinsics/WMMA headers, tuning tables and GLM GEMM linkage, so it is not enabled here. The extra segment tokenizer cache, Maya launcher and benchmark command are not copied; Strata's existing piece cache, installer and diagnostics are retained.
No performance measurements from Maya are presented as measurements of this Strata integration. Full-model inference remains unverified. Installed models, configs and environments were preserved; MIT/OFL notices remain.
Fresh validation — 2026-10-08
These results were run for this update, separately from previous PR results, on Windows with Python 3.10.5 and MSVC 19.51 / Visual Studio 2026:
servediscovery 605 (596 passed/9 skipped), alltools/test_setup_*.pyunittest modules 444 passed, additional pack/oracle/tokenizer/calibration modules 67 (66 passed/1 skipped). Repeated focused runs are not counted twice.No CUDA toolset found.Reproduce the Python tools group with
python -m unittest tools.test_glm_pack tools.test_glm_oracle tools.test_iq_pack tools.test_calibrate tools.test_calibrate_glm tools.test_strata_tokenizer; server group withpython -m unittest discover -s serve -t .. Installer modules were collected fromtools/test_setup_*.pyand loaded withunittest.defaultTestLoader.loadTestsFromNames.Pending hardware checks
CUDA compilation/device linking; F32/WMMA/Turing-register/Ampere-mma attention parity; synthetic Q4_0 multichunk SSD prefill parity; real pinned-allocation cleanup; SSD slot round-trips; multiple-GPU pipelines; model calibration; full-model text/image/MTP quality and performance. The CPU kernel arithmetic also needs AVX-512 hardware. This checkout has no CUDA toolkit; VS 2026 does not meet the recommended CUDA 12.8/VS 2022 combination. The PR remains a draft.
No weights were downloaded and no production engine/server started. Mock server tests and generated local fixtures were used.
Final update commit:
cd297de8eaf60aea26011f50e5f4799d34d2cd42.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.