0xTank commited on
Commit
2f15186
·
verified ·
1 Parent(s): f16282b

Publish verified overlay model card

Browse files
Files changed (1) hide show
  1. README.md +125 -0
README.md ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ library_name: vllm
4
+ pipeline_tag: text-generation
5
+ base_model:
6
+ - Jiunsong/SuperGLM-5.2-abliterated-NVFP4
7
+ - QuantTrio/GLM-5.2-Int4-Int8Mix
8
+ tags:
9
+ - glm-5.2
10
+ - superglm
11
+ - w4a16
12
+ - w8a16
13
+ - compressed-tensors
14
+ - dgx-spark
15
+ - speculative-decoding
16
+ - overlay
17
+ extra_gated_prompt: >-
18
+ This repository contains an experimental derived-weight overlay, not a
19
+ complete model. By requesting access you confirm that you will comply with
20
+ applicable law, the upstream licenses, and the linked responsible-use terms.
21
+ extra_gated_fields:
22
+ I have read and accept the Terms of Use: checkbox
23
+ I will not expose an unauthenticated inference endpoint publicly: checkbox
24
+ I accept responsibility for my deployment and generated outputs: checkbox
25
+ ---
26
+
27
+ # SuperGLM-5.2 v2 W4/W8 overlay — TP4/K5/200K on 4× DGX Spark
28
+
29
+ This repository distributes **our 62 derived W8 overlay shards**, not a full checkpoint. Users obtain the pinned upstream packed base separately and assemble the checkpoint locally. The overlay package is approximately 7.13 GB; it avoids duplicating more than 400 GB of unchanged base weights.
30
+
31
+ ## Identity
32
+
33
+ - SuperGLM v2 source: `Jiunsong/SuperGLM-5.2-abliterated-NVFP4@076582b8a58d3f924a68af550a630edffada5e95`
34
+ - Packed base: `QuantTrio/GLM-5.2-Int4-Int8Mix@1d3bcfe5ec549ecd000fd80b37f191183842e983`
35
+ - Our derived changes: 124 source tensors converted to 372 W8A16 group-128 tensor entries in 62 overlay shards.
36
+ - Unchanged routed experts remain W4A16; unchanged ordinary linears and the matching 256-expert native MTP remain W8A16.
37
+ - The final checkpoint is a **SuperGLM v2 W4/W8 derivative**. QuantTrio is the upstream packed base, not the model identity.
38
+
39
+ No full base checkpoint is included.
40
+
41
+ ## Install and verify
42
+
43
+ ### Agent-directed path
44
+
45
+ An infrastructure agent can start from this page. It must read [AGENT_INSTALL.md](AGENT_INSTALL.md), then the linked GitHub `AGENTS.md`. The packaged `agent-bootstrap.sh` clones the pinned installation repository and enters its guarded prepare/launch workflow.
46
+
47
+ ```bash
48
+ bash agent-bootstrap.sh --prepare
49
+ ```
50
+
51
+ The script deliberately stops for real cluster discovery when no cluster configuration exists; it never copies private topology values from the reference deployment.
52
+
53
+ The complete scripts, runtime recipe, benchmarks, and independent verifier are at:
54
+
55
+ https://github.com/0xTank/SuperGLM-5.2-v2-W4W8-200K-4x-DGX-Spark
56
+
57
+ ```bash
58
+ git clone https://github.com/0xTank/SuperGLM-5.2-v2-W4W8-200K-4x-DGX-Spark
59
+ cd SuperGLM-5.2-v2-W4W8-200K-4x-DGX-Spark
60
+ python3 -m pip install 'huggingface_hub[cli]' torch safetensors
61
+ ./scripts/install-hf-overlay.sh
62
+ ```
63
+
64
+ The installer downloads the pinned base directly from QuantTrio, creates a hard-linked local output tree, applies this repository’s overlays and index, and runs the independent verifier. The base and output directories must share a filesystem.
65
+
66
+ Users can instead reconstruct the overlays directly from the pinned SuperGLM v2 source with `./scripts/build-model.sh`.
67
+
68
+ ## Verified serving profile
69
+
70
+ | Setting | Value |
71
+ |---|---:|
72
+ | Hardware | 4× DGX Spark / GB10 |
73
+ | Parallelism | TP4, DCP1 |
74
+ | Native MTP | K5 probabilistic |
75
+ | Maximum context | 200,000 |
76
+ | KV cache | `nvfp4_ds_mla`, 7,000,000,000 bytes/node |
77
+ | `max_num_seqs` | 4 |
78
+ | `max_num_batched_tokens` | 8,192 |
79
+ | CUDA graphs | `[6,12,18,24]` |
80
+ | Prefix cache | enabled |
81
+ | Thinking | disabled by default |
82
+
83
+ ## Natural-language results
84
+
85
+ Warm C1, thinking off, temperature 0.7, top-p 1.0, top-k 40, 256-token cap.
86
+
87
+ | Workload | Median decode | Median TTFT | MTP acceptance |
88
+ |---|---:|---:|---:|
89
+ | Explanation | 27.383 tok/s | — | — |
90
+ | Diagnosis | 32.401 tok/s | — | — |
91
+ | Coding | 31.965 tok/s | — | — |
92
+ | Planning | 25.714 tok/s | — | — |
93
+ | Mixed-chat median | **29.674 tok/s** | **0.470 s** | **59.962%** |
94
+ | Prose | 25.882 tok/s | 0.494 s | 48.919% |
95
+ | Essay | 24.726 tok/s | 0.499 s | 46.494% |
96
+ | Reading | 28.612 tok/s | 0.590 s | 58.361% |
97
+ | Math | 32.640 tok/s | 0.573 s | 71.071% |
98
+
99
+ Cold server-side prefill measured 663.18 tok/s at 5K and 622.43 tok/s at 50K. Identical warm repeats reached 97.73% and 99.812% prefix-cache hits; cached values are not presented as cold prefill throughput.
100
+
101
+ ## Checkpoint verification
102
+
103
+ The archived measured build passed with:
104
+
105
+ - 62 W8 overlay files
106
+ - 372 redirected index entries
107
+ - 2,343 native 256-expert MTP tensors
108
+ - maximum W8 round-trip relative L2 `0.008788`
109
+ - pinned chat-template SHA-256 `172dc74a35e1752df75ecfb2b2cf9326d2852bb1379868ebeec9571654489679`
110
+
111
+ The package includes provenance and source-evidence hashes. Run the verifier after assembly; do not serve an unverified tree.
112
+
113
+ ## Behavior measurement
114
+
115
+ An internal 32-prompt semantic suite recorded 32 substantive assists, zero refusals, zero garbled outputs, and zero errors through both the direct API and a minimal Hermes profile with thinking off. Raw high-risk prompts and generated harmful text are intentionally not distributed. Results are measurements, not warranties.
116
+
117
+ ## Security and use
118
+
119
+ The reference vLLM server has no application authentication. Keep it on a trusted private network and add authentication, TLS, rate limits, ACLs, and tool sandboxing before sharing it. Generated text is untrusted data.
120
+
121
+ This is an experimental research and systems-engineering release. Operators are responsible for lawful use, access control, outputs, and compliance with upstream licenses. Read [TERMS_OF_USE.md](TERMS_OF_USE.md), [RESPONSIBLE_USE.md](RESPONSIBLE_USE.md), and [LEGAL_NOTICE.md](LEGAL_NOTICE.md).
122
+
123
+ ## Credits
124
+
125
+ Built from Z.ai GLM-5.2, Jiunsong SuperGLM v2, and QuantTrio’s packed base, with runtime work based on Tony D’Angelo’s DGX Spark recipe, eugr’s build harness, vLLM, and the sparse-MLA contributors credited in the GitHub repository. This project is unofficial and is not endorsed by those parties.