Image-Text-to-Text
Transformers
Safetensors
glm5_next
abliterated
uncensored
glm
glm-5.3
glm-5.3-flash
Mixture of Experts
exl3
tr3
quantization
reasoning
conversational
4-bit precision
Run this model with HF Jobs
Run lovesenko/GLM-5.3-Flash-tr3-4bpw-Abliterated on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/lovesenko/GLM-5.3-Flash-tr3-4bpw-Abliterated. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/lovesenko/GLM-5.3-Flash-tr3-4bpw-Abliterated on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/lovesenko/GLM-5.3-Flash-tr3-4bpw-Abliterated. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use lovesenko/GLM-5.3-Flash-tr3-4bpw-Abliterated with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lovesenko/GLM-5.3-Flash-tr3-4bpw-Abliterated with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="lovesenko/GLM-5.3-Flash-tr3-4bpw-Abliterated") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("lovesenko/GLM-5.3-Flash-tr3-4bpw-Abliterated") model = AutoModelForMultimodalLM.from_pretrained("lovesenko/GLM-5.3-Flash-tr3-4bpw-Abliterated", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use lovesenko/GLM-5.3-Flash-tr3-4bpw-Abliterated with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "lovesenko/GLM-5.3-Flash-tr3-4bpw-Abliterated" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lovesenko/GLM-5.3-Flash-tr3-4bpw-Abliterated", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/lovesenko/GLM-5.3-Flash-tr3-4bpw-Abliterated
- SGLang
How to use lovesenko/GLM-5.3-Flash-tr3-4bpw-Abliterated with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "lovesenko/GLM-5.3-Flash-tr3-4bpw-Abliterated" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lovesenko/GLM-5.3-Flash-tr3-4bpw-Abliterated", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "lovesenko/GLM-5.3-Flash-tr3-4bpw-Abliterated" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lovesenko/GLM-5.3-Flash-tr3-4bpw-Abliterated", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use lovesenko/GLM-5.3-Flash-tr3-4bpw-Abliterated with Docker Model Runner:
docker model run hf.co/lovesenko/GLM-5.3-Flash-tr3-4bpw-Abliterated
Add files using upload-large-folder tool
Browse filesFiles changed (50)
- .gitattributes+3
- LICENSEAdded+270
- MANIFEST.jsonAdded+1
- PROVENANCE.mdAdded+28
- README.mdAdded+108
- SHA256SUMSAdded+328
- THIRD_PARTY_LICENSES/B12X-APACHE-2.0.txtAdded+201
- THIRD_PARTY_NOTICES.mdAdded+37
- chat_template.jinjaAdded+210
- compose.yamlAdded+72
- config.jsonAdded+300
- docs/HISTORICAL_MODEL_CARD_2026-08-27.mdAdded+299
- exl3-mcg-storage-abi.jsonAdded+1
- generation_config.jsonAdded+12
- materialization-receipt.jsonAdded+1
- processor_config.jsonAdded+44
- provenance/source-model-revision.jsonAdded+1
- quantization/recipe.jsonAdded+1
- receipts/checkpoint.jsonAdded+1
- results/README.mdAdded+70
- results/five-cold-run-kld.jsonAdded+1
- results/materialization-receipt.jsonAdded+1
- results/run-1-kld-report.jsonAdded+1
- results/run-2-kld-report.jsonAdded+1
- results/run-3-kld-report.jsonAdded+1
- results/run-4-kld-report.jsonAdded+1
- results/run-5-kld-report.jsonAdded+1
- results/tp2-runtime-qualified.jsonAdded+1
- results/tp2-runtime-window-kld.jsonAdded+1
- runtime-results-v44.jsonAdded+164
- runtime/compose.sm120-tp2.yamlAdded+81
- runtime/provenance-v75.jsonAdded+30
- runtime/scripts/qualify_glm53_custom_tp2_runtime.pyAdded+220
- runtime/scripts/run_glm53_custom_tp_runtime.pyAdded+87
- runtime/serve-glm53-sm120-tp2.shAdded+56
- runtime/src/quant_pipeline/__init__.pyAdded+4
- runtime/src/quant_pipeline/cli.pyAdded+358
- runtime/src/quant_pipeline/runtime/__init__.pyAdded+19
- runtime/src/quant_pipeline/runtime/glm53_tp2_exl3.pyAdded+991
- runtime/src/quant_pipeline/spec.pyAdded+100
- runtime/verify-provenance.shAdded+17
- scripts/aggregate_glm53_five_run_kld.pyAdded+41
- scripts/build_glm53_tp2_runtime_kld_receipt.pyAdded+146
- scripts/capture_glm53_packed_k4_student_logits_ep4.pyAdded+399
- scripts/measure_glm53_packed_student_kld.pyAdded+179
- scripts/measure_glm53_tp_runtime_window_kld.pyAdded+156
- scripts/qualify_glm53_custom_tp2_runtime.pyAdded+220
- scripts/run_glm53_custom_tp_runtime.pyAdded+87
- serve-glm53-sm120-tp2.shAdded+138
- tokenizer_config.jsonAdded+33
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines33343536373832 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -textmodel.safetensors.index.json filter=lfs diff=lfs merge=lfs -textquantization_config.json filter=lfs diff=lfs merge=lfs -text
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270# SHAPLEYMCG LICENSE## Attribution-Required, Source-Available License with Named Exclusion### Version 1.0 — August 2026
Copyright © 2026 Brandon M. Music. All rights reserved except as expressly granted below.
Canonical repository: https://github.com/brandonmmusic-max/shapleymcg
---
## PREAMBLE
This License is permissive for everyone but one person.
The Licensor releases this Work so that anyone may study, use, improve, and build on it, commercially or otherwise, subject to one condition and one exception.
The condition is attribution. Credit is the only currency of open research. Using another person's method, code, or results while presenting them as one's own is not "open source" in any sense of the phrase — it is plagiarism, and no license, including this one, makes it anything else. Attribution under this License is therefore not a courtesy. It is a condition of the grant, and use without it is use without a license.
The exception is the person identified in Section 1.5 as the Excluded Party. ShapleyMcg is the successor to earlier work of the Licensor — a calibration corpus, first published 2026-06-21, and an EXL3/trellis ("TR3") calibration, encoding, and quantization technique with its scripts, published as an encoder bundle under the MIT License on 2026-07-21. Over the eleven days that followed, the Excluded Party published eleven repositories built on that corpus, recipe, and schema — two of which declare the Licensor's corpus by its SHA-256 hash in their own manifests — and credited the Licensor in none of them at release, while crediting five to seven other parties in each. Schedule A records every instance. The Licensor regards that conduct as plagiarism. ShapleyMcg is released under this License, rather than under the MIT License its predecessors carried, because of what happened to them. The Licensor is under no obligation to license anyone, and declines to license the Excluded Party. Nothing in this License grants the Excluded Party any right of any kind. This License names the Excluded Party for that reason, and so that no recipient of the Work can later claim not to have known.
The Licensor understands that a license which excludes a named person does not satisfy the Open Source Definition. The Licensor accepts that. This License is offered as a source-available license — free to all but one — and should be described as such.
---
## 1. DEFINITIONS
**1.1 "Work"** means ShapleyMcg — full calibration encoding and quantization based upon the Shapley paper, with per-expert allocation, MCG codex, and the EXL3 and trellis quantization format — in every version, including its source code, encoder and capture scripts, calibration corpus and corpus design, calibration recipe, rank-sliced tensor schema, configuration, weights, checkpoints, reference implementations, test data, papers, documentation, and any other material distributed by the Licensor under this License. The Work does not include, and this License neither licenses nor restricts, third-party components on which the Work builds or with which it interoperates — including the EXL3 format and exllamav3, REAP, and any base model — each of which remains under its own license.
**1.2 "Derivative"** means any work based on, derived from, incorporating, adapting, or implementing the Work or any protectable portion of it, including modifications, ports, translations, and re-implementations made with reference to the Work, and any model, checkpoint, weight file, dataset, or other artifact produced in whole or in part by running the Work or by applying the recipe, schema, or format it implements.
**1.3 "Licensor"** means Brandon M. Music and his successors and assigns.
**1.4 "You"** (and "Your") means any natural person or legal entity exercising rights under this License, other than the Excluded Party.
**1.5 "Excluded Party"** means, collectively and individually:
(a) the natural person who, as of the Effective Date, uses or has used the online persona **"0xSero"** (however rendered, including "Oxsero," "0xsero," and any variant), including the accounts at **https://github.com/0xsero** and **https://huggingface.co/0xSero**, regardless of that person's legal name and regardless of any other name, alias, handle, account, email, persona, or organization that person uses now or in the future;
(b) that person's heirs, executors, administrators, successors, and assigns;
(c) any corporation, company, partnership, foundation, association, laboratory, DAO, or other entity that the person described in (a) owns in whole or in part, controls, manages, directs, or advises, or of which that person is a founder, officer, member, employee, or contractor in any capacity that touches the Work or its subject matter;
(d) the employees, officers, agents, contractors, consultants, students, interns, collaborators, and representatives of any person or entity described in (a) through (c), when acting in that capacity; and
(e) any person or entity acting on behalf of, for the benefit of, at the direction, request, suggestion, or encouragement of, or in exchange for consideration of any kind from, any person or entity described in (a) through (d).
**1.6 "Excluded Channel"** means any repository, organization, account, space, collection, model or dataset listing, package or registry entry, mirror, or other distribution point that is owned, controlled, administered, or curated by the Excluded Party, including specifically **https://github.com/0xsero** and **https://huggingface.co/0xSero**; any successor, renamed, transferred, or replacement account; and any account or organization to which the Excluded Party holds write, maintainer, or administrative access.
**1.7 "Attribution Notice"** means the notice set out in Schedule B.
**1.8 "Canonical Repository"** means https://github.com/brandonmmusic-max/shapleymcg and, for model and dataset artifacts, the Licensor's Hugging Face account at https://huggingface.co/brandonmusic, or such successor locations as the Licensor designates in writing.
**1.9 "Effective Date"** means the date on which the Licensor first publishes the Work under this License.
**1.10 "Prior Works"** means the Licensor's earlier calibration corpus, EXL3/trellis ("TR3") calibration, encoding, and quantization technique, encoder and capture scripts, and related materials published before the Effective Date, including those identified in Schedule A.1. The Prior Works are not the Work. Those published under the MIT License remain available under that license, subject to its conditions, including its notice requirement. To the extent the Work incorporates or supersedes any Prior Work, the Work as distributed under this License is governed by this License.
---
## 2. GRANT
**2.1 Copyright.** Subject to the exclusions in Sections 4 through 6, and **provided that** You comply with every condition in Sections 3 and 5, the Licensor grants You a worldwide, royalty-free, non-exclusive license to use, reproduce, study, modify, create Derivatives of, distribute, publicly display, publicly perform, and otherwise exploit the Work, for any purpose, including commercial purposes.
**2.2 Patent.** To the extent the Licensor owns or controls patent claims, now or hereafter issued, that would be infringed by the Work as distributed by the Licensor, the Licensor grants You, on the same conditions and subject to the same exclusions, a license under those claims to make, use, sell, offer for sale, import, and otherwise exploit the Work. No patent license of any kind is granted to the Excluded Party.
**2.3 Trademark.** "ShapleyMcg" and any associated names and logos are marks of the Licensor. You may use them solely to identify the Work and compliant Derivatives accurately and to give the attribution required by Section 3. No other trademark right is granted to You, and none is granted to the Excluded Party.
**2.4 Conditions, not covenants.** The requirements of Sections 3 and 5 are conditions on the scope of the licenses granted in this Section 2, not independent promises. Any exercise of a right in the Work outside those conditions is outside the scope of this License, is unlicensed, and infringes the Licensor's copyright and, where applicable, patent and trademark rights.
---
## 3. CONDITIONS: ATTRIBUTION
Every exercise of a right granted in Section 2 is conditioned on all of the following.
**3.1 Notice retention.** You must retain, in every copy of the Work and every Derivative, in a location reasonably likely to be seen by recipients, (i) this License in full, (ii) the Licensor's copyright notice, and (iii) the Attribution Notice.
**3.2 Attribution in Derivatives and published results.** If You distribute, publish, deploy, or host a Derivative, or publish any model, checkpoint, dataset, benchmark, paper, post, model card, README, or documentation that uses, relies on, or was produced using the Work, You must give clear and prominent attribution to the Licensor and the Work, identifying the Work by name, linking the Canonical Repository, and, in any academic or technical publication, citing the Work in the form set out in Schedule B. For any artifact published on Hugging Face or a comparable hub, the attribution must appear in the model card or README and, where the platform supports it, in the artifact's metadata (for example, `license`, `base_model`, or `tags` fields).
**3.3 Provenance retention.** You must not remove, alter, or omit the provenance fields that the Work writes into the metadata of artifacts it produces (such as producer, producer version, recipe fingerprint, corpus hash, slicing, scope, and selection policy), except to update them accurately to reflect Your own modifications.
**3.4 No misrepresentation of origin.** You must not represent the Work or any Derivative — or the methods, design choices, or results embodied in them — as Your own original creation or as originating from anyone other than the Licensor, and You must not remove, obscure, alter, or falsify any attribution, authorship, or provenance information. Your own modifications may, and should, be identified as Yours; the origin of what You modified may not be.
**3.5 Downstream terms.** You may license Your own contributions to a Derivative on any terms You choose, but the Work and every portion of it remain licensed solely under this License, and every recipient of a Derivative receives the Work on these terms. No downstream terms may purport to remove or relax Sections 3 through 6 or to grant the Excluded Party any right.
---
## 4. EXCLUSION
**4.1 No grant.** No license, permission, consent, waiver, estoppel, or right of any kind — express, implied, by conduct, by course of dealing, by public availability, or otherwise — is granted to the Excluded Party under this License or under any other terms. As to the Excluded Party, the Licensor reserves all rights in the Work under copyright, patent, trademark, and every other applicable law, in every jurisdiction.
**4.2 Unlicensed use.** Any reproduction, modification, distribution, display, performance, hosting, fine-tuning, quantization, benchmarking, deployment, or other use of the Work or any Derivative by or for the Excluded Party is unlicensed and infringes the Licensor's exclusive rights. The Licensor reserves every remedy for that infringement, including injunctive relief and, where available, statutory damages and attorney's fees under 17 U.S.C. §§ 504–505.
**4.3 Public availability is not permission.** The availability of the Work on a public repository, hub, or site is not an offer to the Excluded Party and is not consent to any access, download, copying, or use by the Excluded Party.
**4.4 Contributions refused.** The Licensor does not accept, and will not merge, contributions from the Excluded Party. Any contribution submitted by or for the Excluded Party is refused, is not incorporated into the Work, and creates no right, license, credit, or obligation in favor of the Excluded Party.
**4.5 No waiver by prior tolerance.** The Licensor's delay in acting on, or prior tolerance of, any unlicensed or unattributed use — including the uses of the Prior Works recorded in Schedule A — is not a waiver, license, consent, acquiescence, or estoppel, and creates no course of dealing on which the Excluded Party may rely.
---
## 5. CONDITIONS PROTECTING THE EXCLUSION
Every exercise of a right granted in Section 2 is further conditioned on all of the following.
**5.1 No provision to the Excluded Party.** You must not distribute, provide, transfer, sublicense, disclose, or otherwise make the Work or any Derivative available to the Excluded Party, and must not knowingly permit the Excluded Party to obtain it through You.
**5.2 No Excluded Channels.** You must not upload, post, mirror, commit, submit, publish, or otherwise make the Work or any Derivative available on or through any Excluded Channel, and must not contribute the Work or any Derivative to any project, repository, model, dataset, or package maintained by the Excluded Party.
**5.3 No acting for the Excluded Party.** You must not exercise any right under this License on behalf of, for the benefit of, at the direction, request, suggestion, or encouragement of, or in exchange for consideration from, the Excluded Party. A person who does so is, for that purpose, the Excluded Party under Section 1.5(e), holds no license, and infringes.
**5.4 No laundering.** You must not relicense, sublicense, re-host, rename, restructure, obfuscate, or re-describe the Work or any Derivative for the purpose of enabling the Excluded Party to obtain, use, or claim rights in it.
**5.5 The exclusion travels with the Work.** Sections 4 through 6 attach to the Work and to every portion of every Derivative that contains it, in every hand through which it passes, regardless of the terms under which any intermediate distributor purports to offer it. No fork, rename, re-hosting, or downstream license removes them.
---
## 6. ANTI-CIRCUMVENTION
**6.1 Person, not handle.** The exclusion attaches to the natural person described in Section 1.5(a) and follows that person through every change of name, handle, account, email, employer, organization, jurisdiction, platform, or persona. Deleting, renaming, transferring, or abandoning an account does not lift it. Operating through a new account lifts nothing.
**6.2 Intermediaries and straw parties.** The exclusion may not be evaded by interposing any person or entity — friend, colleague, employee, contractor, student, company, foundation, fork, "clean-room" team, or anonymous account — between the Excluded Party and the Work. A person who obtains or uses the Work in order to provide it, its contents, or its benefits to the Excluded Party stands in the Excluded Party's shoes and holds no license.
**6.3 Re-implementation at the Excluded Party's request.** A work created by any person with reference to the Work at the request or direction, or for the benefit, of the Excluded Party is a Derivative made without license.
**6.4 Partial copies.** The exclusion applies to any portion of the Work, however small, that is protectable under applicable law, and to any Derivative containing such a portion.
**6.5 Identification.** For purposes of enforcing this License, the Licensor may treat a person, account, project, or artifact as the Excluded Party, or as acting for the Excluded Party, on reasonable grounds, including shared commit identities or signing keys, linked or cross-referenced accounts, correlated timing and content, or the Excluded Party's own statements.
---
## 7. TERMINATION
**7.1 Automatic termination.** Your rights under this License terminate automatically, without notice, on any breach of Section 3 or Section 5.
**7.2 Cure.** If the breach is of Section 3 only, is Your first, and was not willful, Your license is reinstated if You cure the breach within thirty (30) days after the earlier of notice from the Licensor or Your actual knowledge of it. A breach of Section 5, and any willful breach, is not curable.
**7.3 Effect.** On termination You must cease all use and distribution of the Work and Derivatives. Copies You previously distributed to recipients who are themselves in compliance remain licensed to those recipients.
**7.4 Survival.** Sections 1, 4, 5, 6, 7, 8, 9, and 10 survive termination.
---
## 8. REMEDIES AND ENFORCEMENT
**8.1 Infringement remedies preserved.** Because Sections 3 and 5 are conditions of the grant, any use outside them is unlicensed, and the Licensor's remedies include those for copyright infringement (and patent and trademark infringement where applicable), not merely those for breach of contract.
**8.2 Takedown.** Every copy of the Work or a Derivative in the possession or control of the Excluded Party, and every copy in an Excluded Channel, is an unlicensed copy. The Licensor may issue notices under 17 U.S.C. § 512 and its foreign equivalents to any host, hub, registry, or platform carrying such a copy.
**8.3 Injunctive relief.** You agree that breach of Section 3 or Section 5 would cause the Licensor irreparable harm for which money damages are inadequate, and that the Licensor is entitled to injunctive relief without posting bond, in addition to every other remedy.
**8.4 Fees.** In any action to enforce this License in which the Licensor prevails, the Licensor is entitled to recover reasonable attorney's fees and costs.
---
## 9. DISCLAIMER AND LIMITATION OF LIABILITY
THE WORK IS PROVIDED "AS IS," WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT. THE LICENSOR IS NOT LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ARISING FROM THE WORK OR ITS USE, HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THIS SECTION DOES NOT LIMIT ANY REMEDY OF THE LICENSOR.
---
## 10. GENERAL
**10.1 Governing law and venue.** This License is governed by the laws of the Commonwealth of Kentucky and the federal laws of the United States, without regard to conflict-of-laws principles. Any action arising out of this License or the Work shall be brought in the United States District Court for the Eastern District of Kentucky, Ashland Division, or, for claims outside federal jurisdiction, in the Carter Circuit Court, Grayson, Kentucky. By exercising any right under this License, You consent to the personal jurisdiction of those courts.
**10.2 Severability; no construction in favor of the Excluded Party.** If any provision of this License is held unenforceable, it shall be enforced to the maximum extent permitted and the remainder shall stand. No holding of unenforceability shall be construed to grant the Excluded Party any right. If any part of Sections 4 through 6 is held unenforceable, then as to the Excluded Party the Work is simply unlicensed and all rights are reserved.
**10.3 No waiver.** No failure or delay by the Licensor in exercising any right is a waiver of it.
**10.4 Versions.** The Licensor may publish revised versions of this License. You may use the Work under the version under which You received it or any later version.
**10.5 Description.** This License is not approved by the Open Source Initiative and does not meet the Open Source Definition. The Work should not be described as "open source" without qualification. "Source-available; free for all but the Excluded Party" is accurate.
**10.6 Acceptance.** You are not required to accept this License. Nothing else, however, grants You permission to exercise any right in the Work, and doing so signifies Your acceptance of these terms.
---
## SCHEDULE A — RECORD OF PRIOR UNATTRIBUTED USE
This Schedule records what was published, when, and with what credit. Every instance concerns the Prior Works; all eleven predate the publication of ShapleyMcg on 2026-08-23, and none involves the Work. It is drawn from the Licensor's audit of the Excluded Party's full Hugging Face catalog (90 models and 22 datasets) as of 2026-08-22, conducted against a 912-file manifest of git blob object IDs and LFS SHA-256 hashes from the Licensor's repositories, with the principal findings re-verified by hand against the live repositories. Archived copies (object IDs, LFS hashes, fetched revisions, and captures) of every item are retained by the Licensor. This Schedule asserts nothing about the Excluded Party's state of mind.
### A.1 The Prior Works at issue
(i) **Calibration corpus** `reap_recall_calib.jsonl` — 12,228 rows in four axes (`axis1_general`, `axis2_legal`, `axis3_code_agentic`, `axis4_reasoning_termination`; 3,057 rows each); 34,002,059 bytes; SHA-256 `cf247acc7c5da9f0600c7d6ab3b7c2fcfc54ec30b794e3b6047559285fa44df4`. First published 2026-06-21 in `brandonmusic/NVFP4-REAP-Recall-N172`.
(ii) **TR3 encoder bundle** — seven encoder scripts, including `capture_b300.py`, `encode_b300.py`, and `encode_tr3_v31.py`, implementing the Licensor's EXL3/trellis ("TR3") calibration, encoding, and quantization technique, together with its calibration recipe and rank-sliced tail schema. Published 2026-07-21 in `brandonmusic/GLM-5.2-EXL3-TR3-3.0bpw` under the MIT License, which requires that the copyright and permission notice accompany all copies and substantial portions.
(iii) `brandonmusic/GLM-5.2-EXL3-TR3-3.5bpw-MTP78`, published 2026-08-01.
### A.2 The eleven instances
Each repository below is published at huggingface.co/0xSero. Dates are repository creation dates on Hugging Face. Evidence tiers are defined in A.4; lettered notes are in A.3.
| # | Created | Repository | What was taken | Evidence | Attribution at release ||---|---|---|---|---|---|| 1 | 2026-07-23 | `Laguna-S-2.1-Hybrid-2.75bpw` | Rank-sliced tail schema (TP=2) from the TR3 encoder bundle, present in the shipped tensors | Indicative — schema identity (Note C) | None || 2 | 2026-07-23 | `Laguna-S-2.1-Hybrid-3.25bpw` | Same | Indicative (Note C) | None || 3 | 2026-07-30 | `Inkling-Small-EXL3-2.0bpw` | Calibration recipe and corpus design from the TR3 encoder bundle | Indicative — recipe identity (Note B) | None; provenance fields absent (Note D) || 4 | 2026-07-30 | `Inkling-Small-EXL3-2.5bpw` | Same | Indicative (Note B) | None (Note D) || 5 | 2026-07-30 | `Inkling-Small-EXL3-3.0bpw` | Same | Indicative (Note B) | None (Note D) || 6 | 2026-07-30 | `Inkling-Small-EXL3-3.5bpw` | Same | Indicative (Note B) | None (Note D) || 7 | 2026-07-30 | `Inkling-Small-EXL3-4.0bpw` | Same | Indicative (Note B) | None (Note D) || 8 | 2026-07-30 | `Inkling-Small-EXL3-4.5bpw` | Same | Indicative (Note B) | None (Note D) || 9 | 2026-07-30 | `Inkling-Small-EXL3-5.0bpw` | Same | Indicative (Note B) | None (Note D) || 10 | 2026-07-31 | `DeepSeek-V4-Flash-0731-EXL3-3.0bpw` | Calibration corpus (A.1(i)), declared by SHA-256 in the repository's own `CALIBRATION_COVERAGE.json`, with the Licensor's calibration axes and legal-axis quota | **Proven** — hash identity (Note A) | None; `license: mit` front matter absent; "reference" mention added 2026-08-21 (Note A) || 11 | 2026-08-01 | `deepseek-v4-flash-0731-spark` (69,040 downloads at audit) | Same corpus; same coverage file, byte-identical to #10 (git object ID `3a8b6d04dbfc…`) | **Proven** (Note A) | Same as #10 |
### A.3 Notes on the evidence
**Note A — corpus (#10, #11).** Both DeepSeek repositories ship a `CALIBRATION_COVERAGE.json`, byte-identical between them (git object ID `3a8b6d04dbfc…`), declaring `corpus_sha256: cf247acc…` — the SHA-256 of the Licensor's corpus — together with the Licensor's four calibration axes (prefixes stripped) and the Licensor's legal-axis quota of 274,604. The corpus file itself sits byte-identical (LFS SHA-256 verified) in the Excluded Party's `GLM-5.2-TR3-Vision`, published 2026-07-26 as a declared duplicate of the Licensor's repository with provenance intact. The `license: mit` front matter was absent from both DeepSeek repositories' cards at first upload. Each README describes the corpus's composition ("legal text") without naming its source, and each README's Credits section names five to seven other parties and omits the Licensor. On 2026-08-21, after the Licensor's first audit, the Excluded Party added a mention of `brandonmusic` as a "reference" to both repositories; the corpus and schema remain unattributed as of 2026-08-22.
**Note B — recipe (#3–#9).** The shipped configuration files for all seven Inkling repositories name the Licensor's four calibration axes verbatim, with prefixes (`axis2_legal` on a multimodal audio/vision model), and carry `tokens: 1048576` (`capture_b300.py`, line 49, `TARGET_TOKENS = 1_048_576`), `max_sample_tokens: 4096` (line 50), and `cold_expert_fallback: "layer_gate_and_seeded_down"` — a name coined in `encode_tr3_v31.py` (lines 67–68) for the mechanism documented there, which exists nowhere outside the Licensor's encoder. The model card changed from a generic 65,536-token calibration plan to the Licensor's exact recipe in commit `ab7d5e3103` at 23:27 on 2026-07-30. Each README's Credits section names five to seven other parties and omits the Licensor.
**Note C — schema (#1, #2).** Both Laguna repositories, created roughly 48 hours after the TR3 encoder bundle was published, implement the bundle's rank-sliced tail schema at tensor-parallel degree 2; the schema is identifiable in the shipped tensors. The `encoder_script_sha256` declared in the Laguna metadata (`30ccbf52…`) matches none of the Licensor's seven scripts, indicating an adapted, unpublished script rather than a byte copy. Each README's Credits section names five to seven other parties and omits the Licensor.
**Note D — provenance (all eleven).** The provenance fields that the Licensor's encoder writes into every artifact's metadata (`producer: encode_b300.py`, `producer_version`, `recipe_fingerprint`, `slicing`, `scope`, `selection_policy`, and `corpus_sha256` where applicable) are absent from the metadata of every repository in A.2 at first upload and remain absent through HEAD, with the exception of `corpus_sha256`, which #10 and #11 retain. No on-platform deletion history exists for any of these files, so the fields were absent before upload. By contrast, the Excluded Party's `GLM-5.2-TR3-Vision` (2026-07-26), built from the same source material, retains every one of those fields at every commit.
**Note E — what is not claimed.** The audit found no byte copies and no renamed derivatives of the Licensor's scripts anywhere public outside the attributed `GLM-5.2-TR3-Vision` mirror; the Excluded Party's REAP observation pipeline predates the Licensor's corpus by approximately three months and is independent; all 63 repositories created before 2026-06-21, all 22 datasets, and 99 of 112 repositories overall are clean; and `Qwen3.6-35B-Hybrid-3.25bpw` (2026-07-20) carries markers but predates the Licensor's publication by one day and is not counted. Vocabulary shared with upstream tooling (trellis, MCG, EXL3, REAP, and default multiplier constants) was excluded as evidence. The instances in A.2 are specific to the Prior Works — the calibration corpus and the TR3 recipe and rank-sliced schema — and none of them involves ShapleyMcg, which was first published on 2026-08-23.
### A.4 Evidence tiers
**Proven** — SHA-256 or git object-ID identity, or a commit diff. **Indicative** — identity of schema, configuration, or recipe values. Shared upstream vocabulary is not evidence.
### A.5 Chronology
| Date | Event ||---|---|| 2026-06-21 | Licensor publishes `NVFP4-REAP-Recall-N172`; corpus first public || 2026-07-21 | Licensor publishes `GLM-5.2-EXL3-TR3-3.0bpw` — full encoder bundle, MIT || 2026-07-23 | Excluded Party publishes Laguna ×2 (#1–#2) || 2026-07-26 | Excluded Party publishes `GLM-5.2-TR3-Vision` — attributed byte mirror, provenance intact (not counted) || 2026-07-30 | Excluded Party publishes Inkling ×7 (#3–#9) || 2026-07-31 | Excluded Party publishes `DeepSeek-V4-Flash-0731-EXL3-3.0bpw` (#10) || 2026-08-01 | Excluded Party publishes `deepseek-v4-flash-0731-spark` (#11); Licensor publishes `GLM-5.2-EXL3-TR3-3.5bpw-MTP78` || 2026-08-21 | Licensor's first audit; same evening, Excluded Party adds "reference" mentions of `brandonmusic` to #10 and #11 || 2026-08-22 | Licensor's full-catalog audit || 2026-08-23 | Licensor publishes ShapleyMcg under this License |
Requests for the underlying evidence may be directed through the Canonical Repository.
---
## SCHEDULE B — ATTRIBUTION NOTICE AND CITATION
**Attribution Notice** (to be retained in every copy and Derivative, and reproduced in every model card, README, or publication covered by Section 3.2):
> This work includes or was produced using ShapleyMcg, created by Brandon M. Music (https://github.com/brandonmmusic-max/shapleymcg). ShapleyMcg is licensed under the ShapleyMcg License v1.0, an attribution-required license that grants no rights to the person known as "0xSero." Use of ShapleyMcg without this attribution is unlicensed.
**Citation** (for papers, technical reports, and model cards):
```bibtex@misc{music2026shapleymcg, author = {Music, Brandon M.}, title = {ShapleyMCG: An Auditable Calibration-to-Encoding Pipeline for Low-Bit Mixture-of-Experts Models}, year = {2026}, url = {https://github.com/brandonmmusic-max/shapleymcg}, note = {Licensed under the ShapleyMcg License v1.0}}```
**Hugging Face metadata** (in the model card YAML front matter):
```yamllicense: otherlicense_name: shapleymcg-license-1.0license_link: https://github.com/brandonmmusic-max/shapleymcg/blob/main/LICENSEtags: - shapleymcgbase_model: [base model, if applicable]```1{"file_count":328,"files":[{"bytes":1696,"path":".gitattributes","sha256":"d3b10d515fb2bb0da69e29ec07a1e44296bd0dc1a51d1388be703a189d470cab"},{"bytes":186336,"path":".materialization/shards/model-00001-of-00120.safetensors.json","sha256":"8d0185b871ad9cd46bfd2495a01675046b306a8510a62cea36aaa3e3cbf51f1f"},{"bytes":535867,"path":".materialization/shards/model-00002-of-00120.safetensors.json","sha256":"077b2416ef12b929a278b1b86935159ab35f88ac2306f5be7e36e5d07b901a76"},{"bytes":535027,"path":".materialization/shards/model-00003-of-00120.safetensors.json","sha256":"c2103a15e275cc17e3217299638a877bbc236839d258ee6837fb4fc491d3a88e"},{"bytes":510894,"path":".materialization/shards/model-00004-of-00120.safetensors.json","sha256":"73d7098787cb673ee5d898033f796e0e2ad4e80ec19ddc1bb4a7d7a89d7c8858"},{"bytes":535875,"path":".materialization/shards/model-00005-of-00120.safetensors.json","sha256":"8cee876d2e1e783efe86a3b130e3c3b8e7fd7df4e01e82586c454151da882c7c"},{"bytes":534435,"path":".materialization/shards/model-00006-of-00120.safetensors.json","sha256":"6b293a767b22b48b4d80472891b5e498cb8e89c32a9a4d029d38fc4652e86dbe"},{"bytes":513040,"path":".materialization/shards/model-00007-of-00120.safetensors.json","sha256":"47c858836e8ab1a6e495e150c0b0c63f315454c7a796e45d385c75e021b9d192"},{"bytes":535875,"path":".materialization/shards/model-00008-of-00120.safetensors.json","sha256":"921d814d6fa5d94be30a74b4d89543ec936c781ca926d18dcb20957bfdf57260"},{"bytes":510022,"path":".materialization/shards/model-00009-of-00120.safetensors.json","sha256":"a22c769d3ba85523734d01dfcbb5cc665aa92ee03544167b6d74efae28546391"},{"bytes":535915,"path":".materialization/shards/model-00010-of-00120.safetensors.json","sha256":"99f73edddd6b5156af945d26dd08cd48ab8fe313cefdc5d4e68aa06a89808864"},{"bytes":535707,"path":".materialization/shards/model-00011-of-00120.safetensors.json","sha256":"8429044dd8cb7908b21ed9b90e107e2f1a8590d504e6600426911ac699f98ea6"},{"bytes":510166,"path":".materialization/shards/model-00012-of-00120.safetensors.json","sha256":"fa143b20a1ea05fcc5628a1e930568c8011f5dd1511b46b5e640d511d5ae6162"},{"bytes":535891,"path":".materialization/shards/model-00013-of-00120.safetensors.json","sha256":"9b9641a47add516930a62bf976d0d7492d974d82b851945b56fecb92e1f8df85"},{"bytes":535147,"path":".materialization/shards/model-00014-of-00120.safetensors.json","sha256":"de0f74e000942557041bc0bcc74f72539f472d58827bbc6aeb8797b8e663abed"},{"bytes":510774,"path":".materialization/shards/model-00015-of-00120.safetensors.json","sha256":"0ef95d29638dd3035030d6b490eebd22b9daa83027377551f4681f540a9e0f81"},{"bytes":535851,"path":".materialization/shards/model-00016-of-00120.safetensors.json","sha256":"8677b1c192cb18073f84537ba0c3ae233620468e946679ff9e73db9f83514c0b"},{"bytes":534563,"path":".materialization/shards/model-00017-of-00120.safetensors.json","sha256":"aa9d28fb398294ff354dbf2d914110789f459ad245d851ee3ec377f208327cd2"},{"bytes":512936,"path":".materialization/shards/model-00018-of-00120.safetensors.json","sha256":"90fe4172bce89fd958b0e85868ff6d25b3bc1a811d5d6ba79ad7181c93e169ef"},{"bytes":535867,"path":".materialization/shards/model-00019-of-00120.safetensors.json","sha256":"7f77f080f0190dd73a3c74869fc8a8b4622e967afea7fe8964f42b28d775146e"},{"bytes":518560,"path":".materialization/shards/model-00020-of-00120.safetensors.json","sha256":"db733326f671217c5cad427e78f32ae5aa68f55267fe8c261927cb8c2ea31df7"},{"bytes":524020,"path":".materialization/shards/model-00021-of-00120.safetensors.json","sha256":"c09133ff8c45bf88f5cc85c3d6ef6bd29b10c522e71948849ade3ced2aba0429"},{"bytes":535867,"path":".materialization/shards/model-00022-of-00120.safetensors.json","sha256":"07416400c38b38ca3971e96f521700f45de531868d4ea4129aee6fdd037dc32a"},{"bytes":510030,"path":".materialization/shards/model-00023-of-00120.safetensors.json","sha256":"a4543fc7b6e65354b79087008cb0559cf089bbf9c656c88461a2ced2ef5e669d"},{"bytes":535851,"path":".materialization/shards/model-00024-of-00120.safetensors.json","sha256":"d784dcad595674f61f6f2e5368d193f20a0bebaf0d8b8b66d08d5ea0c5f68891"},{"bytes":535299,"path":".materialization/shards/model-00025-of-00120.safetensors.json","sha256":"739e95aef584be373fdf1cc5392062f55bfd6a51c56b0a0eed8f99601263cbbc"},{"bytes":510638,"path":".materialization/shards/model-00026-of-00120.safetensors.json","sha256":"cc822a4141b4fb1259cb7cf0019bd2767328a648055d93c3ac2d85ac65703614"},{"bytes":535875,"path":".materialization/shards/model-00027-of-00120.safetensors.json","sha256":"07009dae0fc9abf3c98eeedde578aca609a3d736a00dd1f66704fe5952748353"},{"bytes":534675,"path":".materialization/shards/model-00028-of-00120.safetensors.json","sha256":"ba4864837bf40411112c01fd7c5baf58e1a9772a39f8ef4b0b4ced269f964e46"},{"bytes":464627,"path":".materialization/shards/model-00029-of-00120.safetensors.json","sha256":"c8bb1835ddd126ba689ac711a8ae6d91a2ac6289e026c2e9f50db148f6220dd6"},{"bytes":535875,"path":".materialization/shards/model-00030-of-00120.safetensors.json","sha256":"763056215e677578fcd4b7eb2aafe7e20df03fc33abbe0fde1cb3d799d9aae3d"},{"bytes":534347,"path":".materialization/shards/model-00031-of-00120.safetensors.json","sha256":"0cf92f1415301a92d63dfacb26d58ebafe44f94609fe065fbc51be79280a621d"},{"bytes":511590,"path":".materialization/shards/model-00032-of-00120.safetensors.json","sha256":"a15212287887e7610f83a2a073b6291888bc70fc95a34d02ce2c3045643d9a13"},{"bytes":535851,"path":".materialization/shards/model-00033-of-00120.safetensors.json","sha256":"d882b1d207bd3e456a679df22ae1910df3b4c8db73a2cce28e25e40517d99d4a"},{"bytes":510022,"path":".materialization/shards/model-00034-of-00120.safetensors.json","sha256":"2d0abb1c9b502f3ad008244118fe45f761640231952b4ccacc6e0f5c01c05c55"},{"bytes":535907,"path":".materialization/shards/model-00035-of-00120.safetensors.json","sha256":"eb424f041ac17b7cceb62e6c98418cd5bbeb62b52c71ddc2a19583640f5d2f62"},{"bytes":535659,"path":".materialization/shards/model-00036-of-00120.safetensors.json","sha256":"81b1e3b999e8fed06b7308c08b17d71d46fcadbf41fba2a6507769102e4b1bbf"},{"bytes":510246,"path":".materialization/shards/model-00037-of-00120.safetensors.json","sha256":"604d281b96a22329c12501ba093d1588b82053cf259d7f1ce593025eba8fe534"},{"bytes":535851,"path":".materialization/shards/model-00038-of-00120.safetensors.json","sha256":"2b0087db11b5350b33dd5a6cd7858dedc6f14e01748f9559308c48b66cd80cc9"},{"bytes":535091,"path":".materialization/shards/model-00039-of-00120.safetensors.json","sha256":"6a783143193bf10e39118c68ad4e17744de2b005f1a14dc2fb20accc08fc841b"},{"bytes":512408,"path":".materialization/shards/model-00040-of-00120.safetensors.json","sha256":"9e89153f0dece501d3e4a2d2f9a513bd2c782e15a925cd893cd68393d255a14b"},{"bytes":535867,"path":".materialization/shards/model-00041-of-00120.safetensors.json","sha256":"ea9abf170718fcaf85858530d184f61eab6568938bb4958c0a2be1d7906782a6"},{"bytes":534451,"path":".materialization/shards/model-00042-of-00120.safetensors.json","sha256":"c401ff0d4ca1deb7fd58f324848f35c5b7ca3d2eab99a96710c3febbfa7ffa20"},{"bytes":511470,"path":".materialization/shards/model-00043-of-00120.safetensors.json","sha256":"c70d2d8c4c80486569f91e0b33d182249b038400d5ab03e7e2875f65dc7b5dd8"},{"bytes":535875,"path":".materialization/shards/model-00044-of-00120.safetensors.json","sha256":"6866929f97d6acf531ce8a92d08c5f5e59dc0c5913cfb31aebf77774318bb86f"},{"bytes":510070,"path":".materialization/shards/model-00045-of-00120.safetensors.json","sha256":"951c0e78d38c301fc1b4d1387d075b1fda33ab1551defda7052803a8291bf727"},{"bytes":535867,"path":".materialization/shards/model-00046-of-00120.safetensors.json","sha256":"2ed00e3532d42a5c41cdf74f912dc4152636c399798774136524ce0592454f23"},{"bytes":535747,"path":".materialization/shards/model-00047-of-00120.safetensors.json","sha256":"b67b04238eaf12d7b7ec03642c9bb20df835668bde3f4b4477464b457db2bbf6"},{"bytes":510126,"path":".materialization/shards/model-00048-of-00120.safetensors.json","sha256":"ec608572e29733b6a6027f61cbe84781cdef2c701ca2eea81fe482f1b937b77f"},{"bytes":535875,"path":".materialization/shards/model-00049-of-00120.safetensors.json","sha256":"79cbe9a141d8400912c1d4c7f7d58857e67c37e9f384af71ed15963e38ff8e2d"},{"bytes":535203,"path":".materialization/shards/model-00050-of-00120.safetensors.json","sha256":"d4c415f20d313493560175e2aff6bf84ea5e927d5d0ba7e7a672508560b9b90e"},{"bytes":512272,"path":".materialization/shards/model-00051-of-00120.safetensors.json","sha256":"f4c3aef067188c331a71882a5f099e8e397029a260c8c4a85234434b4320acf0"},{"bytes":535867,"path":".materialization/shards/model-00052-of-00120.safetensors.json","sha256":"1358ae41eaa3fa5620f35cb35629e3f429e8dc9af182b17e7f9a14dc53a6333d"},{"bytes":534595,"path":".materialization/shards/model-00053-of-00120.safetensors.json","sha256":"b0353f47312da53cd094feaaf187e411ffc228f19af512b2b96431dfbcd0cc30"},{"bytes":511350,"path":".materialization/shards/model-00054-of-00120.safetensors.json","sha256":"2f776186445cb810611b4e447257b8af7ccfd0a6580a5d16dc7055650dcbff0d"},{"bytes":535851,"path":".materialization/shards/model-00055-of-00120.safetensors.json","sha256":"fd3cbdf6b316ea46c54a52042d5d5b0547061ef08e7457a7f421a5d4c7bed0c0"},{"bytes":526243,"path":".materialization/shards/model-00056-of-00120.safetensors.json","sha256":"f4f824e1f264c65acfd0c5c3bc0e12400b836c0214aacbb5b7846857c3fdce2a"},{"bytes":515546,"path":".materialization/shards/model-00057-of-00120.safetensors.json","sha256":"410e062323aaee86563d85cd1f79c6729c1b5431acd8891ba7bc851ee4ec468f"},{"bytes":533315,"path":".materialization/shards/model-00058-of-00120.safetensors.json","sha256":"55588c9e6ae8303db9def20956edf71be1f38347f3db293319c1ac5b381a4667"},{"bytes":509640,"path":".materialization/shards/model-00059-of-00120.safetensors.json","sha256":"83b87d82fa6a66a9d851f97dd97af69f8cdbc4fdc711bb390d68b0ef9062de9a"},{"bytes":535851,"path":".materialization/shards/model-00060-of-00120.safetensors.json","sha256":"f5c286aa7c6274412a8a51412b17fe3ebe8c9e2e751fe17ea61854320b986dc9"},{"bytes":535323,"path":".materialization/shards/model-00061-of-00120.safetensors.json","sha256":"d4c780a921de809dddb8ec92b6d9b7396c139ee6aa15822bc232edd21b7b0751"},{"bytes":510622,"path":".materialization/shards/model-00062-of-00120.safetensors.json","sha256":"d28dca2459ae348608e5a2ad1582add754a6135e03a29f6a66cd529abc3335cd"},{"bytes":535867,"path":".materialization/shards/model-00063-of-00120.safetensors.json","sha256":"3ce37e9b9c75627ec0046b805cf7bc166a028fc9cd8f4ae27870e32a19ed347a"},{"bytes":534699,"path":".materialization/shards/model-00064-of-00120.safetensors.json","sha256":"a2e7b7ce8aedea8c7f1b79b0d4eb8aadc62f935ef544ebe961e3bf22ddb745ad"},{"bytes":512776,"path":".materialization/shards/model-00065-of-00120.safetensors.json","sha256":"50e8cebcdac5f20d2626b6eb4f65a45db2fc2da0b196d09122b8b3bafc71bc4d"},{"bytes":535875,"path":".materialization/shards/model-00066-of-00120.safetensors.json","sha256":"db66bcfc88353450e4e76689a86036d1171c06eb0b153f26598ba0ba36fd148a"},{"bytes":534099,"path":".materialization/shards/model-00067-of-00120.safetensors.json","sha256":"99ca7773e9e74fe1da2d149eddf3060c14df4a22d4b0947b6dfc6ada1072c022"},{"bytes":511838,"path":".materialization/shards/model-00068-of-00120.safetensors.json","sha256":"3981caef5a222ff73a55a306895252f8418dc2560fc53ccb1d8816c2f95abbe5"},{"bytes":535851,"path":".materialization/shards/model-00069-of-00120.safetensors.json","sha256":"647307884644c56ea8e95e66cb7bb478e89df2247a058aadbe6528fd4e8a1627"},{"bytes":510022,"path":".materialization/shards/model-00070-of-00120.safetensors.json","sha256":"61fc4536e257ed876df79998c4468c5d97b7927b13ba31d9567202cd74f92e4c"},{"bytes":535875,"path":".materialization/shards/model-00071-of-00120.safetensors.json","sha256":"cf6dba6de255e800f25de85b31f4b0df5f09710b187e5b3b499d97caa032497d"},{"bytes":535443,"path":".materialization/shards/model-00072-of-00120.safetensors.json","sha256":"edb9724f88e0a18f495e74c72ecf8a801dc8093bef7dca7797ea98de3d8ae32e"},{"bytes":510494,"path":".materialization/shards/model-00073-of-00120.safetensors.json","sha256":"3d397578ba4920e9427939afaabdac25b80162270fbed341a9d600889063ba94"},{"bytes":535851,"path":".materialization/shards/model-00074-of-00120.safetensors.json","sha256":"161d74aa4d598927b4bd23b952a8a8c17ef0a1ebdacd6a4120f0947e837dfef5"},{"bytes":534843,"path":".materialization/shards/model-00075-of-00120.safetensors.json","sha256":"5f1876dbf3556d818d988c49b9ed6e22b93a5c249865d48a6d7d002aad54e2ff"},{"bytes":512656,"path":".materialization/shards/model-00076-of-00120.safetensors.json","sha256":"bf46b5a32e3361922ec127ae2ba06469056d9f610f0f135e0c47e5f7f9ca0314"},{"bytes":535851,"path":".materialization/shards/model-00077-of-00120.safetensors.json","sha256":"1ffb769cb74f6e848a90977b96b5fcec66e00e8ba23f5c1a4fe442288eef2493"},{"bytes":534219,"path":".materialization/shards/model-00078-of-00120.safetensors.json","sha256":"ff215ea0a4fa6230abf2712ec63f17c6f672dded395bb3531d8c211abf5a4304"},{"bytes":511718,"path":".materialization/shards/model-00079-of-00120.safetensors.json","sha256":"35c16d1ff4827312c2cd40e435bddc03a803e9b1a08d898987e3d9e673423715"},{"bytes":535875,"path":".materialization/shards/model-00080-of-00120.safetensors.json","sha256":"1500c89f765f2807c52c408b0bd72826d50c6eb2cec030521b3325430bd0ad2b"},{"bytes":510022,"path":".materialization/shards/model-00081-of-00120.safetensors.json","sha256":"524b750e2684840aa95e06f7fed8aab4a6908cb019ef6cf010b764b2b0458102"},{"bytes":535851,"path":".materialization/shards/model-00082-of-00120.safetensors.json","sha256":"3febf8cefa4f8a0823ce773190435a80863bbd721a7dcac20b74644b4b18618e"},{"bytes":535563,"path":".materialization/shards/model-00083-of-00120.safetensors.json","sha256":"bbf37f5ddb8490fd85ddf3df51a0c0ced34b928464bb9b10a271cc335c6b83d6"},{"bytes":510374,"path":".materialization/shards/model-00084-of-00120.safetensors.json","sha256":"0f9981fa883c348642c735d87809908ad7eccad414c0deae29f6fa6e3dc8c638"},{"bytes":535875,"path":".materialization/shards/model-00085-of-00120.safetensors.json","sha256":"cefe465f7910a51bd80efa3ece377dd6d75b8b3f6a694350160ef207da458cf6"},{"bytes":534939,"path":".materialization/shards/model-00086-of-00120.safetensors.json","sha256":"c0949f39be57d6de4ca1ea4018fd6bfec22f388f3a66bca809582f845b790668"},{"bytes":511026,"path":".materialization/shards/model-00087-of-00120.safetensors.json","sha256":"a22a40e918551b7e1ebb4e3bca3cd96c79d24aa76906b40d7a819e96b1eea58c"},{"bytes":533291,"path":".materialization/shards/model-00088-of-00120.safetensors.json","sha256":"ad009d666b4fa9715614d90261b210e9fa97dc96a12efefec36c9519c818aeac"},{"bytes":531803,"path":".materialization/shards/model-00089-of-00120.safetensors.json","sha256":"068da6054f6be308f6f6fa97239a7f7fea46a49d4bb371970a5d2356555c60fb"},{"bytes":511260,"path":".materialization/shards/model-00090-of-00120.safetensors.json","sha256":"a1b3e5529b0e1474ee6375c536104fe5f72a19ea6a59960ef6a33cdea5beab8f"},{"bytes":535851,"path":".materialization/shards/model-00091-of-00120.safetensors.json","sha256":"3c7f9a4ac82c180b29d8c25ae35a51df8767f515dcac9c67dd782a249e697108"},{"bytes":510022,"path":".materialization/shards/model-00092-of-00120.safetensors.json","sha256":"33d7d5fe815f600493bde03df7442d7b2cf1f4d39ad26e01c6f7ea97332181b1"},{"bytes":535875,"path":".materialization/shards/model-00093-of-00120.safetensors.json","sha256":"36fd776f87fddafda48ef9a99dd65f0c7beb0fb09eac8a33babd33fa423f5c59"},{"bytes":535683,"path":".materialization/shards/model-00094-of-00120.safetensors.json","sha256":"405cb805af678eeeddc4423f5cf9449a3ab3a445ae818a649180b0b25cdfd165"},{"bytes":510254,"path":".materialization/shards/model-00095-of-00120.safetensors.json","sha256":"2e6283cb01dcaf4030d1ff3ce4f25d94fe0bb648783ac71cc51b4b6d2590322e"},{"bytes":535851,"path":".materialization/shards/model-00096-of-00120.safetensors.json","sha256":"73828ad22dd3011d9df1f0d52f3d0c8561e7a4d45ca86e558551b8d9f8f00fe2"},{"bytes":535059,"path":".materialization/shards/model-00097-of-00120.safetensors.json","sha256":"a2d06e799b3f03f35c8566696d08f3fc8a1572de9de51a046754adc05e3bfa44"},{"bytes":510886,"path":".materialization/shards/model-00098-of-00120.safetensors.json","sha256":"71ca94c8d0d7df0d1eab2a1d1e9a45ca251c18abdc3f6b3c746374bf8aa644dc"},{"bytes":535867,"path":".materialization/shards/model-00099-of-00120.safetensors.json","sha256":"2a02fb2af3083610f3fbe051a641a3c8c4fb80e6d0e4ce24331bff1612924616"},{"bytes":534451,"path":".materialization/shards/model-00100-of-00120.safetensors.json","sha256":"f5448b63555d18468904a19591ceaee14f4885f92c29cc8b7d74bbfee66353cb"},{"bytes":513024,"path":".materialization/shards/model-00101-of-00120.safetensors.json","sha256":"f99a0c865757ceb105d64d44724bc997d818978e633b5f89f42cc53ee39a3348"},{"bytes":535875,"path":".materialization/shards/model-00102-of-00120.safetensors.json","sha256":"36fecc968b5d60c7e9d7a26b0c3acb0c7829c7150eb1a08403e7db2e0987b166"},{"bytes":502500,"path":".materialization/shards/model-00103-of-00120.safetensors.json","sha256":"7a739335a53fc49fe54371e9aa9d8d40df8d746cbd9548f11ca4cce92de2496c"},{"bytes":535819,"path":".materialization/shards/model-00104-of-00120.safetensors.json","sha256":"eefb364739fb126393e649631845bba544c71b24bd5f220e198149ab8b4760a4"},{"bytes":535771,"path":".materialization/shards/model-00105-of-00120.safetensors.json","sha256":"67cac41752379d844efd1fcdec4ea8e4c302e241302660727e24827fd2964365"},{"bytes":511365,"path":".materialization/shards/model-00106-of-00120.safetensors.json","sha256":"57734229ac3b02140e513d0bfa81723b25d8bb17856f45a6833dee00ab6bec35"},{"bytes":533315,"path":".materialization/shards/model-00107-of-00120.safetensors.json","sha256":"7e44434bae18c4bab9e41760c5b4e784430c153162b4c2c13deab19df629774a"},{"bytes":532643,"path":".materialization/shards/model-00108-of-00120.safetensors.json","sha256":"5f561d9d726b3b114088ead3a8a4a069399d037bfab5ae9c38a0db06089f7c96"},{"bytes":508262,"path":".materialization/shards/model-00109-of-00120.safetensors.json","sha256":"ea22c6234feb136188ee0c31d7a3ec5bc12944940da201ed3d11234b91805dd5"},{"bytes":533315,"path":".materialization/shards/model-00110-of-00120.safetensors.json","sha256":"45f4f539f8d355d7b1d4362cd0e95d321c09aa3aba7b764dc453a49e106b1927"},{"bytes":532051,"path":".materialization/shards/model-00111-of-00120.safetensors.json","sha256":"f96e849ada435b0b92876f36d923417fff687509a0bb4accdc235899c480bbe2"},{"bytes":508870,"path":".materialization/shards/model-00112-of-00120.safetensors.json","sha256":"4a5064c1a21905ac00b00a48e7fe5bec3fad496beaec9e9491992a4b690e4fe8"},{"bytes":533291,"path":".materialization/shards/model-00113-of-00120.safetensors.json","sha256":"2abe6623a705200afca4e58c08c6f9a067fef20d174075783a3581b81e03c6e7"},{"bytes":528567,"path":".materialization/shards/model-00114-of-00120.safetensors.json","sha256":"f792a91136ab2bd70bad63331adcda728fb3a2eb71dfd886d16aae7d38b2b5f0"},{"bytes":513887,"path":".materialization/shards/model-00115-of-00120.safetensors.json","sha256":"970721ee8cf97f5d2fa1d66f1aa0eec1011cdfb83c60851824126fd7e2abb84a"},{"bytes":533331,"path":".materialization/shards/model-00116-of-00120.safetensors.json","sha256":"9844a9640265951c0817114d290380acaf92a9a7f2dcaa124800162e2fe38dc0"},{"bytes":507566,"path":".materialization/shards/model-00117-of-00120.safetensors.json","sha256":"3e29504486877265861ffb6e5653984c9ed21eb21a2f0b0b1d777cfb9503b799"},{"bytes":533291,"path":".materialization/shards/model-00118-of-00120.safetensors.json","sha256":"8be4ecc40a57e7a2c59f444d4621c64548eddd6314aca3dcabf20ad2891cb88d"},{"bytes":532763,"path":".materialization/shards/model-00119-of-00120.safetensors.json","sha256":"e16b7191616ff1effa78859b5ea9e5db9e9f516d13292a37a4850848f757e2fd"},{"bytes":384527,"path":".materialization/shards/model-00120-of-00120.safetensors.json","sha256":"14e78d614464c3395ed1810b5c05d553cb3031b3ae77269babb787936a80d613"},{"bytes":1070,"path":"LICENSE","sha256":"30b85b6b9659f2e78aa259f8faf5d920a68dee7c9ced3fa6dba1f19f2bc4fca1"},{"bytes":3157,"path":"README.md","sha256":"a24ed04666047362a7ca6b8798453996631e977633f2e3b10b5ad1aaea815750"},{"bytes":8617,"path":"chat_template.jinja","sha256":"41cff9af7b3a86c96751b107a8444f245fbda0bd5320b636a5bb1f7f4ba1a5c3"},{"bytes":6220,"path":"config.json","sha256":"4f5341e048984459471bfb9c894e6bf87e69b9c67402672af901631d1349f265"},{"bytes":943,"path":"exl3-mcg-storage-abi.json","sha256":"c51ff4803f8d0bc69b2ef57ec2f5d72129a5e28e0161221ffd2977eba35a0e69"},{"bytes":194,"path":"generation_config.json","sha256":"230c30609ecbbb9e6583bedde8e7bdda0c6eb8fe5fad0eaeb3d1b293d751cb4f"},{"bytes":26933,"path":"materialization-receipt.json","sha256":"afe588284702c0676b7af5df48bc0e0568bb42b1821808ab71c6dfa1f0c48b61"},{"bytes":4113768668,"path":"model-00001-of-00120.safetensors","sha256":"46cc9e99897500fee92f2f08c95665cda51a704f835548465a1023cd4db63ef7"},{"bytes":1346273248,"path":"model-00002-of-00120.safetensors","sha256":"b78eebdbee138150d310d7c655baae1ea31720b8ad53f39389b1679ce0f51552"},{"bytes":1346272832,"path":"model-00003-of-00120.safetensors","sha256":"d377c4b645e7283f21370a1d12d90f238ec38194f78ddc483aea6be45c0db2c6"},{"bytes":1591900800,"path":"model-00004-of-00120.safetensors","sha256":"65f841ba0f3449b18af49eca276db6047a78088a3ff293f9edd41dcb4082af65"},{"bytes":1346273256,"path":"model-00005-of-00120.safetensors","sha256":"d0425becf2a42244527553a983b269e2656521069c6e9467d0ce6912dd2fee80"},{"bytes":1346272536,"path":"model-00006-of-00120.safetensors","sha256":"3f6ded63fe3fe96a176c1ffad431c2e7350307238a89fb89ac3947605ea4d72a"},{"bytes":1570455356,"path":"model-00007-of-00120.safetensors","sha256":"a8e2cf2d869afb825934ad43bcbbf7e16132bdfca8443ca52a39c46b36f775cd"},{"bytes":1346273256,"path":"model-00008-of-00120.safetensors","sha256":"eaaf3e209d6bcd37efae31e10fbbc822755629a701076ad9a527d80c216810d5"},{"bytes":1591900360,"path":"model-00009-of-00120.safetensors","sha256":"ad30bcac854cc303563eb2f280439bf86d7b56c81a43e00175fecd55d63f9905"},{"bytes":1346273272,"path":"model-00010-of-00120.safetensors","sha256":"35530edfbce782687f3b06b85f85f34decc537a53015c0bee1a4caf82c7cc78b"},{"bytes":1346273168,"path":"model-00011-of-00120.safetensors","sha256":"686f13c8151614b4d85c02c20e8a786bdfa1eac82d8260bd8d877833db346288"},{"bytes":1591900432,"path":"model-00012-of-00120.safetensors","sha256":"79a19881d8a37ac0afbcd0b0e77ea45150900467b43ae0b412288ce82154a718"},{"bytes":1346273264,"path":"model-00013-of-00120.safetensors","sha256":"d07940d68fc7b90f99eca406819e4bcd94995a909e32f0f3d15f3251c8f06552"},{"bytes":1346272888,"path":"model-00014-of-00120.safetensors","sha256":"ca3290268d136656a2b8eb56328fcf275824bcd60c269a39d9b1ee02d29d42fd"},{"bytes":1591900736,"path":"model-00015-of-00120.safetensors","sha256":"2172d6d1c76e4d79d0d6147e693080a1ee2fd2761518764ea7ae42d6e21816ca"},{"bytes":1346273240,"path":"model-00016-of-00120.safetensors","sha256":"b33392a8b5f66e82115d1c7bbe830945fdda9b5b3a2d5094c9e8f7120186d09f"},{"bytes":1346272600,"path":"model-00017-of-00120.safetensors","sha256":"b198f9d0606953932f131b3d1124488702280ca55627d5c9156823a87a56144b"},{"bytes":1570455308,"path":"model-00018-of-00120.safetensors","sha256":"b98e6fa60d19eeabe5f937dfa5cde62ee0cffb7e8687f7c6e8e54be797e76cfd"},{"bytes":1346273248,"path":"model-00019-of-00120.safetensors","sha256":"1ac4f98e4a16f9f620d83a51353a5b3ae4af05055b7777633981a930f063a9a4"},{"bytes":1485484468,"path":"model-00020-of-00120.safetensors","sha256":"db5f5e4bfe9704b55cad6fddcbeb0b50c0f0d760af247f13ea78e6b9a13bf5e9"},{"bytes":1444278044,"path":"model-00021-of-00120.safetensors","sha256":"94abdb9997af61ed92f43d58c73c96947add0ac1580c2255eaba2b254aa34782"},{"bytes":1346273248,"path":"model-00022-of-00120.safetensors","sha256":"d1c09ce5b40bf2f976a6918188b10382735be8f9d936fc7d9e3d174d67fcb193"},{"bytes":1591900368,"path":"model-00023-of-00120.safetensors","sha256":"e75296748bb0940bf8a45e3743444d46404a0984c25164212764211d07ea5c3a"},{"bytes":1346273240,"path":"model-00024-of-00120.safetensors","sha256":"f9fa4d4312b74a757befe4f488dab56370a9c21771a86c2b92e3ac74ed068863"},{"bytes":1346272968,"path":"model-00025-of-00120.safetensors","sha256":"6f94c10adb857a39f5535be2b50b8037d08c798f13df4eb934fb9c14d44e9962"},{"bytes":1591900672,"path":"model-00026-of-00120.safetensors","sha256":"0c65f0517b61444c2b9c243ed5a97a6b2aec76054da36c2ef23b7d0263d0f1f4"},{"bytes":1346273256,"path":"model-00027-of-00120.safetensors","sha256":"af324d2631116bb4ca61b15578ac270874ce82035cb262e1adcb4056a76841b0"},{"bytes":1346272656,"path":"model-00028-of-00120.safetensors","sha256":"5e031de67c3c86ca62170a72c996c1cbd588a3a36b5a026dd0823e088793f196"},{"bytes":2006477724,"path":"model-00029-of-00120.safetensors","sha256":"bae837ec87eca4b857597783fc9035d4fa6e049addd4a1f46c052de1a31bb6da"},{"bytes":1346273256,"path":"model-00030-of-00120.safetensors","sha256":"bbe67349b26057fe942bfce9fdff6422a9b822924b2445bbde7c2ca4c974c707"},{"bytes":1346272488,"path":"model-00031-of-00120.safetensors","sha256":"3aebbcb6ef80e74313e015c5ce828bb09fb02d65256e2567bf6bee2d1bdcf887"},{"bytes":1591901144,"path":"model-00032-of-00120.safetensors","sha256":"cb9063b4790ac8ede704b801aabf416adfbcc2cb4c3cece85d499ffd710b5f00"},{"bytes":1346273240,"path":"model-00033-of-00120.safetensors","sha256":"598e794cb00fcb85f20ff6e701e5a98a601b19681d77c11c370081b8836d0417"},{"bytes":1591900360,"path":"model-00034-of-00120.safetensors","sha256":"fe68ce83f4b32da0cdc5f6803ae4ac977f2e0b007df627dce80ac93b3fd88817"},{"bytes":1346273272,"path":"model-00035-of-00120.safetensors","sha256":"5c439c150741aa601c9f8f8a8f0bb650a59deb9d66e018e3e003baf97551a0e2"},{"bytes":1346273144,"path":"model-00036-of-00120.safetensors","sha256":"bba2d7a1df63672dd6400c74bd07352698bc9e74497812963d76f6c379a4fcb7"},{"bytes":1591900472,"path":"model-00037-of-00120.safetensors","sha256":"39ac664b9906d0970fedd207c20fe8b54cd16703ba765db4de332f2f3a4ae24f"},{"bytes":1346273240,"path":"model-00038-of-00120.safetensors","sha256":"26b70b8b61940befb31f4bf5956dfd9dc89500bddb36b4e79eb046ab39000412"},{"bytes":1346272864,"path":"model-00039-of-00120.safetensors","sha256":"c2599dd1cdc04c23c3383ecccad7d50d11d0e52c6602574bc1da2428e84f7028"},{"bytes":1570455044,"path":"model-00040-of-00120.safetensors","sha256":"e109dbf65aba7827809cc67334065364a1684715179b31311e0a31c00d8dd48c"},{"bytes":1346273248,"path":"model-00041-of-00120.safetensors","sha256":"bb85b908911687c0e276e43e81b5a4a265a87c00965324532681097ca491bc9f"},{"bytes":1346272544,"path":"model-00042-of-00120.safetensors","sha256":"a017885e30064729e5f70cbaeda434663c6c382aa9d2ba2a73f820a8cd5b6bbe"},{"bytes":1591901088,"path":"model-00043-of-00120.safetensors","sha256":"04f3aeccb23c779ac9e6be9e952418b95cac19327e7873dce5f69e4ad728f6e0"},{"bytes":1346273256,"path":"model-00044-of-00120.safetensors","sha256":"fa5a385f7a8220ed99bc081f2fe26a07c480a3da7f497be57cf95f96ceb1c34c"},{"bytes":1591900384,"path":"model-00045-of-00120.safetensors","sha256":"b0b508dbd6217fe861a68bd8890415fc0f97404ed9ea7155adae9476b12c27d0"},{"bytes":1346273248,"path":"model-00046-of-00120.safetensors","sha256":"c0e27a8d0a9e4521e96f17ad0e40de8152ddd8c26f7739520cc052069e4432f7"},{"bytes":1346273192,"path":"model-00047-of-00120.safetensors","sha256":"5c471e0726598af910a1d5c895eca9bf41afe1e45311ee0dc962572b21097f2d"},{"bytes":1591900416,"path":"model-00048-of-00120.safetensors","sha256":"1d957114322b3d9dbb4cca73d9bba9cf628ddc7f5a6dd1d6af6224eb6aff003e"},{"bytes":1346273256,"path":"model-00049-of-00120.safetensors","sha256":"895d22c61a559667d84ac65dcd3012de18103738d3660c0c84db0b90e29c7e32"},{"bytes":1346272920,"path":"model-00050-of-00120.safetensors","sha256":"c2bd099b71e35b8af36785f23e025c8b3ce393197b801cd3e53ee33e9be71531"},{"bytes":1570454972,"path":"model-00051-of-00120.safetensors","sha256":"1c30583b2edd80ed55db4086e1b846f7a9de54f7996bfa07e2ac0039f702c10a"},{"bytes":1346273248,"path":"model-00052-of-00120.safetensors","sha256":"7c800f2f476cff08606cc3b036571d43ea501518fcba658aeda5db0fce815346"},{"bytes":1346272616,"path":"model-00053-of-00120.safetensors","sha256":"43acf4bbb16dda6f5a7c31240108bad19c64ac5eb9d20022321c4eeea48bc991"},{"bytes":1591901024,"path":"model-00054-of-00120.safetensors","sha256":"98bb70809af0d4d3177a377eefcbf728dd7fbd9e3891f130c05c66d29cd04860"},{"bytes":1346273240,"path":"model-00055-of-00120.safetensors","sha256":"285c605b3391fbca1a40f28fdb6c1856a155ccfe6de43eb59e11033360dadf51"},{"bytes":1439345368,"path":"model-00056-of-00120.safetensors","sha256":"6f825c25cd071930e7cbec832fe71a65767024b6853bdf554a9dd6534d0cd25c"},{"bytes":1494623036,"path":"model-00057-of-00120.safetensors","sha256":"9c7e6d5fd6d4138fde51eef51a83ff8a33424294c44d52d1b62b42ddb79ada4d"},{"bytes":1346271976,"path":"model-00058-of-00120.safetensors","sha256":"0b73d4dc1f373046f08a000d60484a7cf5335c4b0a1e4588d0cf8089f3ed75f2"},{"bytes":1570453660,"path":"model-00059-of-00120.safetensors","sha256":"c5e83b54c3f1912aa5fd35f1c3170415f54708887f6f358cb1eac0b93391394d"},{"bytes":1346273240,"path":"model-00060-of-00120.safetensors","sha256":"c37b7e82d16a82243664ecac9e417a815195e1c26d9affe2ce681bffcb2fa046"},{"bytes":1346272976,"path":"model-00061-of-00120.safetensors","sha256":"ec26e65bf26f2dadf4e4c7aeefe48acbd9b677a3d03ba0d3229f1cc796647bb4"},{"bytes":1591900664,"path":"model-00062-of-00120.safetensors","sha256":"98c6427e9b22529ea985aa5d343e24055d3fd570b866e4d8dfb8f0b9470caedb"},{"bytes":1346273248,"path":"model-00063-of-00120.safetensors","sha256":"dacdd78b8a4f74ea5502d28b0a8d0c632a05252e095abc6245f0a63bdbd57a46"},{"bytes":1346272664,"path":"model-00064-of-00120.safetensors","sha256":"7f134d623d5f229cb4732905ceb269404e1b00a72b8c25cc4f09d1e8610aabc5"},{"bytes":1570455228,"path":"model-00065-of-00120.safetensors","sha256":"16661291a3d218f765edcb3831ff9426af21d6d56e6d8082b194e5cac9348109"},{"bytes":1346273256,"path":"model-00066-of-00120.safetensors","sha256":"e8c5392e733bd98d5d9f38d47e18cf6834bcbc0b8d24937c42d36ebc60604910"},{"bytes":1346272368,"path":"model-00067-of-00120.safetensors","sha256":"f2fb7876facab2bbb569fe94ab41dd1e71c50a3811853bf37688e5ebdc5813c0"},{"bytes":1591901272,"path":"model-00068-of-00120.safetensors","sha256":"abc3009f10522e97eedbcd34903e3aafa55f7d72efa4ff3db4b5c4fb28259ca1"},{"bytes":1346273240,"path":"model-00069-of-00120.safetensors","sha256":"ee4f3cb631ca5b0552fab89a3ef05ed0d8dab5ee0066fa245af479c962071e53"},{"bytes":1591900360,"path":"model-00070-of-00120.safetensors","sha256":"8b60971fe302e1bcf1bb7da900276a3f26fcd38b10d6760330ee59ea8df7a589"},{"bytes":1346273256,"path":"model-00071-of-00120.safetensors","sha256":"9fb9f3581b0a09d43e94e0476b9fa0971b3ab30b3d980bf6bb0814fb92db82d4"},{"bytes":1346273040,"path":"model-00072-of-00120.safetensors","sha256":"caec81374ed646f0d7953f81565438ce18dfc11197cbb1a442b557cfb907dd23"},{"bytes":1591900600,"path":"model-00073-of-00120.safetensors","sha256":"313e11a85717e5fe56c6901f16c10aab760619b7655d355185a17dcb6986397a"},{"bytes":1346273240,"path":"model-00074-of-00120.safetensors","sha256":"3c22a6012bb34c264869fd8a93ac019175f22d9d255cdb1987d25572f6ebcb37"},{"bytes":1346272736,"path":"model-00075-of-00120.safetensors","sha256":"55992a5b643dad0a06c6bd8e4a13bac8980d31f3e773d56cc86a0c36543c02e5"},{"bytes":1570455164,"path":"model-00076-of-00120.safetensors","sha256":"3dea15fd98ef8c45a23876a3dd1f3f6c06feb6c5e3a35b29dde93a82196e9f63"},{"bytes":1346273240,"path":"model-00077-of-00120.safetensors","sha256":"fb6efae4033a54282fa0f779ce41dd64edff903621e829e23c28f2423f032059"},{"bytes":1346272424,"path":"model-00078-of-00120.safetensors","sha256":"1f231a1c8149307a14c940df734637e03b0cad5db40e4165c69b9a5e817471d9"},{"bytes":1591901208,"path":"model-00079-of-00120.safetensors","sha256":"84eb7df2440c3fe0cad633bfdb05fc1f9f4a69514d33a3c48e08f751e8729b03"},{"bytes":1346273256,"path":"model-00080-of-00120.safetensors","sha256":"1008d2f310da3804fe85ca18c86f7f40c7e7005afe3edd0e17bff9207edb15cd"},{"bytes":1591900360,"path":"model-00081-of-00120.safetensors","sha256":"30bb97e87009412ec4445773ab5dde2267f395290a37ea204b0b94fb78b06c16"},{"bytes":1346273240,"path":"model-00082-of-00120.safetensors","sha256":"6314d366c0a954e7a8beed9ead7389dc5c9ec6a78667f63778edb68a1ec5a5a7"},{"bytes":1346273096,"path":"model-00083-of-00120.safetensors","sha256":"424127fa0a70e70d5073200c3ede1097dc31345b67309e9c1ca14fc1d2c601c9"},{"bytes":1591900536,"path":"model-00084-of-00120.safetensors","sha256":"8f5be1a45eeafd520fa3e0adceffb15cceaa6510c61d032475f017966885c248"},{"bytes":1346273256,"path":"model-00085-of-00120.safetensors","sha256":"22722c615db28a151620c8a6d11714f6de26bc386f3d495a89666191122ee1bf"},{"bytes":1346272784,"path":"model-00086-of-00120.safetensors","sha256":"dcd025dc9e48dd3744996a3b9d337d3c8636c46591e80ab6cd489aac78b61b76"},{"bytes":1570454348,"path":"model-00087-of-00120.safetensors","sha256":"c00bdc2031dd9c042fcf56613979d029256c2c337c6dddf61f6e5efe18e6c883"},{"bytes":1346271960,"path":"model-00088-of-00120.safetensors","sha256":"147abc2a72e6eea5941cd03175febb962a81d068a2872c6594bef6f3e5535007"},{"bytes":1346271216,"path":"model-00089-of-00120.safetensors","sha256":"5d2ec3fd271c7a2ec4161f4e5bf2c14eef7f549ae1a6d39bb666614e26d2dfc1"},{"bytes":1591900984,"path":"model-00090-of-00120.safetensors","sha256":"2bb2e9ab785905faaeeb8b6a3df7ff2f7ae246fb1e3f51fd4cfd0b3af94e44f1"},{"bytes":1346273240,"path":"model-00091-of-00120.safetensors","sha256":"8ccbc08c9dbcd37d1ec6cfd772667b12cd521bfd4dc05113e7e9f0ce1d2b9603"},{"bytes":1591900360,"path":"model-00092-of-00120.safetensors","sha256":"20422d9ea7e0997852897daf8e6c84b420c9c8b3a700b301f416091cdb8e4efb"},{"bytes":1346273256,"path":"model-00093-of-00120.safetensors","sha256":"753329dbb8d2b4efc7cf4ca7fe9b1455e0128cbe725a98fc91a05fcf38d616d9"},{"bytes":1346273160,"path":"model-00094-of-00120.safetensors","sha256":"f08e09cb29e5c1ffc05b128d581e815914ced8f30949a1e2e114470dbbba2dbd"},{"bytes":1591900480,"path":"model-00095-of-00120.safetensors","sha256":"c08536722ef0a2cecb5a5d843fd0086275c329918eff733676af1cb6bdb99abb"},{"bytes":1346273240,"path":"model-00096-of-00120.safetensors","sha256":"fafe3a925e795c9b570c8eefeb0ea492df97e941f23e2e7e8206ded8cd28933d"},{"bytes":1346272848,"path":"model-00097-of-00120.safetensors","sha256":"e616de880c9587930ecf502799255189c0f03e102273ade47dbc104c136e92c5"},{"bytes":1591900792,"path":"model-00098-of-00120.safetensors","sha256":"7c34ac45ffba12a049c0b563cd002a50d1fb6ea9dc80c6c23203c43d5768705c"},{"bytes":1346273248,"path":"model-00099-of-00120.safetensors","sha256":"9693db794a7992532a96bd0ea185a49a76c123fb50f7bcf4fff0902847e0c6ed"},{"bytes":1346272544,"path":"model-00100-of-00120.safetensors","sha256":"a19fb303a9814d5082fc3fd5d69127bc6724bf574276e6d18918b56ab46e8eee"},{"bytes":1570455348,"path":"model-00101-of-00120.safetensors","sha256":"c24ca6ae7ce061eba28d302b878700d30ec22656a69a3db53bbb4ac4ad1ae961"},{"bytes":1346273256,"path":"model-00102-of-00120.safetensors","sha256":"b5c8396800acefb6d0bc7a0a48cd055d28faa94dc2bb34f1867a58ec83991028"},{"bytes":1640623840,"path":"model-00103-of-00120.safetensors","sha256":"09139292ba5af27e66767a6860a53b7693f091c513bac154c32d44b408783738"},{"bytes":1346273224,"path":"model-00104-of-00120.safetensors","sha256":"b0af3c5b38f078c72d405319fb47ca4c7ef74324266106ca3962ae63dc6e0a28"},{"bytes":1346273200,"path":"model-00105-of-00120.safetensors","sha256":"f475efcce530b46749e9ece468b65a5aa65a073b7fcec00c22aec5b02e4e7782"},{"bytes":1570462668,"path":"model-00106-of-00120.safetensors","sha256":"1059fe4a53c233b1fdb28ae431d61190c6491f55223c58c0660dfead53be7bc9"},{"bytes":1346271976,"path":"model-00107-of-00120.safetensors","sha256":"57e1f99044388f5c0e5b422d678e9477475dc170dcc97b654f931e3ef9facfee"},{"bytes":1346271640,"path":"model-00108-of-00120.safetensors","sha256":"286de5d27896da595638cc5aae2e390bd7676e0d450f490842c165975febff5f"},{"bytes":1591899480,"path":"model-00109-of-00120.safetensors","sha256":"b41955ae5e684cff92ae005d27b626b2abbe72fc1ad0e9b273b6d71ca3a74b66"},{"bytes":1346271976,"path":"model-00110-of-00120.safetensors","sha256":"b2bd23f9b6d11910f9b7f9e4951ae254bc64c1844a2541de48cd4ac6755d0abc"},{"bytes":1346271344,"path":"model-00111-of-00120.safetensors","sha256":"091e1d588b899c5369b713a053a7bc76ad35bc93a81af20961167f89bc953b1f"},{"bytes":1591899784,"path":"model-00112-of-00120.safetensors","sha256":"8a7c2486aa93f1c952da2ffd6137f2f38b443e21923c5f640edcaab6c340d4a1"},{"bytes":1346271960,"path":"model-00113-of-00120.safetensors","sha256":"8f3205a5dd7e9162c2ec89e19b82c10fcdd41f716b101322833f33cc27aed753"},{"bytes":1397079148,"path":"model-00114-of-00120.safetensors","sha256":"e3cf6f9ea4e07df98a3bc4cbac85f9228ff3e9fd45f02f8735672d27f81a9404"},{"bytes":1519648072,"path":"model-00115-of-00120.safetensors","sha256":"347b2e08fca7a5bbe63e39e2bd225fb0af5a7ff318120cf7e5289c4ee2a72c23"},{"bytes":1346271984,"path":"model-00116-of-00120.safetensors","sha256":"3d9c0120686a8db80f7c6bd5c1044e737a4a8f5dc8f4111038308aa0cf80d88f"},{"bytes":1591899136,"path":"model-00117-of-00120.safetensors","sha256":"48eca9375a20c8f8c6435ea6e4ee709238680873967408dc0ba499179e7b7da5"},{"bytes":1346271960,"path":"model-00118-of-00120.safetensors","sha256":"f7df8825ffec03ac813ecfabc62f9a416c8884d11aa35da655f322a6b6870817"},{"bytes":1346271696,"path":"model-00119-of-00120.safetensors","sha256":"8e393cfce320eba98c19f69574725ab1aa5153d710eaa651df5e2c35bfeca1ae"},{"bytes":2137038104,"path":"model-00120-of-00120.safetensors","sha256":"15ffa59ac9a36b7f0fbfabdea893dfc6b6db4dd921d7a291b0056062d6937dda"},{"bytes":15576722,"path":"model.safetensors.index.json","sha256":"2f64d21c67c90bbafeb36c4e9b2f06f54063ed439e9f7cf95962d425a1d8515d"},{"bytes":909,"path":"processor_config.json","sha256":"aae38374c94b08cc9b0547c6e64f05b951bd9735cea571c6988f5ed552bed3ed"},{"bytes":361,"path":"provenance/source-model-revision.json","sha256":"5d9aadd98432da86c628866dfd2944084a5b00f208bcbf7de10518994159e699"},{"bytes":413,"path":"quantization/recipe.json","sha256":"22bcfacf0f7e492ecd571f6f19819656ede91b6cfc1c0abb4ae5bf4a0a0df8e5"},{"bytes":37707425,"path":"quantization_config.json","sha256":"1e5cdf56da1929c2a7d8982085324de05bb92144882792f034239e289316c645"},{"bytes":750,"path":"receipts/checkpoint.json","sha256":"efeaed9daed88eb567df5518f1418f0ebbe5c03132a35e70f7506ab90a04efbd"},{"bytes":9447,"path":"runtime/scripts/qualify_glm53_custom_tp2_runtime.py","sha256":"a0e1969f977f926a4477db8fbad174a9ecdfab62c547b051e0e6cd5e3c79bd2a"},{"bytes":3250,"path":"runtime/scripts/run_glm53_custom_tp_runtime.py","sha256":"7c83b2785d338dcaff8a5fe3b87b2957dea6ea8c1c31ddb02465b797f4c4647e"},{"bytes":80,"path":"runtime/src/quant_pipeline/__init__.py","sha256":"c1d7fb3aaa98d2baa24064ad19c91336ecbb89b35e446500e06bff9a1b61045e"},{"bytes":1,"path":"runtime/src/quant_pipeline/allocation/__init__.py","sha256":"01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"},{"bytes":5264,"path":"runtime/src/quant_pipeline/allocation/global_dp.py","sha256":"09fa93212c4400f5dba4f47be95a22a52d97c923a0889e2c104e4f54581e0a2e"},{"bytes":2007,"path":"runtime/src/quant_pipeline/calibration/__init__.py","sha256":"b9e11264f116c3ee55d30f4c35080d7e266851b4325742b8e4a58f7e328d5ea7"},{"bytes":94130,"path":"runtime/src/quant_pipeline/calibration/fitter.py","sha256":"038a40c84ee23ab46e8d7e7aefa92fcfe4008c9d0c7204c006481f9c1ce50ba8"},{"bytes":21303,"path":"runtime/src/quant_pipeline/calibration/glm53_capture.py","sha256":"ccb49f16c91b37dcbd235af18de422a7b54773d32f11a3a958172b984fb6c161"},{"bytes":15362,"path":"runtime/src/quant_pipeline/calibration/glm53_mtp_capture.py","sha256":"c91df3cc86363a325a2334291ba6171cf2d5e9cab2d29bb7b09268c0795c2d05"},{"bytes":41337,"path":"runtime/src/quant_pipeline/calibration/qwen_capture.py","sha256":"86a6f7dc01961f6117a880c4dc8ce394af6a31ce821aa32d73ffcf091e2d3a73"},{"bytes":26294,"path":"runtime/src/quant_pipeline/calibration/route_mass.py","sha256":"84f3bc4042b36f9002ab49084ad5629c627ab4e2415651d416b9f96c4e1ca0b4"},{"bytes":6950,"path":"runtime/src/quant_pipeline/calibration/windows.py","sha256":"87cab3cc4dce85458d61e93baac28dde9735335ba2c9b84178675b40d313a08c"},{"bytes":680,"path":"runtime/src/quant_pipeline/campaign/__init__.py","sha256":"6757125714ce3d4e6eb60cb73329d9bb6f64cb20ddf86306b4176a7159c0339f"},{"bytes":49009,"path":"runtime/src/quant_pipeline/campaign/glm53_direct_k4.py","sha256":"de572b6e6b88f00c183e26889fceaf1e94baed151cf3a372a3a5cfc8fbc663de"},{"bytes":23774,"path":"runtime/src/quant_pipeline/campaign/glm53_mcg_preparation.py","sha256":"fc5b456893454b2fa0dc234e3837a7894f48cda3cd96bcabfa22071e54f7552d"},{"bytes":27832,"path":"runtime/src/quant_pipeline/campaign/glm53_mtp_k4.py","sha256":"03bd9f5720a9c19e0dc5026fa78068fbc5fc433056a8a43b3e5e5427ff01627c"},{"bytes":27999,"path":"runtime/src/quant_pipeline/campaign/glm53_prepared_backend.py","sha256":"5b196e0892638f76d1a0a6d8cfacff8f7dcff28d10e1ae0c5636532275b34f9e"},{"bytes":10286,"path":"runtime/src/quant_pipeline/campaign/glm53_provenance.py","sha256":"f93faa0909667e3a71aab46fcc0fde52a7c724d7803cf68e32404ee0f65e29ec"},{"bytes":30486,"path":"runtime/src/quant_pipeline/campaign/glm53_uniform_k4.py","sha256":"a60fbee62ef2faf45b56157c8624a522deb72f6a325450d58c8ab395c4ba7ba5"},{"bytes":6374,"path":"runtime/src/quant_pipeline/campaign/glm_contract.py","sha256":"85d0c3644e380c2ba9017ca199a8caa77b719f4a7df6103e08ba8d3a9db13500"},{"bytes":43115,"path":"runtime/src/quant_pipeline/campaign/qwen_adapter.py","sha256":"1e2d5fed6d8ef3b6f354aa572646df37ba03065d9102cb60dfd07b2a84a5fedc"},{"bytes":41389,"path":"runtime/src/quant_pipeline/campaign/qwen_attribution.py","sha256":"70c0a088047164a98d830271e724a5e2ad36647ffaaccdd80111dc47aaf29854"},{"bytes":93202,"path":"runtime/src/quant_pipeline/campaign/qwen_services.py","sha256":"e8fd5f74f704b2b486bfe85093198c3b049125faafbe4e8f97ca14cea7babc5c"},{"bytes":30808,"path":"runtime/src/quant_pipeline/campaign/qwen_work_units.py","sha256":"a70323b46d86988bd27b5186d4d0103d1b0d0b755e636def7ffd4c7e2cbf2d5e"},{"bytes":107921,"path":"runtime/src/quant_pipeline/campaign/runner.py","sha256":"20e96288b145594e43428a91965f85979ffc7163688d286cd6867ee20dc07ba8"},{"bytes":2733,"path":"runtime/src/quant_pipeline/candidates/__init__.py","sha256":"4c74cc45cdefef59f07265d5996ea4123ba26fe6e69dbc5f54091c0082f47a8b"},{"bytes":14881,"path":"runtime/src/quant_pipeline/candidates/factory_allocation.py","sha256":"96fca4dbe7d85be45052d18c18ed461ad2c2303467c2cbe4b60b425e99813f36"},{"bytes":24214,"path":"runtime/src/quant_pipeline/candidates/factory_calibration.py","sha256":"c5b012837a683106ea21e4e52d5f7853e14eb414f9cc9f37047ebf94e6f9a0c1"},{"bytes":16583,"path":"runtime/src/quant_pipeline/candidates/factory_union.py","sha256":"2d6a1825c23b8149e208db26f302e4c2bf1339e3ec6f51e0784913f15c62b212"},{"bytes":144807,"path":"runtime/src/quant_pipeline/candidates/ledger.py","sha256":"f313d706df03efb5bd7fd06dd1a88ef749170ada6546240bfb02bced07d47162"},{"bytes":5012,"path":"runtime/src/quant_pipeline/candidates/payload_store.py","sha256":"e6450a45cffacc49da22bfdc1eeac70d4a00b884e5525af88a9293b4d46874d6"},{"bytes":385,"path":"runtime/src/quant_pipeline/capacity/__init__.py","sha256":"30366e8c26f27b770fabc6325b833bea97f32087a7e9b48bf0605f5f36ba5a9a"},{"bytes":8588,"path":"runtime/src/quant_pipeline/capacity/mla.py","sha256":"f45ef249c48131005580714888397840400f81e3c6f0caf023382fef1a8ab882"},{"bytes":1100,"path":"runtime/src/quant_pipeline/checkpoint/__init__.py","sha256":"97f1d9bb510eb7be6aeaac52e627ab645de01f3ff2788045087ce0e876ed9cdc"},{"bytes":46413,"path":"runtime/src/quant_pipeline/checkpoint/btx_qwen.py","sha256":"74cf73cf90a2c8d42e071ab10da343b3e4ae3666c848703287b53706d91adbcb"},{"bytes":10040,"path":"runtime/src/quant_pipeline/checkpoint/exact_payload.py","sha256":"65fd985494625d2b1e0541ae9106d57a085063f22df1cce2bf0307b63970e47b"},{"bytes":37041,"path":"runtime/src/quant_pipeline/checkpoint/glm53_mcg_materializer.py","sha256":"a9aad8da1d228afaf2edd2cd84a6657ac5b53628554e89918484aca20d602d22"},{"bytes":31800,"path":"runtime/src/quant_pipeline/checkpoint/official_btx.py","sha256":"19466f3fd531a03f7c43fabafe2ca395981d47cdd1ed818630a5fb80213817b6"},{"bytes":10456,"path":"runtime/src/quant_pipeline/checkpoint/packed_payload.py","sha256":"36f84586d89ae7816172929471a35dc81ec5beff63c47a68cca862b61a1dc4dc"},{"bytes":11585,"path":"runtime/src/quant_pipeline/checkpoint/reference_pack.py","sha256":"4a00fffddd2993998af7c3c660efbfdc4ea0abff96a17d60db969f193b3a60cb"},{"bytes":16525,"path":"runtime/src/quant_pipeline/cli.py","sha256":"d75754a774f21054d221b76ca82863da1fc343d409107eb925cf64ec67456fb9"},{"bytes":1,"path":"runtime/src/quant_pipeline/codecs/__init__.py","sha256":"01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"},{"bytes":8458,"path":"runtime/src/quant_pipeline/codecs/exl3_mcg.py","sha256":"13263a584125d0600a580eb63ba7397d4abcb70d8a0be4a3fb328c9ec53741cd"},{"bytes":644,"path":"runtime/src/quant_pipeline/codecs/protocols.py","sha256":"5615adfb8e39407a18b6ad6e4942985e14483eae7b4604bf6b85111441e1e652"},{"bytes":2973,"path":"runtime/src/quant_pipeline/codecs/uniform.py","sha256":"a1910785f0bab4f498563f135984f55c68735869203fd8d076ffcd9ced67c5ed"},{"bytes":1,"path":"runtime/src/quant_pipeline/core/__init__.py","sha256":"01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"},{"bytes":3014,"path":"runtime/src/quant_pipeline/core/artifacts.py","sha256":"b50023ac37b2c1bf78a1497e243ad8dab11330a45b12c2fd1d99af17470e2087"},{"bytes":66,"path":"runtime/src/quant_pipeline/evaluation/__init__.py","sha256":"a85ccafbfb64a7bb4dafd254966fcc5864056b6ed60dd68acee6b6a91a8092ed"},{"bytes":8849,"path":"runtime/src/quant_pipeline/evaluation/glm53_logits.py","sha256":"22d0bb24bd350cfe45f701a5f6e57bd0e6f17666ae8b7538abfc54b1d4845a3d"},{"bytes":25340,"path":"runtime/src/quant_pipeline/evaluation/glm53_packed_k4_reader.py","sha256":"994b211f75411a5b8a0f9242559adfa062c28284e5cf8b215df8dedef8e0583d"},{"bytes":6536,"path":"runtime/src/quant_pipeline/evaluation/kld_window.py","sha256":"dbe98e31e77e6feb60c95b8f1eaa2825328b28515be6add492fc88e5fa6b9567"},{"bytes":1,"path":"runtime/src/quant_pipeline/models/__init__.py","sha256":"01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"},{"bytes":8693,"path":"runtime/src/quant_pipeline/models/hf_capture.py","sha256":"72f151f612f4ed5d4de7f1dd4b2a0f63c3a787ad7d6a0a966cfbc3524cc20525"},{"bytes":10534,"path":"runtime/src/quant_pipeline/models/inventory.py","sha256":"c2f8344e2fe62de4a4b95b9e27866877005e268894ea52ca6218cb0ca16a7300"},{"bytes":2529,"path":"runtime/src/quant_pipeline/normalization/__init__.py","sha256":"8611f5f6678017e1e32f934ae659106eeed5ac376236450156616a0d56366a96"},{"bytes":22128,"path":"runtime/src/quant_pipeline/normalization/absolute_v31.py","sha256":"eb3dd0ea0a59e16085ffe116d692af6de84f0d6bb8a5482a69290a175c44ea57"},{"bytes":29068,"path":"runtime/src/quant_pipeline/normalization/artifact_v31.py","sha256":"d257d5f5e04ed7c2ec6341050c12015d0038428381d807505966139ba00276bf"},{"bytes":9990,"path":"runtime/src/quant_pipeline/normalization/prior_search.py","sha256":"d883764ff24fd2de0e7809bde20e3f33d0c8aa1122929b37e4b843912a85a1d5"},{"bytes":25990,"path":"runtime/src/quant_pipeline/normalization/streaming_v31.py","sha256":"573ded7f185316ecaf5a581f05b102b56d546e20bc1fd5a4dc73feae9a951da2"},{"bytes":56,"path":"runtime/src/quant_pipeline/publication/__init__.py","sha256":"fdf134e41cc7ab16d894259271eab7149131fa7ffdac7676f73c18b6edf6dac3"},{"bytes":17931,"path":"runtime/src/quant_pipeline/publication/glm53_hf.py","sha256":"bc561815be7a34e3f482aa372cc7e6600c3b368813e3fcfac42c400f8b36ac23"},{"bytes":15663,"path":"runtime/src/quant_pipeline/publication/glm53_k4_postmtp.py","sha256":"49f9917cb9b88fbeab1d6b88ab75b9d830a4a563d8f9f89490a2e9efc5bfecc2"},{"bytes":357,"path":"runtime/src/quant_pipeline/results/__init__.py","sha256":"0bc92706bc208a322b806de849e57b8ac7c39d3c90ed86934de6e69414b0ac07"},{"bytes":12980,"path":"runtime/src/quant_pipeline/results/ledger.py","sha256":"44fb83ded80dca0e115d9285b2143053339bbc4231f9fd112c739898637bc696"},{"bytes":459,"path":"runtime/src/quant_pipeline/runtime/__init__.py","sha256":"c44558f4859c2111808ab02d654214ce02a1a8d7559030cb7d684700d76a50c4"},{"bytes":43930,"path":"runtime/src/quant_pipeline/runtime/glm53_tp2_exl3.py","sha256":"11617266954541f4c7337bf90501ec6f540ae3a346c486d90bdbe3380d625e67"},{"bytes":1,"path":"runtime/src/quant_pipeline/scoring/__init__.py","sha256":"01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"},{"bytes":10444,"path":"runtime/src/quant_pipeline/scoring/attribution.py","sha256":"ff386c0463d135b1b6e3c67f5daa0c16847b206253727edd6a453386ae1d4be3"},{"bytes":2779,"path":"runtime/src/quant_pipeline/scoring/blend.py","sha256":"8beb3e84f9f11263bcc2b69bc122cdf09133289cdc992a6d75cef7c4137c5859"},{"bytes":2797,"path":"runtime/src/quant_pipeline/scoring/kld.py","sha256":"a43789dc10a504c8f3b13a9e760e323e443e95c551579a54b6fa1c210ffe0d3b"},{"bytes":4103,"path":"runtime/src/quant_pipeline/scoring/qwen_experts.py","sha256":"fc2787667aef44bf1705b1ef4bb7bae984782c92ac69ff314ab8bf60f471f80f"},{"bytes":3095,"path":"runtime/src/quant_pipeline/spec.py","sha256":"9aed1d7b7aa54f1d65ad01a61d1b50de20fb3c6ec90644a25e49e317628707fd"},{"bytes":20217442,"path":"tokenizer.json","sha256":"19e773648cb4e65de8660ea6365e10acca112d42a854923df93db4a6f333a82d"},{"bytes":761,"path":"tokenizer_config.json","sha256":"98b1271574f41abf89427ae2dda030d94dc9478f0edc5a8bd240db213c6fd5fc"}],"label":"glm53-shapleymcg-uniform-k4-model","manifest_sha256":"8ac3a1f62f67989277fc0482826cc52b0d112885a5168f625d582c959e2ec8f9","schema":"quant-pipeline.artifact-tree-manifest.v1","total_bytes":175779720429}12345678910111213141516171819202122232425262728# Provenance and attribution
This release uses transparent, content-addressed provenance. It does not use ahidden watermark, phone-home request, telemetry, or inference-output marker.
The current v84 image embeds `/opt/glm53/PROVENANCE.json` and carries standardOCI source, revision, author, documentation, version, checkpoint, and releaselabels. The manifest binds the corrected Triton DFlash mask, INT4 attentioncall path, vision RoPE fallback, multimodal template, and validation receiptswith SHA-256 hashes. The registry digest binds the complete published image.
Inspect and verify a pulled image with:
```bashruntime/verify-provenance.sh \ verdictai/glm53-flash-exl3-k4:r19-sm120-tp2-ep2-dcp2-v84-dflash2@sha256:0f1cdcc8891f1cc3a444121eb61d366289a1cbba285f0892dcbb24bc94961692```
The canonical public history is the combination of:
- the immutable Docker/OCI digest and attached build attestations;- the Git commit history and release receipt in this repository;- the Hugging Face model revision and copied release receipt;- the hashes inside the embedded provenance manifest.
These records make copied or modified artifacts correlatable; they do not makeremoval impossible and do not, by themselves, prove legal infringement. Theapplicable attribution and provenance-retention requirements are in `LICENSE`.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108---license: mitlibrary_name: transformersbase_model:- zai-org/GLM-5.3-Flashtags:- abliterated- uncensored- glm- glm-5.3- glm-5.3-flash- moe- exl3- tr3- quantization- reasoning---
# GLM-5.3-Flash-tr3-4bpw — Abliterated
This is an abliterated (uncensored) version of `zai-org/GLM-5.3-Flash`, produced by direct weight-space editing of the attention output projections.
`GLM-5.3-Flash` is a 320B-parameter (18B-activated) Mixture-of-Experts model with a 1-million-token context window, a hybrid KDA / sparse full-attention decoder, and a native Multi-Token-Prediction (MTP) speculative-decoding draft head. Its decoder uses Manifold-Constrained Hyper-Connections (mHC), which — like Gemma 4's double-norm + Per-Layer-Embeddings — makes the model highly resistant to LoRA-based abliteration: the mHC residual pathway re-normalizes away low-rank perturbations, so LoRA edits produce near-zero behavioral change. This release bypasses that resistance by editing the attention output projection (`o_proj`) weights directly, in the 4096-dimensional residual stream, while preserving row magnitudes and capability.
This checkpoint is a **TR3 (EXL3 / ShapleyMCG) 4bpw quantization derived from [brandonmusic/GLM-5.3-Flash-tr3-4bpw](https://huggingface.co/brandonmusic/GLM-5.3-Flash-tr3-4bpw)** — a quantization of `zai-org/GLM-5.3-Flash` — and is therefore intended for **NVIDIA RTX PRO 6000 Blackwell (SM120)** hardware, where the TR3 trellis decode kernels and B12X MoE backend are available. The abliteration edits only the BF16 `o_proj` tensors; all TR3-quantized expert tensors are byte-identical to the base quantization.
## Method
Because mHC re-normalizes low-rank perturbations, LoRA-based abliteration does not work on this family. The fix is to edit the base weights directly.
The abliteration removes per-layer refusal directions from the attention output projection (`self_attn.o_proj`) on every decoder layer, plus a second orthogonal refusal pathway discovered by trajectory analysis during max-effort reasoning.
Key techniques applied:
- **Per-layer rank-1 refusal directions** — a patched serving stack hooks the `o_proj` outputs on all 45 decoder layers, prefill-only, with per-request sequencing, over a 2583-prompt category-expanded capture set (14+ harm categories, English / Chinese / mixed). Each layer receives its *own* difference-of-means refusal direction: the directions rotate heavily across depth (mean cross-layer cosine ≈ 0.05), so a single shared direction — the classic abliteration recipe — plateaus early on this architecture.- **Depth-scheduled projection strength (λ tent schedule)** — the projection strength rises from λ = 1.1 at layer 15 to a peak of 1.5 at layer 27, then decays to 0.35 at layer 43, mirroring where refusal writes strongest mid-network.- **Residual-subspace erasure (trajectory-derived)** — generation-time activation trajectories on the partially-ablated model showed that max-effort reasoning reconstructs refusal through a pathway *orthogonal* to the primary directions (cosine 0.03–0.12 to them, present from the prompt token). Rank-8 and rank-11 orthonormal bases captured from matched refused-vs-complied reasoning trajectories erase this second pathway at the same hook.- **SRA cleaning (Spectral Residual Alignment)** — every direction is orthogonalized against the top SVD atoms of capability-concept activations before projection, so the edits do not eat capability.- **Exact weight folding** — all edits are output-space projections, so they compose exactly into the `o_proj` weights: `W ← (I − D₂D₂ᵀ)(I − D₁D₁ᵀ)(I − λ·uuᵀ)W`, applied in float64 and re-cast to BF16. The released checkpoint is a clean drop-in: no runtime overlays, adapters, or custom loaders.- **MLP (`ffn`/`w2`) editing was evaluated and abandoned** — full-stack MLP editing and MoE-side projections contributed near-zero marginal refusal reduction and raised degeneration risk.- **MTP draft head untouched** — the speculative-decoding draft layers are unmodified; speculation remains functional and acceptance rates are unchanged.- **Capability lock** — any variant whose capability spot-check battery (arithmetic, code, logic, factual recall) regressed was rejected; projection strengths were chosen by dose–response ablation under a capability guard.
## Evaluation
| Metric | Value || --- | --- || Refusals — CoT, production mode (full 300-prompt judged set) | *Coming soon* — interim ≈ **8%** || Baseline refusals (raw base model, same distribution) | ~85–89% || Configuration | per-layer rank-1 (λ tent, peak 1.5×) + rank-8 + rank-11 residual bases, `o_proj` only, layers 0–44 || Projection mode | Direct BF16 weight editing (naive output-side orthogonal projections, folded into `o_proj`) || SRA cleaning rank | 4 (vs capability concept atoms) || Edit footprint | 45 `o_proj` tensors, mean Frobenius δ = 0.103 (max 0.265) || Hardware used | 2× RTX PRO 6000 Blackwell (TP=2) |
The production deployment runs with chain-of-thought enabled at high/max reasoning effort, so refusal is measured with CoT on. With CoT on, the model *reasons* about the request and can re-derive a refusal decision through the reasoning trace; the orthogonal-subspace erasure above targets exactly this pathway. A small residual is carried by two safety-critical categories (PII doxxing of private individuals, and a fraction of self-harm / illicit-substance requests) where the model retains guardrails that `o_proj` weight editing does not remove without breaking coherence — the same floor observed on other mHC-family abliterations.
### Refusal breakdown by category (CoT, 300-prompt set, LLM judge)
*Coming soon.* The full 300-prompt, 14-category, LLM-judged refusal sweep is being run and will be posted here verbatim (with per-category rates), together with the paired baseline numbers on the same prompt distribution.
### Full capability sweep (base vs abliterated)
*Coming soon.* A paired, full-dataset capability measurement (MMLU-Pro, GSM8K, HumanEval, MBPP) for the base quantization vs this abliterated release is being run and will be posted here. Interim 60-sample spot-checks on the abliterated release: MMLU-Pro ≈ 78%, GSM8K ≈ 98%, HumanEval pass@1 ≈ 75%, MBPP ≈ 80%, zero degeneration/repetition events.
### Capability spot-check (abliterated, CoT)
- `17 × 23 + 5 = 396` (correct)- Transitive syllogism (Bloops/Razzies/Lazzies) → correct ("Yes")- Capital of Japan → Tokyo (correct)- `reverse_string` one-liner (correct)- Factual/translation/writing probes → correct and well-formed
Capability fully retained on the spot-check battery.
### Multi-turn & higher-context degradation
*Coming soon.* Multi-turn coherence and needle-in-haystack context-retrieval sweeps will be posted here. No multi-turn coherence loss or higher-context degradation was observed in production agentic workloads.
### MTP speculative decoding (post-abliteration)
The MTP draft head was **not** edited. Speculative decoding remains functional and healthy — the weight edits did not desynchronize the draft head from the abliterated target, and served output is identical whether or not speculation is enabled (the target model verifies every draft token).
*Coming soon.* Measured draft-acceptance numbers and single-stream decode throughput will be posted with the full evaluation.
## A note on honest evaluation
Refusal numbers are only meaningful when the methodology behind them is documented. Our methodology:
- **CoT-on measurement.** Refusal is measured with chain-of-thought on at production reasoning effort, not no-CoT — no-CoT hides the reasoning-derived refusal floor.- **LLM judge, not keyword heuristics.** For abliterated models, keyword heuristics are unreliable: long, direct compliance content trips keyword heuristics, and lecture-deflections evade them. We use an LLM judge (COMPLY/REFUSAL, Chinese/polite/lecture/deflection aware) as the metric of record.- **Challenging, diverse prompts.** The refusal set spans 14 categories across multiple sophistication levels (direct requests to socially-engineered framings) and English / Chinese / mixed languages.- **Paired baseline.** The base model is evaluated with the same judge on the same prompt distribution, so the refusal delta is directly comparable.- **Documented parameters.** Generation length, detection method, dataset, λ schedule, ranks, and layer coverage are all listed on this card.
## Files
This release is a complete, standalone, drop-in checkpoint: all 120 safetensors shards are included, plus `model.safetensors.index.json`, `config.json`, `generation_config.json`, `chat_template.jinja`, the tokenizer files, and `LICENSE`. It loads exactly like the base TR3 quantization — no files need to be fetched from elsewhere.
The abliteration modified the 45 decoder `o_proj` tensors (BF16) across their shards. Every other tensor — all TR3-quantized experts, the vision tower, the MTP draft head, embeddings, norms, `lm_head`, tokenizer, and config — is byte-identical to the base quantization.
## Usage
This abliterated checkpoint is a drop-in replacement for [brandonmusic/GLM-5.3-Flash-tr3-4bpw](https://huggingface.co/brandonmusic/GLM-5.3-Flash-tr3-4bpw) — same architecture, format, chat template, and inference path. Load and serve it however you would the base TR3 quantization on RTX PRO 6000 Blackwell (SM120) hardware; the `o_proj` edits are transparent to the loader. See the base quantization's card for the SM120 serving path (TR3/ShapleyMCG kernels, B12X MoE backend, MTP speculative decoding).
## Disclaimer
This model is released for research purposes only — primarily interpretability and safety research, including studying how refusal behavior is encoded in large MoE decoders with manifold-constrained residual streams and how weight-space edits interact with architectures that resist low-rank perturbation. The abliteration process removes safety guardrails on most harm categories, so the model will comply with requests the base model refuses. Use responsibly, in accordance with local laws and the Z.AI / model terms of use, and do not deploy it in production or user-facing settings without a separate safety layer. The authors take no responsibility for misuse.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328d3b10d515fb2bb0da69e29ec07a1e44296bd0dc1a51d1388be703a189d470cab .gitattributes8d0185b871ad9cd46bfd2495a01675046b306a8510a62cea36aaa3e3cbf51f1f .materialization/shards/model-00001-of-00120.safetensors.json077b2416ef12b929a278b1b86935159ab35f88ac2306f5be7e36e5d07b901a76 .materialization/shards/model-00002-of-00120.safetensors.jsonc2103a15e275cc17e3217299638a877bbc236839d258ee6837fb4fc491d3a88e .materialization/shards/model-00003-of-00120.safetensors.json73d7098787cb673ee5d898033f796e0e2ad4e80ec19ddc1bb4a7d7a89d7c8858 .materialization/shards/model-00004-of-00120.safetensors.json8cee876d2e1e783efe86a3b130e3c3b8e7fd7df4e01e82586c454151da882c7c .materialization/shards/model-00005-of-00120.safetensors.json6b293a767b22b48b4d80472891b5e498cb8e89c32a9a4d029d38fc4652e86dbe .materialization/shards/model-00006-of-00120.safetensors.json47c858836e8ab1a6e495e150c0b0c63f315454c7a796e45d385c75e021b9d192 .materialization/shards/model-00007-of-00120.safetensors.json921d814d6fa5d94be30a74b4d89543ec936c781ca926d18dcb20957bfdf57260 .materialization/shards/model-00008-of-00120.safetensors.jsona22c769d3ba85523734d01dfcbb5cc665aa92ee03544167b6d74efae28546391 .materialization/shards/model-00009-of-00120.safetensors.json99f73edddd6b5156af945d26dd08cd48ab8fe313cefdc5d4e68aa06a89808864 .materialization/shards/model-00010-of-00120.safetensors.json8429044dd8cb7908b21ed9b90e107e2f1a8590d504e6600426911ac699f98ea6 .materialization/shards/model-00011-of-00120.safetensors.jsonfa143b20a1ea05fcc5628a1e930568c8011f5dd1511b46b5e640d511d5ae6162 .materialization/shards/model-00012-of-00120.safetensors.json9b9641a47add516930a62bf976d0d7492d974d82b851945b56fecb92e1f8df85 .materialization/shards/model-00013-of-00120.safetensors.jsonde0f74e000942557041bc0bcc74f72539f472d58827bbc6aeb8797b8e663abed .materialization/shards/model-00014-of-00120.safetensors.json0ef95d29638dd3035030d6b490eebd22b9daa83027377551f4681f540a9e0f81 .materialization/shards/model-00015-of-00120.safetensors.json8677b1c192cb18073f84537ba0c3ae233620468e946679ff9e73db9f83514c0b .materialization/shards/model-00016-of-00120.safetensors.jsonaa9d28fb398294ff354dbf2d914110789f459ad245d851ee3ec377f208327cd2 .materialization/shards/model-00017-of-00120.safetensors.json90fe4172bce89fd958b0e85868ff6d25b3bc1a811d5d6ba79ad7181c93e169ef .materialization/shards/model-00018-of-00120.safetensors.json7f77f080f0190dd73a3c74869fc8a8b4622e967afea7fe8964f42b28d775146e .materialization/shards/model-00019-of-00120.safetensors.jsondb733326f671217c5cad427e78f32ae5aa68f55267fe8c261927cb8c2ea31df7 .materialization/shards/model-00020-of-00120.safetensors.jsonc09133ff8c45bf88f5cc85c3d6ef6bd29b10c522e71948849ade3ced2aba0429 .materialization/shards/model-00021-of-00120.safetensors.json07416400c38b38ca3971e96f521700f45de531868d4ea4129aee6fdd037dc32a .materialization/shards/model-00022-of-00120.safetensors.jsona4543fc7b6e65354b79087008cb0559cf089bbf9c656c88461a2ced2ef5e669d .materialization/shards/model-00023-of-00120.safetensors.jsond784dcad595674f61f6f2e5368d193f20a0bebaf0d8b8b66d08d5ea0c5f68891 .materialization/shards/model-00024-of-00120.safetensors.json739e95aef584be373fdf1cc5392062f55bfd6a51c56b0a0eed8f99601263cbbc .materialization/shards/model-00025-of-00120.safetensors.jsoncc822a4141b4fb1259cb7cf0019bd2767328a648055d93c3ac2d85ac65703614 .materialization/shards/model-00026-of-00120.safetensors.json07009dae0fc9abf3c98eeedde578aca609a3d736a00dd1f66704fe5952748353 .materialization/shards/model-00027-of-00120.safetensors.jsonba4864837bf40411112c01fd7c5baf58e1a9772a39f8ef4b0b4ced269f964e46 .materialization/shards/model-00028-of-00120.safetensors.jsonc8bb1835ddd126ba689ac711a8ae6d91a2ac6289e026c2e9f50db148f6220dd6 .materialization/shards/model-00029-of-00120.safetensors.json763056215e677578fcd4b7eb2aafe7e20df03fc33abbe0fde1cb3d799d9aae3d .materialization/shards/model-00030-of-00120.safetensors.json0cf92f1415301a92d63dfacb26d58ebafe44f94609fe065fbc51be79280a621d .materialization/shards/model-00031-of-00120.safetensors.jsona15212287887e7610f83a2a073b6291888bc70fc95a34d02ce2c3045643d9a13 .materialization/shards/model-00032-of-00120.safetensors.jsond882b1d207bd3e456a679df22ae1910df3b4c8db73a2cce28e25e40517d99d4a .materialization/shards/model-00033-of-00120.safetensors.json2d0abb1c9b502f3ad008244118fe45f761640231952b4ccacc6e0f5c01c05c55 .materialization/shards/model-00034-of-00120.safetensors.jsoneb424f041ac17b7cceb62e6c98418cd5bbeb62b52c71ddc2a19583640f5d2f62 .materialization/shards/model-00035-of-00120.safetensors.json81b1e3b999e8fed06b7308c08b17d71d46fcadbf41fba2a6507769102e4b1bbf .materialization/shards/model-00036-of-00120.safetensors.json604d281b96a22329c12501ba093d1588b82053cf259d7f1ce593025eba8fe534 .materialization/shards/model-00037-of-00120.safetensors.json2b0087db11b5350b33dd5a6cd7858dedc6f14e01748f9559308c48b66cd80cc9 .materialization/shards/model-00038-of-00120.safetensors.json6a783143193bf10e39118c68ad4e17744de2b005f1a14dc2fb20accc08fc841b .materialization/shards/model-00039-of-00120.safetensors.json9e89153f0dece501d3e4a2d2f9a513bd2c782e15a925cd893cd68393d255a14b .materialization/shards/model-00040-of-00120.safetensors.jsonea9abf170718fcaf85858530d184f61eab6568938bb4958c0a2be1d7906782a6 .materialization/shards/model-00041-of-00120.safetensors.jsonc401ff0d4ca1deb7fd58f324848f35c5b7ca3d2eab99a96710c3febbfa7ffa20 .materialization/shards/model-00042-of-00120.safetensors.jsonc70d2d8c4c80486569f91e0b33d182249b038400d5ab03e7e2875f65dc7b5dd8 .materialization/shards/model-00043-of-00120.safetensors.json6866929f97d6acf531ce8a92d08c5f5e59dc0c5913cfb31aebf77774318bb86f .materialization/shards/model-00044-of-00120.safetensors.json951c0e78d38c301fc1b4d1387d075b1fda33ab1551defda7052803a8291bf727 .materialization/shards/model-00045-of-00120.safetensors.json2ed00e3532d42a5c41cdf74f912dc4152636c399798774136524ce0592454f23 .materialization/shards/model-00046-of-00120.safetensors.jsonb67b04238eaf12d7b7ec03642c9bb20df835668bde3f4b4477464b457db2bbf6 .materialization/shards/model-00047-of-00120.safetensors.jsonec608572e29733b6a6027f61cbe84781cdef2c701ca2eea81fe482f1b937b77f .materialization/shards/model-00048-of-00120.safetensors.json79cbe9a141d8400912c1d4c7f7d58857e67c37e9f384af71ed15963e38ff8e2d .materialization/shards/model-00049-of-00120.safetensors.jsond4c415f20d313493560175e2aff6bf84ea5e927d5d0ba7e7a672508560b9b90e .materialization/shards/model-00050-of-00120.safetensors.jsonf4c3aef067188c331a71882a5f099e8e397029a260c8c4a85234434b4320acf0 .materialization/shards/model-00051-of-00120.safetensors.json1358ae41eaa3fa5620f35cb35629e3f429e8dc9af182b17e7f9a14dc53a6333d .materialization/shards/model-00052-of-00120.safetensors.jsonb0353f47312da53cd094feaaf187e411ffc228f19af512b2b96431dfbcd0cc30 .materialization/shards/model-00053-of-00120.safetensors.json2f776186445cb810611b4e447257b8af7ccfd0a6580a5d16dc7055650dcbff0d .materialization/shards/model-00054-of-00120.safetensors.jsonfd3cbdf6b316ea46c54a52042d5d5b0547061ef08e7457a7f421a5d4c7bed0c0 .materialization/shards/model-00055-of-00120.safetensors.jsonf4f824e1f264c65acfd0c5c3bc0e12400b836c0214aacbb5b7846857c3fdce2a .materialization/shards/model-00056-of-00120.safetensors.json410e062323aaee86563d85cd1f79c6729c1b5431acd8891ba7bc851ee4ec468f .materialization/shards/model-00057-of-00120.safetensors.json55588c9e6ae8303db9def20956edf71be1f38347f3db293319c1ac5b381a4667 .materialization/shards/model-00058-of-00120.safetensors.json83b87d82fa6a66a9d851f97dd97af69f8cdbc4fdc711bb390d68b0ef9062de9a .materialization/shards/model-00059-of-00120.safetensors.jsonf5c286aa7c6274412a8a51412b17fe3ebe8c9e2e751fe17ea61854320b986dc9 .materialization/shards/model-00060-of-00120.safetensors.jsond4c780a921de809dddb8ec92b6d9b7396c139ee6aa15822bc232edd21b7b0751 .materialization/shards/model-00061-of-00120.safetensors.jsond28dca2459ae348608e5a2ad1582add754a6135e03a29f6a66cd529abc3335cd .materialization/shards/model-00062-of-00120.safetensors.json3ce37e9b9c75627ec0046b805cf7bc166a028fc9cd8f4ae27870e32a19ed347a .materialization/shards/model-00063-of-00120.safetensors.jsona2e7b7ce8aedea8c7f1b79b0d4eb8aadc62f935ef544ebe961e3bf22ddb745ad .materialization/shards/model-00064-of-00120.safetensors.json50e8cebcdac5f20d2626b6eb4f65a45db2fc2da0b196d09122b8b3bafc71bc4d .materialization/shards/model-00065-of-00120.safetensors.jsondb66bcfc88353450e4e76689a86036d1171c06eb0b153f26598ba0ba36fd148a .materialization/shards/model-00066-of-00120.safetensors.json99ca7773e9e74fe1da2d149eddf3060c14df4a22d4b0947b6dfc6ada1072c022 .materialization/shards/model-00067-of-00120.safetensors.json3981caef5a222ff73a55a306895252f8418dc2560fc53ccb1d8816c2f95abbe5 .materialization/shards/model-00068-of-00120.safetensors.json647307884644c56ea8e95e66cb7bb478e89df2247a058aadbe6528fd4e8a1627 .materialization/shards/model-00069-of-00120.safetensors.json61fc4536e257ed876df79998c4468c5d97b7927b13ba31d9567202cd74f92e4c .materialization/shards/model-00070-of-00120.safetensors.jsoncf6dba6de255e800f25de85b31f4b0df5f09710b187e5b3b499d97caa032497d .materialization/shards/model-00071-of-00120.safetensors.jsonedb9724f88e0a18f495e74c72ecf8a801dc8093bef7dca7797ea98de3d8ae32e .materialization/shards/model-00072-of-00120.safetensors.json3d397578ba4920e9427939afaabdac25b80162270fbed341a9d600889063ba94 .materialization/shards/model-00073-of-00120.safetensors.json161d74aa4d598927b4bd23b952a8a8c17ef0a1ebdacd6a4120f0947e837dfef5 .materialization/shards/model-00074-of-00120.safetensors.json5f1876dbf3556d818d988c49b9ed6e22b93a5c249865d48a6d7d002aad54e2ff .materialization/shards/model-00075-of-00120.safetensors.jsonbf46b5a32e3361922ec127ae2ba06469056d9f610f0f135e0c47e5f7f9ca0314 .materialization/shards/model-00076-of-00120.safetensors.json1ffb769cb74f6e848a90977b96b5fcec66e00e8ba23f5c1a4fe442288eef2493 .materialization/shards/model-00077-of-00120.safetensors.jsonff215ea0a4fa6230abf2712ec63f17c6f672dded395bb3531d8c211abf5a4304 .materialization/shards/model-00078-of-00120.safetensors.json35c16d1ff4827312c2cd40e435bddc03a803e9b1a08d898987e3d9e673423715 .materialization/shards/model-00079-of-00120.safetensors.json1500c89f765f2807c52c408b0bd72826d50c6eb2cec030521b3325430bd0ad2b .materialization/shards/model-00080-of-00120.safetensors.json524b750e2684840aa95e06f7fed8aab4a6908cb019ef6cf010b764b2b0458102 .materialization/shards/model-00081-of-00120.safetensors.json3febf8cefa4f8a0823ce773190435a80863bbd721a7dcac20b74644b4b18618e .materialization/shards/model-00082-of-00120.safetensors.jsonbbf37f5ddb8490fd85ddf3df51a0c0ced34b928464bb9b10a271cc335c6b83d6 .materialization/shards/model-00083-of-00120.safetensors.json0f9981fa883c348642c735d87809908ad7eccad414c0deae29f6fa6e3dc8c638 .materialization/shards/model-00084-of-00120.safetensors.jsoncefe465f7910a51bd80efa3ece377dd6d75b8b3f6a694350160ef207da458cf6 .materialization/shards/model-00085-of-00120.safetensors.jsonc0949f39be57d6de4ca1ea4018fd6bfec22f388f3a66bca809582f845b790668 .materialization/shards/model-00086-of-00120.safetensors.jsona22a40e918551b7e1ebb4e3bca3cd96c79d24aa76906b40d7a819e96b1eea58c .materialization/shards/model-00087-of-00120.safetensors.jsonad009d666b4fa9715614d90261b210e9fa97dc96a12efefec36c9519c818aeac .materialization/shards/model-00088-of-00120.safetensors.json068da6054f6be308f6f6fa97239a7f7fea46a49d4bb371970a5d2356555c60fb .materialization/shards/model-00089-of-00120.safetensors.jsona1b3e5529b0e1474ee6375c536104fe5f72a19ea6a59960ef6a33cdea5beab8f .materialization/shards/model-00090-of-00120.safetensors.json3c7f9a4ac82c180b29d8c25ae35a51df8767f515dcac9c67dd782a249e697108 .materialization/shards/model-00091-of-00120.safetensors.json33d7d5fe815f600493bde03df7442d7b2cf1f4d39ad26e01c6f7ea97332181b1 .materialization/shards/model-00092-of-00120.safetensors.json36fd776f87fddafda48ef9a99dd65f0c7beb0fb09eac8a33babd33fa423f5c59 .materialization/shards/model-00093-of-00120.safetensors.json405cb805af678eeeddc4423f5cf9449a3ab3a445ae818a649180b0b25cdfd165 .materialization/shards/model-00094-of-00120.safetensors.json2e6283cb01dcaf4030d1ff3ce4f25d94fe0bb648783ac71cc51b4b6d2590322e .materialization/shards/model-00095-of-00120.safetensors.json73828ad22dd3011d9df1f0d52f3d0c8561e7a4d45ca86e558551b8d9f8f00fe2 .materialization/shards/model-00096-of-00120.safetensors.jsona2d06e799b3f03f35c8566696d08f3fc8a1572de9de51a046754adc05e3bfa44 .materialization/shards/model-00097-of-00120.safetensors.json71ca94c8d0d7df0d1eab2a1d1e9a45ca251c18abdc3f6b3c746374bf8aa644dc .materialization/shards/model-00098-of-00120.safetensors.json2a02fb2af3083610f3fbe051a641a3c8c4fb80e6d0e4ce24331bff1612924616 .materialization/shards/model-00099-of-00120.safetensors.jsonf5448b63555d18468904a19591ceaee14f4885f92c29cc8b7d74bbfee66353cb .materialization/shards/model-00100-of-00120.safetensors.jsonf99a0c865757ceb105d64d44724bc997d818978e633b5f89f42cc53ee39a3348 .materialization/shards/model-00101-of-00120.safetensors.json36fecc968b5d60c7e9d7a26b0c3acb0c7829c7150eb1a08403e7db2e0987b166 .materialization/shards/model-00102-of-00120.safetensors.json7a739335a53fc49fe54371e9aa9d8d40df8d746cbd9548f11ca4cce92de2496c .materialization/shards/model-00103-of-00120.safetensors.jsoneefb364739fb126393e649631845bba544c71b24bd5f220e198149ab8b4760a4 .materialization/shards/model-00104-of-00120.safetensors.json67cac41752379d844efd1fcdec4ea8e4c302e241302660727e24827fd2964365 .materialization/shards/model-00105-of-00120.safetensors.json57734229ac3b02140e513d0bfa81723b25d8bb17856f45a6833dee00ab6bec35 .materialization/shards/model-00106-of-00120.safetensors.json7e44434bae18c4bab9e41760c5b4e784430c153162b4c2c13deab19df629774a .materialization/shards/model-00107-of-00120.safetensors.json5f561d9d726b3b114088ead3a8a4a069399d037bfab5ae9c38a0db06089f7c96 .materialization/shards/model-00108-of-00120.safetensors.jsonea22c6234feb136188ee0c31d7a3ec5bc12944940da201ed3d11234b91805dd5 .materialization/shards/model-00109-of-00120.safetensors.json45f4f539f8d355d7b1d4362cd0e95d321c09aa3aba7b764dc453a49e106b1927 .materialization/shards/model-00110-of-00120.safetensors.jsonf96e849ada435b0b92876f36d923417fff687509a0bb4accdc235899c480bbe2 .materialization/shards/model-00111-of-00120.safetensors.json4a5064c1a21905ac00b00a48e7fe5bec3fad496beaec9e9491992a4b690e4fe8 .materialization/shards/model-00112-of-00120.safetensors.json2abe6623a705200afca4e58c08c6f9a067fef20d174075783a3581b81e03c6e7 .materialization/shards/model-00113-of-00120.safetensors.jsonf792a91136ab2bd70bad63331adcda728fb3a2eb71dfd886d16aae7d38b2b5f0 .materialization/shards/model-00114-of-00120.safetensors.json970721ee8cf97f5d2fa1d66f1aa0eec1011cdfb83c60851824126fd7e2abb84a .materialization/shards/model-00115-of-00120.safetensors.json9844a9640265951c0817114d290380acaf92a9a7f2dcaa124800162e2fe38dc0 .materialization/shards/model-00116-of-00120.safetensors.json3e29504486877265861ffb6e5653984c9ed21eb21a2f0b0b1d777cfb9503b799 .materialization/shards/model-00117-of-00120.safetensors.json8be4ecc40a57e7a2c59f444d4621c64548eddd6314aca3dcabf20ad2891cb88d .materialization/shards/model-00118-of-00120.safetensors.jsone16b7191616ff1effa78859b5ea9e5db9e9f516d13292a37a4850848f757e2fd .materialization/shards/model-00119-of-00120.safetensors.json14e78d614464c3395ed1810b5c05d553cb3031b3ae77269babb787936a80d613 .materialization/shards/model-00120-of-00120.safetensors.json30b85b6b9659f2e78aa259f8faf5d920a68dee7c9ced3fa6dba1f19f2bc4fca1 LICENSEa24ed04666047362a7ca6b8798453996631e977633f2e3b10b5ad1aaea815750 README.md41cff9af7b3a86c96751b107a8444f245fbda0bd5320b636a5bb1f7f4ba1a5c3 chat_template.jinja4f5341e048984459471bfb9c894e6bf87e69b9c67402672af901631d1349f265 config.jsonc51ff4803f8d0bc69b2ef57ec2f5d72129a5e28e0161221ffd2977eba35a0e69 exl3-mcg-storage-abi.json230c30609ecbbb9e6583bedde8e7bdda0c6eb8fe5fad0eaeb3d1b293d751cb4f generation_config.jsonafe588284702c0676b7af5df48bc0e0568bb42b1821808ab71c6dfa1f0c48b61 materialization-receipt.json46cc9e99897500fee92f2f08c95665cda51a704f835548465a1023cd4db63ef7 model-00001-of-00120.safetensorsb78eebdbee138150d310d7c655baae1ea31720b8ad53f39389b1679ce0f51552 model-00002-of-00120.safetensorsd377c4b645e7283f21370a1d12d90f238ec38194f78ddc483aea6be45c0db2c6 model-00003-of-00120.safetensors65f841ba0f3449b18af49eca276db6047a78088a3ff293f9edd41dcb4082af65 model-00004-of-00120.safetensorsd0425becf2a42244527553a983b269e2656521069c6e9467d0ce6912dd2fee80 model-00005-of-00120.safetensors3f6ded63fe3fe96a176c1ffad431c2e7350307238a89fb89ac3947605ea4d72a model-00006-of-00120.safetensorsa8e2cf2d869afb825934ad43bcbbf7e16132bdfca8443ca52a39c46b36f775cd model-00007-of-00120.safetensorseaaf3e209d6bcd37efae31e10fbbc822755629a701076ad9a527d80c216810d5 model-00008-of-00120.safetensorsad30bcac854cc303563eb2f280439bf86d7b56c81a43e00175fecd55d63f9905 model-00009-of-00120.safetensors35530edfbce782687f3b06b85f85f34decc537a53015c0bee1a4caf82c7cc78b model-00010-of-00120.safetensors686f13c8151614b4d85c02c20e8a786bdfa1eac82d8260bd8d877833db346288 model-00011-of-00120.safetensors79a19881d8a37ac0afbcd0b0e77ea45150900467b43ae0b412288ce82154a718 model-00012-of-00120.safetensorsd07940d68fc7b90f99eca406819e4bcd94995a909e32f0f3d15f3251c8f06552 model-00013-of-00120.safetensorsca3290268d136656a2b8eb56328fcf275824bcd60c269a39d9b1ee02d29d42fd model-00014-of-00120.safetensors2172d6d1c76e4d79d0d6147e693080a1ee2fd2761518764ea7ae42d6e21816ca model-00015-of-00120.safetensorsb33392a8b5f66e82115d1c7bbe830945fdda9b5b3a2d5094c9e8f7120186d09f model-00016-of-00120.safetensorsb198f9d0606953932f131b3d1124488702280ca55627d5c9156823a87a56144b model-00017-of-00120.safetensorsb98e6fa60d19eeabe5f937dfa5cde62ee0cffb7e8687f7c6e8e54be797e76cfd model-00018-of-00120.safetensors1ac4f98e4a16f9f620d83a51353a5b3ae4af05055b7777633981a930f063a9a4 model-00019-of-00120.safetensorsdb5f5e4bfe9704b55cad6fddcbeb0b50c0f0d760af247f13ea78e6b9a13bf5e9 model-00020-of-00120.safetensors94abdb9997af61ed92f43d58c73c96947add0ac1580c2255eaba2b254aa34782 model-00021-of-00120.safetensorsd1c09ce5b40bf2f976a6918188b10382735be8f9d936fc7d9e3d174d67fcb193 model-00022-of-00120.safetensorse75296748bb0940bf8a45e3743444d46404a0984c25164212764211d07ea5c3a model-00023-of-00120.safetensorsf9fa4d4312b74a757befe4f488dab56370a9c21771a86c2b92e3ac74ed068863 model-00024-of-00120.safetensors6f94c10adb857a39f5535be2b50b8037d08c798f13df4eb934fb9c14d44e9962 model-00025-of-00120.safetensors0c65f0517b61444c2b9c243ed5a97a6b2aec76054da36c2ef23b7d0263d0f1f4 model-00026-of-00120.safetensorsaf324d2631116bb4ca61b15578ac270874ce82035cb262e1adcb4056a76841b0 model-00027-of-00120.safetensors5e031de67c3c86ca62170a72c996c1cbd588a3a36b5a026dd0823e088793f196 model-00028-of-00120.safetensorsbae837ec87eca4b857597783fc9035d4fa6e049addd4a1f46c052de1a31bb6da model-00029-of-00120.safetensorsbbe67349b26057fe942bfce9fdff6422a9b822924b2445bbde7c2ca4c974c707 model-00030-of-00120.safetensors3aebbcb6ef80e74313e015c5ce828bb09fb02d65256e2567bf6bee2d1bdcf887 model-00031-of-00120.safetensorscb9063b4790ac8ede704b801aabf416adfbcc2cb4c3cece85d499ffd710b5f00 model-00032-of-00120.safetensors598e794cb00fcb85f20ff6e701e5a98a601b19681d77c11c370081b8836d0417 model-00033-of-00120.safetensorsfe68ce83f4b32da0cdc5f6803ae4ac977f2e0b007df627dce80ac93b3fd88817 model-00034-of-00120.safetensors5c439c150741aa601c9f8f8a8f0bb650a59deb9d66e018e3e003baf97551a0e2 model-00035-of-00120.safetensorsbba2d7a1df63672dd6400c74bd07352698bc9e74497812963d76f6c379a4fcb7 model-00036-of-00120.safetensors39ac664b9906d0970fedd207c20fe8b54cd16703ba765db4de332f2f3a4ae24f model-00037-of-00120.safetensors26b70b8b61940befb31f4bf5956dfd9dc89500bddb36b4e79eb046ab39000412 model-00038-of-00120.safetensorsc2599dd1cdc04c23c3383ecccad7d50d11d0e52c6602574bc1da2428e84f7028 model-00039-of-00120.safetensorse109dbf65aba7827809cc67334065364a1684715179b31311e0a31c00d8dd48c model-00040-of-00120.safetensorsbb85b908911687c0e276e43e81b5a4a265a87c00965324532681097ca491bc9f model-00041-of-00120.safetensorsa017885e30064729e5f70cbaeda434663c6c382aa9d2ba2a73f820a8cd5b6bbe model-00042-of-00120.safetensors04f3aeccb23c779ac9e6be9e952418b95cac19327e7873dce5f69e4ad728f6e0 model-00043-of-00120.safetensorsfa5a385f7a8220ed99bc081f2fe26a07c480a3da7f497be57cf95f96ceb1c34c model-00044-of-00120.safetensorsb0b508dbd6217fe861a68bd8890415fc0f97404ed9ea7155adae9476b12c27d0 model-00045-of-00120.safetensorsc0e27a8d0a9e4521e96f17ad0e40de8152ddd8c26f7739520cc052069e4432f7 model-00046-of-00120.safetensors5c471e0726598af910a1d5c895eca9bf41afe1e45311ee0dc962572b21097f2d model-00047-of-00120.safetensors1d957114322b3d9dbb4cca73d9bba9cf628ddc7f5a6dd1d6af6224eb6aff003e model-00048-of-00120.safetensors895d22c61a559667d84ac65dcd3012de18103738d3660c0c84db0b90e29c7e32 model-00049-of-00120.safetensorsc2bd099b71e35b8af36785f23e025c8b3ce393197b801cd3e53ee33e9be71531 model-00050-of-00120.safetensors1c30583b2edd80ed55db4086e1b846f7a9de54f7996bfa07e2ac0039f702c10a model-00051-of-00120.safetensors7c800f2f476cff08606cc3b036571d43ea501518fcba658aeda5db0fce815346 model-00052-of-00120.safetensors43acf4bbb16dda6f5a7c31240108bad19c64ac5eb9d20022321c4eeea48bc991 model-00053-of-00120.safetensors98bb70809af0d4d3177a377eefcbf728dd7fbd9e3891f130c05c66d29cd04860 model-00054-of-00120.safetensors285c605b3391fbca1a40f28fdb6c1856a155ccfe6de43eb59e11033360dadf51 model-00055-of-00120.safetensors6f825c25cd071930e7cbec832fe71a65767024b6853bdf554a9dd6534d0cd25c model-00056-of-00120.safetensors9c7e6d5fd6d4138fde51eef51a83ff8a33424294c44d52d1b62b42ddb79ada4d model-00057-of-00120.safetensors0b73d4dc1f373046f08a000d60484a7cf5335c4b0a1e4588d0cf8089f3ed75f2 model-00058-of-00120.safetensorsc5e83b54c3f1912aa5fd35f1c3170415f54708887f6f358cb1eac0b93391394d model-00059-of-00120.safetensorsc37b7e82d16a82243664ecac9e417a815195e1c26d9affe2ce681bffcb2fa046 model-00060-of-00120.safetensorsec26e65bf26f2dadf4e4c7aeefe48acbd9b677a3d03ba0d3229f1cc796647bb4 model-00061-of-00120.safetensors98c6427e9b22529ea985aa5d343e24055d3fd570b866e4d8dfb8f0b9470caedb model-00062-of-00120.safetensorsdacdd78b8a4f74ea5502d28b0a8d0c632a05252e095abc6245f0a63bdbd57a46 model-00063-of-00120.safetensors7f134d623d5f229cb4732905ceb269404e1b00a72b8c25cc4f09d1e8610aabc5 model-00064-of-00120.safetensors16661291a3d218f765edcb3831ff9426af21d6d56e6d8082b194e5cac9348109 model-00065-of-00120.safetensorse8c5392e733bd98d5d9f38d47e18cf6834bcbc0b8d24937c42d36ebc60604910 model-00066-of-00120.safetensorsf2fb7876facab2bbb569fe94ab41dd1e71c50a3811853bf37688e5ebdc5813c0 model-00067-of-00120.safetensorsabc3009f10522e97eedbcd34903e3aafa55f7d72efa4ff3db4b5c4fb28259ca1 model-00068-of-00120.safetensorsee4f3cb631ca5b0552fab89a3ef05ed0d8dab5ee0066fa245af479c962071e53 model-00069-of-00120.safetensors8b60971fe302e1bcf1bb7da900276a3f26fcd38b10d6760330ee59ea8df7a589 model-00070-of-00120.safetensors9fb9f3581b0a09d43e94e0476b9fa0971b3ab30b3d980bf6bb0814fb92db82d4 model-00071-of-00120.safetensorscaec81374ed646f0d7953f81565438ce18dfc11197cbb1a442b557cfb907dd23 model-00072-of-00120.safetensors313e11a85717e5fe56c6901f16c10aab760619b7655d355185a17dcb6986397a model-00073-of-00120.safetensors3c22a6012bb34c264869fd8a93ac019175f22d9d255cdb1987d25572f6ebcb37 model-00074-of-00120.safetensors55992a5b643dad0a06c6bd8e4a13bac8980d31f3e773d56cc86a0c36543c02e5 model-00075-of-00120.safetensors3dea15fd98ef8c45a23876a3dd1f3f6c06feb6c5e3a35b29dde93a82196e9f63 model-00076-of-00120.safetensorsfb6efae4033a54282fa0f779ce41dd64edff903621e829e23c28f2423f032059 model-00077-of-00120.safetensors1f231a1c8149307a14c940df734637e03b0cad5db40e4165c69b9a5e817471d9 model-00078-of-00120.safetensors84eb7df2440c3fe0cad633bfdb05fc1f9f4a69514d33a3c48e08f751e8729b03 model-00079-of-00120.safetensors1008d2f310da3804fe85ca18c86f7f40c7e7005afe3edd0e17bff9207edb15cd model-00080-of-00120.safetensors30bb97e87009412ec4445773ab5dde2267f395290a37ea204b0b94fb78b06c16 model-00081-of-00120.safetensors6314d366c0a954e7a8beed9ead7389dc5c9ec6a78667f63778edb68a1ec5a5a7 model-00082-of-00120.safetensors424127fa0a70e70d5073200c3ede1097dc31345b67309e9c1ca14fc1d2c601c9 model-00083-of-00120.safetensors8f5be1a45eeafd520fa3e0adceffb15cceaa6510c61d032475f017966885c248 model-00084-of-00120.safetensors22722c615db28a151620c8a6d11714f6de26bc386f3d495a89666191122ee1bf model-00085-of-00120.safetensorsdcd025dc9e48dd3744996a3b9d337d3c8636c46591e80ab6cd489aac78b61b76 model-00086-of-00120.safetensorsc00bdc2031dd9c042fcf56613979d029256c2c337c6dddf61f6e5efe18e6c883 model-00087-of-00120.safetensors147abc2a72e6eea5941cd03175febb962a81d068a2872c6594bef6f3e5535007 model-00088-of-00120.safetensors5d2ec3fd271c7a2ec4161f4e5bf2c14eef7f549ae1a6d39bb666614e26d2dfc1 model-00089-of-00120.safetensors2bb2e9ab785905faaeeb8b6a3df7ff2f7ae246fb1e3f51fd4cfd0b3af94e44f1 model-00090-of-00120.safetensors8ccbc08c9dbcd37d1ec6cfd772667b12cd521bfd4dc05113e7e9f0ce1d2b9603 model-00091-of-00120.safetensors20422d9ea7e0997852897daf8e6c84b420c9c8b3a700b301f416091cdb8e4efb model-00092-of-00120.safetensors753329dbb8d2b4efc7cf4ca7fe9b1455e0128cbe725a98fc91a05fcf38d616d9 model-00093-of-00120.safetensorsf08e09cb29e5c1ffc05b128d581e815914ced8f30949a1e2e114470dbbba2dbd model-00094-of-00120.safetensorsc08536722ef0a2cecb5a5d843fd0086275c329918eff733676af1cb6bdb99abb model-00095-of-00120.safetensorsfafe3a925e795c9b570c8eefeb0ea492df97e941f23e2e7e8206ded8cd28933d model-00096-of-00120.safetensorse616de880c9587930ecf502799255189c0f03e102273ade47dbc104c136e92c5 model-00097-of-00120.safetensors7c34ac45ffba12a049c0b563cd002a50d1fb6ea9dc80c6c23203c43d5768705c model-00098-of-00120.safetensors9693db794a7992532a96bd0ea185a49a76c123fb50f7bcf4fff0902847e0c6ed model-00099-of-00120.safetensorsa19fb303a9814d5082fc3fd5d69127bc6724bf574276e6d18918b56ab46e8eee model-00100-of-00120.safetensorsc24ca6ae7ce061eba28d302b878700d30ec22656a69a3db53bbb4ac4ad1ae961 model-00101-of-00120.safetensorsb5c8396800acefb6d0bc7a0a48cd055d28faa94dc2bb34f1867a58ec83991028 model-00102-of-00120.safetensors09139292ba5af27e66767a6860a53b7693f091c513bac154c32d44b408783738 model-00103-of-00120.safetensorsb0af3c5b38f078c72d405319fb47ca4c7ef74324266106ca3962ae63dc6e0a28 model-00104-of-00120.safetensorsf475efcce530b46749e9ece468b65a5aa65a073b7fcec00c22aec5b02e4e7782 model-00105-of-00120.safetensors1059fe4a53c233b1fdb28ae431d61190c6491f55223c58c0660dfead53be7bc9 model-00106-of-00120.safetensors57e1f99044388f5c0e5b422d678e9477475dc170dcc97b654f931e3ef9facfee model-00107-of-00120.safetensors286de5d27896da595638cc5aae2e390bd7676e0d450f490842c165975febff5f model-00108-of-00120.safetensorsb41955ae5e684cff92ae005d27b626b2abbe72fc1ad0e9b273b6d71ca3a74b66 model-00109-of-00120.safetensorsb2bd23f9b6d11910f9b7f9e4951ae254bc64c1844a2541de48cd4ac6755d0abc model-00110-of-00120.safetensors091e1d588b899c5369b713a053a7bc76ad35bc93a81af20961167f89bc953b1f model-00111-of-00120.safetensors8a7c2486aa93f1c952da2ffd6137f2f38b443e21923c5f640edcaab6c340d4a1 model-00112-of-00120.safetensors8f3205a5dd7e9162c2ec89e19b82c10fcdd41f716b101322833f33cc27aed753 model-00113-of-00120.safetensorse3cf6f9ea4e07df98a3bc4cbac85f9228ff3e9fd45f02f8735672d27f81a9404 model-00114-of-00120.safetensors347b2e08fca7a5bbe63e39e2bd225fb0af5a7ff318120cf7e5289c4ee2a72c23 model-00115-of-00120.safetensors3d9c0120686a8db80f7c6bd5c1044e737a4a8f5dc8f4111038308aa0cf80d88f model-00116-of-00120.safetensors48eca9375a20c8f8c6435ea6e4ee709238680873967408dc0ba499179e7b7da5 model-00117-of-00120.safetensorsf7df8825ffec03ac813ecfabc62f9a416c8884d11aa35da655f322a6b6870817 model-00118-of-00120.safetensors8e393cfce320eba98c19f69574725ab1aa5153d710eaa651df5e2c35bfeca1ae model-00119-of-00120.safetensors15ffa59ac9a36b7f0fbfabdea893dfc6b6db4dd921d7a291b0056062d6937dda model-00120-of-00120.safetensors2f64d21c67c90bbafeb36c4e9b2f06f54063ed439e9f7cf95962d425a1d8515d model.safetensors.index.jsonaae38374c94b08cc9b0547c6e64f05b951bd9735cea571c6988f5ed552bed3ed processor_config.json5d9aadd98432da86c628866dfd2944084a5b00f208bcbf7de10518994159e699 provenance/source-model-revision.json22bcfacf0f7e492ecd571f6f19819656ede91b6cfc1c0abb4ae5bf4a0a0df8e5 quantization/recipe.json1e5cdf56da1929c2a7d8982085324de05bb92144882792f034239e289316c645 quantization_config.jsonefeaed9daed88eb567df5518f1418f0ebbe5c03132a35e70f7506ab90a04efbd receipts/checkpoint.jsona0e1969f977f926a4477db8fbad174a9ecdfab62c547b051e0e6cd5e3c79bd2a runtime/scripts/qualify_glm53_custom_tp2_runtime.py7c83b2785d338dcaff8a5fe3b87b2957dea6ea8c1c31ddb02465b797f4c4647e runtime/scripts/run_glm53_custom_tp_runtime.pyc1d7fb3aaa98d2baa24064ad19c91336ecbb89b35e446500e06bff9a1b61045e runtime/src/quant_pipeline/__init__.py01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b runtime/src/quant_pipeline/allocation/__init__.py09fa93212c4400f5dba4f47be95a22a52d97c923a0889e2c104e4f54581e0a2e runtime/src/quant_pipeline/allocation/global_dp.pyb9e11264f116c3ee55d30f4c35080d7e266851b4325742b8e4a58f7e328d5ea7 runtime/src/quant_pipeline/calibration/__init__.py038a40c84ee23ab46e8d7e7aefa92fcfe4008c9d0c7204c006481f9c1ce50ba8 runtime/src/quant_pipeline/calibration/fitter.pyccb49f16c91b37dcbd235af18de422a7b54773d32f11a3a958172b984fb6c161 runtime/src/quant_pipeline/calibration/glm53_capture.pyc91df3cc86363a325a2334291ba6171cf2d5e9cab2d29bb7b09268c0795c2d05 runtime/src/quant_pipeline/calibration/glm53_mtp_capture.py86a6f7dc01961f6117a880c4dc8ce394af6a31ce821aa32d73ffcf091e2d3a73 runtime/src/quant_pipeline/calibration/qwen_capture.py84f3bc4042b36f9002ab49084ad5629c627ab4e2415651d416b9f96c4e1ca0b4 runtime/src/quant_pipeline/calibration/route_mass.py87cab3cc4dce85458d61e93baac28dde9735335ba2c9b84178675b40d313a08c runtime/src/quant_pipeline/calibration/windows.py6757125714ce3d4e6eb60cb73329d9bb6f64cb20ddf86306b4176a7159c0339f runtime/src/quant_pipeline/campaign/__init__.pyde572b6e6b88f00c183e26889fceaf1e94baed151cf3a372a3a5cfc8fbc663de runtime/src/quant_pipeline/campaign/glm53_direct_k4.pyfc5b456893454b2fa0dc234e3837a7894f48cda3cd96bcabfa22071e54f7552d runtime/src/quant_pipeline/campaign/glm53_mcg_preparation.py03bd9f5720a9c19e0dc5026fa78068fbc5fc433056a8a43b3e5e5427ff01627c runtime/src/quant_pipeline/campaign/glm53_mtp_k4.py5b196e0892638f76d1a0a6d8cfacff8f7dcff28d10e1ae0c5636532275b34f9e runtime/src/quant_pipeline/campaign/glm53_prepared_backend.pyf93faa0909667e3a71aab46fcc0fde52a7c724d7803cf68e32404ee0f65e29ec runtime/src/quant_pipeline/campaign/glm53_provenance.pya60fbee62ef2faf45b56157c8624a522deb72f6a325450d58c8ab395c4ba7ba5 runtime/src/quant_pipeline/campaign/glm53_uniform_k4.py85d0c3644e380c2ba9017ca199a8caa77b719f4a7df6103e08ba8d3a9db13500 runtime/src/quant_pipeline/campaign/glm_contract.py1e2d5fed6d8ef3b6f354aa572646df37ba03065d9102cb60dfd07b2a84a5fedc runtime/src/quant_pipeline/campaign/qwen_adapter.py70c0a088047164a98d830271e724a5e2ad36647ffaaccdd80111dc47aaf29854 runtime/src/quant_pipeline/campaign/qwen_attribution.pye8fd5f74f704b2b486bfe85093198c3b049125faafbe4e8f97ca14cea7babc5c runtime/src/quant_pipeline/campaign/qwen_services.pya70323b46d86988bd27b5186d4d0103d1b0d0b755e636def7ffd4c7e2cbf2d5e runtime/src/quant_pipeline/campaign/qwen_work_units.py20e96288b145594e43428a91965f85979ffc7163688d286cd6867ee20dc07ba8 runtime/src/quant_pipeline/campaign/runner.py4c74cc45cdefef59f07265d5996ea4123ba26fe6e69dbc5f54091c0082f47a8b runtime/src/quant_pipeline/candidates/__init__.py96fca4dbe7d85be45052d18c18ed461ad2c2303467c2cbe4b60b425e99813f36 runtime/src/quant_pipeline/candidates/factory_allocation.pyc5b012837a683106ea21e4e52d5f7853e14eb414f9cc9f37047ebf94e6f9a0c1 runtime/src/quant_pipeline/candidates/factory_calibration.py2d6a1825c23b8149e208db26f302e4c2bf1339e3ec6f51e0784913f15c62b212 runtime/src/quant_pipeline/candidates/factory_union.pyf313d706df03efb5bd7fd06dd1a88ef749170ada6546240bfb02bced07d47162 runtime/src/quant_pipeline/candidates/ledger.pye6450a45cffacc49da22bfdc1eeac70d4a00b884e5525af88a9293b4d46874d6 runtime/src/quant_pipeline/candidates/payload_store.py30366e8c26f27b770fabc6325b833bea97f32087a7e9b48bf0605f5f36ba5a9a runtime/src/quant_pipeline/capacity/__init__.pyf45ef249c48131005580714888397840400f81e3c6f0caf023382fef1a8ab882 runtime/src/quant_pipeline/capacity/mla.py97f1d9bb510eb7be6aeaac52e627ab645de01f3ff2788045087ce0e876ed9cdc runtime/src/quant_pipeline/checkpoint/__init__.py74cf73cf90a2c8d42e071ab10da343b3e4ae3666c848703287b53706d91adbcb runtime/src/quant_pipeline/checkpoint/btx_qwen.py65fd985494625d2b1e0541ae9106d57a085063f22df1cce2bf0307b63970e47b runtime/src/quant_pipeline/checkpoint/exact_payload.pya9aad8da1d228afaf2edd2cd84a6657ac5b53628554e89918484aca20d602d22 runtime/src/quant_pipeline/checkpoint/glm53_mcg_materializer.py19466f3fd531a03f7c43fabafe2ca395981d47cdd1ed818630a5fb80213817b6 runtime/src/quant_pipeline/checkpoint/official_btx.py36f84586d89ae7816172929471a35dc81ec5beff63c47a68cca862b61a1dc4dc runtime/src/quant_pipeline/checkpoint/packed_payload.py4a00fffddd2993998af7c3c660efbfdc4ea0abff96a17d60db969f193b3a60cb runtime/src/quant_pipeline/checkpoint/reference_pack.pyd75754a774f21054d221b76ca82863da1fc343d409107eb925cf64ec67456fb9 runtime/src/quant_pipeline/cli.py01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b runtime/src/quant_pipeline/codecs/__init__.py13263a584125d0600a580eb63ba7397d4abcb70d8a0be4a3fb328c9ec53741cd runtime/src/quant_pipeline/codecs/exl3_mcg.py5615adfb8e39407a18b6ad6e4942985e14483eae7b4604bf6b85111441e1e652 runtime/src/quant_pipeline/codecs/protocols.pya1910785f0bab4f498563f135984f55c68735869203fd8d076ffcd9ced67c5ed runtime/src/quant_pipeline/codecs/uniform.py01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b runtime/src/quant_pipeline/core/__init__.pyb50023ac37b2c1bf78a1497e243ad8dab11330a45b12c2fd1d99af17470e2087 runtime/src/quant_pipeline/core/artifacts.pya85ccafbfb64a7bb4dafd254966fcc5864056b6ed60dd68acee6b6a91a8092ed runtime/src/quant_pipeline/evaluation/__init__.py22d0bb24bd350cfe45f701a5f6e57bd0e6f17666ae8b7538abfc54b1d4845a3d runtime/src/quant_pipeline/evaluation/glm53_logits.py994b211f75411a5b8a0f9242559adfa062c28284e5cf8b215df8dedef8e0583d runtime/src/quant_pipeline/evaluation/glm53_packed_k4_reader.pydbe98e31e77e6feb60c95b8f1eaa2825328b28515be6add492fc88e5fa6b9567 runtime/src/quant_pipeline/evaluation/kld_window.py01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b runtime/src/quant_pipeline/models/__init__.py72f151f612f4ed5d4de7f1dd4b2a0f63c3a787ad7d6a0a966cfbc3524cc20525 runtime/src/quant_pipeline/models/hf_capture.pyc2f8344e2fe62de4a4b95b9e27866877005e268894ea52ca6218cb0ca16a7300 runtime/src/quant_pipeline/models/inventory.py8611f5f6678017e1e32f934ae659106eeed5ac376236450156616a0d56366a96 runtime/src/quant_pipeline/normalization/__init__.pyeb3dd0ea0a59e16085ffe116d692af6de84f0d6bb8a5482a69290a175c44ea57 runtime/src/quant_pipeline/normalization/absolute_v31.pyd257d5f5e04ed7c2ec6341050c12015d0038428381d807505966139ba00276bf runtime/src/quant_pipeline/normalization/artifact_v31.pyd883764ff24fd2de0e7809bde20e3f33d0c8aa1122929b37e4b843912a85a1d5 runtime/src/quant_pipeline/normalization/prior_search.py573ded7f185316ecaf5a581f05b102b56d546e20bc1fd5a4dc73feae9a951da2 runtime/src/quant_pipeline/normalization/streaming_v31.pyfdf134e41cc7ab16d894259271eab7149131fa7ffdac7676f73c18b6edf6dac3 runtime/src/quant_pipeline/publication/__init__.pybc561815be7a34e3f482aa372cc7e6600c3b368813e3fcfac42c400f8b36ac23 runtime/src/quant_pipeline/publication/glm53_hf.py49f9917cb9b88fbeab1d6b88ab75b9d830a4a563d8f9f89490a2e9efc5bfecc2 runtime/src/quant_pipeline/publication/glm53_k4_postmtp.py0bc92706bc208a322b806de849e57b8ac7c39d3c90ed86934de6e69414b0ac07 runtime/src/quant_pipeline/results/__init__.py44fb83ded80dca0e115d9285b2143053339bbc4231f9fd112c739898637bc696 runtime/src/quant_pipeline/results/ledger.pyc44558f4859c2111808ab02d654214ce02a1a8d7559030cb7d684700d76a50c4 runtime/src/quant_pipeline/runtime/__init__.py11617266954541f4c7337bf90501ec6f540ae3a346c486d90bdbe3380d625e67 runtime/src/quant_pipeline/runtime/glm53_tp2_exl3.py01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b runtime/src/quant_pipeline/scoring/__init__.pyff386c0463d135b1b6e3c67f5daa0c16847b206253727edd6a453386ae1d4be3 runtime/src/quant_pipeline/scoring/attribution.py8beb3e84f9f11263bcc2b69bc122cdf09133289cdc992a6d75cef7c4137c5859 runtime/src/quant_pipeline/scoring/blend.pya43789dc10a504c8f3b13a9e760e323e443e95c551579a54b6fa1c210ffe0d3b runtime/src/quant_pipeline/scoring/kld.pyfc2787667aef44bf1705b1ef4bb7bae984782c92ac69ff314ab8bf60f471f80f runtime/src/quant_pipeline/scoring/qwen_experts.py9aed1d7b7aa54f1d65ad01a61d1b50de20fb3c6ec90644a25e49e317628707fd runtime/src/quant_pipeline/spec.py19e773648cb4e65de8660ea6365e10acca112d42a854923df93db4a6f333a82d tokenizer.json98b1271574f41abf89427ae2dda030d94dc9478f0edc5a8bd240db213c6fd5fc tokenizer_config.json123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201 Apache License Version 2.0, January 2004 http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.12345678910111213141516171819202122232425262728293031323334353637# Third-party acknowledgements
This repository is an independent research implementation. It does notwholesale-vendor the projects below, but its design and intended experimentsbuild on their work. The BTX writer is the disclosed derived exception.
- Robert J. Aumann and Lloyd S. Shapley for the Aumann-Shapley value.- Joshua Hill and NVIDIA Model Optimizer PR #2183 for Aumann-Shapley quantization sensitivity and the associated coverage/additivity analysis.- Albert Tseng, Qingyao Sun, David Hou, Christopher De Sa, and the QTIP/QuIP# authors for trellis quantization and incoherence-processing foundations.- turboderp and ExLlamaV3 contributors for EXL3/Trellis quantization and its encoder/runtime ecosystem.- The Qwen Team for Qwen3 and `Qwen/Qwen3-30B-A3B-Base` (Apache-2.0).- Z.ai for GLM-5.2, the source model in the preserved prior-control lineage.- malaiwah for the GLM-5.2 MTP-78 overlay and calibration capture, and Josh Cartu for the associated MTP-78 recipe and rank-sliced runtime work. These credits identify the named predecessor's provenance; the Qwen experiment does not incorporate the MTP-78 runtime or draft layer.- The MC-MoE, HIGGS, PQI, GuidedQuant, MoEQuant, EAC-MoE, and VSRAQ authors for the mixed-precision, end-loss, router-aware, and route-shift research identified precisely in `docs/REFERENCES.md`.- Luke Alonso and Local Inference Lab contributors for B12X, the vLLM fork, and local runtime research. The official BTX writer ports atom assembly from B12X `btx_synth.py` at the pinned commit; that module is marked Apache-2.0 and the complete upstream license is preserved in `THIRD_PARTY_LICENSES/B12X-APACHE-2.0.txt`.- NVIDIA Model Optimizer, vLLM, Hugging Face Transformers, safetensors, and huggingface_hub contributors.- Google DeepMind for Gemma 4, used as the planned portability model.
Any future vendored adapter must retain the upstream license and notice in thesame commit that introduces the code.
These acknowledgements identify intellectual and software lineage; they do notimply endorsement of this repository by any named person or project. See`docs/REFERENCES.md` for the method-to-component mapping and primary links.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210[gMASK]<sop>{%- set effective_reasoning_effort = reasoning_effort if reasoning_effort is defined and reasoning_effort in ['low', 'high'] else 'max' -%}{%- if effective_reasoning_effort is not none -%}<|system|>Reasoning Effort: {{ effective_reasoning_effort | capitalize }}{%- endif -%}{%- if tools -%}{%- macro tool_to_json(tool) -%} {%- set ns_tool = namespace(first=true) -%} {{ '{' -}} {%- for k, v in tool.items() -%} {%- if k != 'defer_loading' and k != 'strict' -%} {%- if not ns_tool.first -%}{{- ', ' -}}{%- endif -%} {%- set ns_tool.first = false -%} "{{ k }}": {{ v | tojson(ensure_ascii=False) }} {%- endif -%} {%- endfor -%} {{- '}' -}}{%- endmacro -%}{%- macro tool_references_to_response(refs) -%} {{- '<tool_response><tools>\n' -}} {%- for tr in refs -%} {%- for tool in tools -%} {%- if 'function' in tool -%} {%- set tool = tool['function'] -%} {%- endif -%} {%- if tool.name == tr.name -%} {{- tool_to_json(tool) + '\n' -}} {%- endif -%} {%- endfor -%} {%- endfor -%} {{- '</tools></tool_response>' -}}{%- endmacro -%}<|system|># Tools
You may call one or more functions to assist with the user query.
You are provided with function signatures within <tools></tools> XML tags:<tools>{% for tool in tools %}{%- if 'function' in tool -%} {%- set tool = tool['function'] -%}{%- endif -%}{% if tool.defer_loading is not defined or not tool.defer_loading %}{{ tool_to_json(tool) }}{% endif %}{% endfor %}</tools>
For each function call, output the function name and arguments within the following XML format:<tool_call>{function-name}<arg_key>{arg-key-1}</arg_key><arg_value>{arg-value-1}</arg_value><arg_key>{arg-key-2}</arg_key><arg_value>{arg-value-2}</arg_value>...</tool_call>{%- endif -%}{%- macro visible_text(content) -%} {%- if content is string -%} {{- content }} {%- elif content is iterable and content is not mapping -%} {%- for item in content -%} {%- if item is mapping and item.type == 'text' -%} {{- item.text }} {%- elif item is string -%} {{- item }} {%- elif item is mapping and item.type in ['image', 'image_url', 'video', 'video_url', 'audio', 'audio_url', 'input_audio'] -%} {%- set media_type = item.type | replace('_url', '') | replace('input_', '') -%} {{- "<reminder>You are unable to process this " ~ media_type ~ " because you don't have multi-modal input ability. Try different methods.</reminder>" }} {%- endif -%} {%- endfor -%} {%- else -%} {{- content }} {%- endif -%}{%- endmacro -%}{%- macro tool_response(text) -%}{{- '<tool_response>' + text + '</tool_response>' -}}{%- endmacro -%}{%- macro render_tool_response(m) -%}{%- if m.content is string -%} {{- tool_response(m.content) -}}{%- elif m.content and m.content is not mapping and m.content.0.type == "tool_reference" -%} {{- tool_references_to_response(m.content) -}}{%- elif is_list_of_outputs(m) -%} {%- for tr in m.content -%} {%- if tr.output is iterable and tr.output is not string and tr.output is not mapping and tr.output and tr.output.0.type == "tool_reference" -%} {{- tool_references_to_response(tr.output) -}} {%- else -%} {{- tool_response(visible_text(tr.output)) -}} {%- endif -%} {%- endfor -%}{%- else -%} {{- tool_response(visible_text(m.content)) -}}{%- endif -%}{%- endmacro -%}{%- macro id_of(obj) -%} {%- if obj.tool_call_id -%} {{- obj.tool_call_id -}} {%- elif obj.id -%} {{- obj.id -}} {%- endif -%}{%- endmacro -%}{%- macro is_list_of_outputs(m) -%} {%- if m.content and m.content.0.output is defined -%}1{%- endif -%}{%- endmacro -%}{%- set ns = namespace(last_user_index=-1) -%}{%- for m in messages %} {%- if m.role == 'user' %} {%- set ns.last_user_index = loop.index0 -%} {%- endif %}{%- endfor %}{%- for m in messages -%}{%- if m.role == 'user' -%}<|user|>{{ visible_text(m.content) }}{%- elif m.role == 'assistant' -%}<|assistant|>{%- set content = visible_text(m.content) %}{%- if m.reasoning_content is string %} {%- set reasoning_content = m.reasoning_content %}{%- elif '</think>' in content %} {%- set reasoning_content = content.split('</think>')[0].split('<think>')[-1] %} {%- set content = content.split('</think>')[-1] %}{%- endif %}{%- if ((clear_thinking is defined and not clear_thinking) or loop.index0 > ns.last_user_index) and reasoning_content is defined -%}{{ '<think>' + reasoning_content + '</think>'}}{%- else -%}{{ '<think></think>' }}{%- endif -%}{%- if content.strip() -%}{{ content.strip() }}{%- endif -%}{% if m.tool_calls %}{% for tc in m.tool_calls %}{%- if tc.function %} {%- set tc = tc.function %}{%- endif %}{{- '<tool_call>' + tc.name -}}{% set _args = tc.arguments %}{% for k, v in _args.items() %}<arg_key>{{ k }}</arg_key><arg_value>{{ v | tojson(ensure_ascii=False) if v is not string else v }}</arg_value>{% endfor %}</tool_call>{% endfor %}{% endif %}{%- elif m.role == 'tool' -%}{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %} {{- '<|observation|>' -}} {%- set block_start = loop.index0 -%} {%- set ns_blk = namespace(end=block_start) -%} {%- for j in range(block_start, messages|length) -%} {%- if messages[j].role == 'tool' -%} {%- set ns_blk.end = j -%} {%- else -%} {%- break -%} {%- endif -%} {%- endfor -%} {%- set ns_a = namespace(tool_calls=none) -%} {%- if block_start > 0 and messages[block_start - 1].role == 'assistant' and messages[block_start - 1].tool_calls -%} {%- set ns_a.tool_calls = messages[block_start - 1].tool_calls -%} {%- endif -%} {%- set ns_chk = namespace(can_sort=true) -%} {%- if not ns_a.tool_calls -%} {%- set ns_chk.can_sort = false -%} {%- else -%} {%- for k in range(block_start, ns_blk.end + 1) -%} {%- set m = messages[k] -%} {%- if is_list_of_outputs(m) -%} {%- for entry in m.content -%} {%- set eid = id_of(entry) -%} {%- if not eid -%} {%- set ns_chk.can_sort = false -%} {%- endif -%} {%- endfor -%} {%- else -%} {%- set tk_id = id_of(m) -%} {%- if not tk_id -%} {%- set ns_chk.can_sort = false -%} {%- endif -%} {%- endif -%} {%- endfor -%} {%- for tc in ns_a.tool_calls -%} {%- set tc_id = id_of(tc) -%} {%- if not tc_id -%} {%- set ns_chk.can_sort = false -%} {%- endif -%} {%- endfor -%} {%- endif -%} {%- if ns_chk.can_sort -%} {%- for tc in ns_a.tool_calls -%} {%- set tc_id = id_of(tc) -%} {%- for k in range(block_start, ns_blk.end + 1) -%} {%- set m = messages[k] -%} {%- if is_list_of_outputs(m) -%} {%- for entry in m.content -%} {%- set eid = id_of(entry) -%} {%- if eid == tc_id -%} {%- if entry.output is iterable and entry.output is not string and entry.output is not mapping and entry.output and entry.output.0.type == "tool_reference" -%} {{- tool_references_to_response(entry.output) -}} {%- else -%} {{- tool_response(visible_text(entry.output)) -}} {%- endif -%} {%- endif -%} {%- endfor -%} {%- else -%} {%- set tk_id = id_of(m) -%} {%- if tk_id == tc_id -%} {{- render_tool_response(m) -}} {%- endif -%} {%- endif -%} {%- endfor -%} {%- endfor -%} {%- else -%} {%- for k in range(block_start, ns_blk.end + 1) -%} {{- render_tool_response(messages[k]) -}} {%- endfor -%} {%- endif -%}{% endif -%}{%- elif m.role == 'system' -%}<|system|>{{ visible_text(m.content) }}{%- endif -%}{%- endfor -%}{%- if add_generation_prompt -%} <|assistant|>{{- '<think>' -}}{%- endif -%}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172services: glm53-flash: image: verdictai/glm53-flash-exl3-k4:r19-sm120-tp2-v44@sha256:15192e3930b4ae5558271ebe7d1a5a02da6dcc5a6c292c44e79a3fb8c883b5e1 container_name: glm53-flash-exl3-k4-daily init: true ipc: host shm_size: 32gb restart: unless-stopped ports: - "${GLM53_PORT:-8012}:${GLM53_PORT:-8012}" environment: VLLM_ENGINE_READY_TIMEOUT_S: "3600" VLLM_USE_B12X_DCP_A2A: "1" VLLM_B12X_MLA_CKV_GATHER: "0" OMP_NUM_THREADS: "2" NCCL_IB_DISABLE: "1" NCCL_P2P_LEVEL: "4" NCCL_PROTO: LL,LL128,Simple volumes: - "${GLM53_MODEL_PATH:-/home/brandonmusic/models/GLM-5.3-Flash-EXL3-4bpw}:/model:ro" - "${GLM53_CACHE_PATH:-/home/brandonmusic/.cache/glm53-exl3-k4}:/root/.cache" entrypoint: ["vllm"] command: - serve - /model - --served-model-name - GLM-5.3-Flash-EXL3-4bpw - --host - 0.0.0.0 - --port - "${GLM53_PORT:-8012}" - --language-model-only - --tensor-parallel-size - "2" - --decode-context-parallel-size - "2" - --dcp-comm-backend - a2a - --dtype - bfloat16 - --load-format - safetensors - --moe-backend - b12x - --attention-backend - FLASHINFER_MLA_SPARSE_SM120 - --kv-cache-dtype - fp8_ds_mla - --max-model-len - "435456" - --max-num-batched-tokens - "2048" - --max-num-seqs - "1" - --gpu-memory-utilization - "0.986" - --enable-chunked-prefill - --no-enable-prefix-caching - --generation-config - /model - --reasoning-parser - glm45 - --disable-custom-all-reduce - --speculative-config - '{"method":"mtp","num_speculative_tokens":3,"draft_sample_method":"probabilistic"}' deploy: resources: reservations: devices: - driver: nvidia device_ids: ["${GLM53_GPU_0:-0}", "${GLM53_GPU_1:-1}"] capabilities: [gpu]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300{ "architectures": [ "Glm5NextForConditionalGeneration" ], "image_end_token_id": 154831, "image_start_token_id": 154830, "image_token_id": 154854, "model_type": "glm5_next", "quantization_config": { "bits": 4, "codebook": "mcg", "head_bits": 16, "non_routed_dtype_policy": "official_source_native", "quant_method": "exl3", "scope": "glm53_routed_experts_only", "serving_reader_qualified": false, "version": "0.0.43" }, "text_config": { "attention_bias": false, "attention_dropout": 0.0, "dtype": "bfloat16", "eos_token_id": [ 154820, 154827, 154829 ], "first_k_dense_replace": 3, "hc_eps": 1e-06, "hc_mult": 4, "hc_sinkhorn_iters": 20, "head_dim": 0, "hidden_act": "silu", "hidden_size": 4096, "index_head_dim": 128, "index_kpool": 4, "index_kpool_always_select_tail": true, "index_kpool_compress": true, "index_n_heads": 32, "index_share_for_mtp_iteration": true, "index_topk": 2048, "indexer_rope_interleave": true, "indexer_types": [ "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full", "full" ], "initializer_range": 0.02, "intermediate_size": 12288, "kv_lora_rank": 512, "layer_types": [ "linear_attention", "linear_attention", "linear_attention", "deepseek_sparse_attention", "linear_attention", "linear_attention", "linear_attention", "deepseek_sparse_attention", "linear_attention", "linear_attention", "linear_attention", "deepseek_sparse_attention", "linear_attention", "linear_attention", "linear_attention", "deepseek_sparse_attention", "linear_attention", "linear_attention", "linear_attention", "deepseek_sparse_attention", "linear_attention", "linear_attention", "linear_attention", "deepseek_sparse_attention", "linear_attention", "linear_attention", "linear_attention", "deepseek_sparse_attention", "linear_attention", "linear_attention", "linear_attention", "deepseek_sparse_attention", "linear_attention", "linear_attention", "linear_attention", "deepseek_sparse_attention", "linear_attention", "linear_attention", "linear_attention", "deepseek_sparse_attention", "linear_attention", "linear_attention", "linear_attention", "deepseek_sparse_attention", "linear_attention" ], "linear_attn_config": { "full_attn_layers": [ 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43 ], "gate_lower_bound": -5.0, "head_dim": 128, "kda_layers": [ 0, 1, 2, 4, 5, 6, 8, 9, 10, 12, 13, 14, 16, 17, 18, 20, 21, 22, 24, 25, 26, 28, 29, 30, 32, 33, 34, 36, 37, 38, 40, 41, 42, 44 ], "num_heads": 64, "short_conv_kernel_size": 4 }, "max_position_embeddings": 1048576, "mhc": true, "mla_use_nope": true, "mlp_layer_types": [ "dense", "dense", "dense", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse", "sparse" ], "model_type": "glm5_next_text", "moe_intermediate_size": 2048, "moe_router_dtype": "float32", "n_group": 1, "n_routed_experts": 288, "n_shared_experts": 1, "norm_topk_prob": true, "num_attention_heads": 64, "num_experts_per_tok": 8, "num_hidden_layers": 45, "num_key_value_heads": 64, "num_nextn_predict_layers": 1, "output_router_logits": false, "pad_token_id": 154820, "q_lora_rank": 1536, "qk_head_dim": 256, "qk_nope_head_dim": 256, "qk_rope_head_dim": 0, "rms_norm_eps": 1e-05, "routed_scaling_factor": 2.5, "router_aux_loss_coef": 0.001, "scoring_func": "sigmoid", "swiglu_limit": 10.0, "tie_word_embeddings": false, "topk_group": 1, "topk_method": "noaux_tc", "use_cache": true, "v_head_dim": 256, "vocab_size": 154880 }, "tie_word_embeddings": false, "transformers_version": "5.16.0", "video_end_token_id": 154833, "video_start_token_id": 154832, "video_token_id": 154855, "vision_config": { "attention_bias": true, "attention_dropout": 0.0, "depth": 24, "hidden_act": "silu", "hidden_size": 1024, "image_size": 448, "in_channels": 3, "initializer_range": 0.02, "intermediate_size": 4096, "model_type": "glm5_next_vision", "num_heads": 16, "out_hidden_size": 4096, "patch_size": 14, "projection_intermediate_size": 10240, "rms_norm_eps": 1e-05, "spatial_merge_size": 2, "swiglu_limit": 10.0, "temporal_patch_size": 2 }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299# GLM-5.3-Flash-EXL3-4bpw
Source: `zai-org/GLM-5.3-Flash-BF16@a6c167b62691b2bac901344b65cb651a70f53e43`. All routed experts including MTP45 are uniform four-bit EXL3/TR3 MCG; non-routed tensors retain their official native dtype. The original custom Transformers TP2 runtime and the dedicated SM120 vLLM image below are qualified separately against the same BF16 teacher evidence.
Five-cold-run mean teacher-to-student KLD: `0.024554564250` over 51,175 sealed causal positions per run. Actual TP2 runtime qualification-window KLD: `0.022750847878` over 2,047 positions (both gates: mean KLD < 0.06). This checkpoint requires the included custom Transformers TP2 adapter and is not a stock vLLM/ExLlamaV3 compatibility claim.
## Five cold KLD runs
| Run | Mean teacher-to-student KLD | Positions | Report receipt | Capture receipt ||---:|---:|---:|---|---|| 1 | 0.024554564249958 | 51,175 | `ef6a8dedc20f11e582658f94923da3e66c2b6cea4ff62d936abb790e376e2461` | `013759025d8414f8811fa140250e2c79097c1082926edd4ae2cfc6751722fc8d` || 2 | 0.024554564249958 | 51,175 | `b7d1cac829f6b21471da4ea724aac479f9db250d4286edd412e099fa747f8257` | `eae08903737bde9f31bf6f8632d2de7b6539f4b1efd8113c5f81461d92aaf671` || 3 | 0.024554564249958 | 51,175 | `663629ccd2bda08a4c299d767b7e6e6d622a81ad6830ad1acf08d0eb8ca1a196` | `000896721ea7116322eb31d8e75718985d29240fabd6a921627bb02c03516bec` || 4 | 0.024554564249958 | 51,175 | `cdb2d8ee4ce795f695f335f0bb3ce7bd135dcf6df4f48c6e3862b40cd1340586` | `7ece4defa651c3693bffd624ad7d07ff85c0dceb7674a7752ec136dea6370c3f` || 5 | 0.024554564249958 | 51,175 | `ac4d6d94aef27b09ca9b2dd513516e793cf5f4afe3d1f2b008a3fb4ed64ae243` | `5b59145332206b4c0fb82f791e2c09be8fadb16d18e6e58818b78e919294cb65` |
All five accepted executions used the same sealed 25-window panel, so each has 51,175 causal prediction positions. They produced the same tokenwise-KLD SHA-256 and a population standard deviation of zero. The first attempt at the fifth capture received an external SIGTERM before it wrote any logits; it retained only its plan and reader identity and is excluded. The table's run 5 is the clean `run5b` retry, with a distinct cold-execution backend/capture receipt and the same measured KLD as runs 1-4.
The direct packed TP2 serving result (`0.022750847878`) is a separate one-window runtime qualification measurement, not a replacement for the five full-panel runs. The raw decoded-logit absolute-error diagnostic remains failed and is disclosed in the receipts; qualification is based on teacher-to-runtime KLD, rank-identical output, complete packed-tensor census, and multi-token generation.
Code and the five-run receipts: [brandonmmusic-max/glm-5.3-flash-exl3-4bpw](https://github.com/brandonmmusic-max/glm-5.3-flash-exl3-4bpw).
## BF16 teacher logits and replay calibration
The complete teacher dataset is published at[`brandonmusic/GLM-5.3-Flash-BF16-Teacher-Logits`](https://huggingface.co/datasets/brandonmusic/GLM-5.3-Flash-BF16-Teacher-Logits).It contains 640 rolling calibration windows plus the 25 qualification-only finalwindows: 665 windows total, each with 2,048 input tokens, 2,047 scored positions,and the full 154,880-token vocabulary. The 1,361,255 scored positions occupy843,324,965,136 raw logits bytes.
The teacher is the released BF16 checkpoint with its native FP32 tensorspreserved; the logits are stored as float32 to avoid an additionalstorage-precision loss. Payload revision[`7c378d5f17dba158c4c803eff27c346dd0615660`](https://huggingface.co/datasets/brandonmusic/GLM-5.3-Flash-BF16-Teacher-Logits/tree/7c378d5f17dba158c4c803eff27c346dd0615660)is bound by the[`16e16e90078bc0b54bd1cd37b08ba7dad03819726d0258443a0e30b68b354472` aggregate audit](https://huggingface.co/datasets/brandonmusic/GLM-5.3-Flash-BF16-Teacher-Logits/blob/267ccf27ca92575529e0a1ef80e7eed8d209a8f4/logits/full-panel/receipts/full-dataset-audit.json),which records every payload path, size, and SHA-256. The 25 final windows remainqualification-only and are excluded from fitting and expert selection.
## Minimal TP2 launch
The historical Transformers runtime below is an evidence/qualification path,not the optimized daily-driver launch. Use the SM120 container in the nextsection for serving.
Use Transformers 5.16.1, clone ExLlamaV3 at commit `c5d9c657966ffeeaa9353f0cc899f18629da4a13`, compile its CUDA extension, then run:
```bashPYTHONPATH=runtime/src torchrun --standalone --nproc-per-node=2 runtime/scripts/run_glm53_custom_tp_runtime.py --model . --exllamav3-source /path/to/exllamav3 --prompt 'Hello'```
## SM120 TP2 daily-driver image
Docker Hub: [`verdictai/glm53-flash-exl3-k4`](https://hub.docker.com/r/verdictai/glm53-flash-exl3-k4)
- Version: `r19-sm120-tp2-ep2-v71`- Immutable OCI index digest: `sha256:bb6d2516f88d963a0c8c10d85582c4580adc8754d506f62ce4915b84c095faca`- Linux/amd64 manifest: `sha256:77850e030d07df2e2907e6741b69883e82287cf731d1aaef8ff3f2070aedf351`- Hardware qualified: 2x RTX PRO 6000 Blackwell (SM120), TP2- Daily-driver mode: NVFP4 MLA KV, DCP2, CUDA graphs, MTP3; launcher ceiling 499,968 tokens- Accuracy mode: FP8 MLA KV, DCP1 or DCP2; the published serve script uses a measured-safe 262,144-token FP8 ceiling- Alternate mode: DCP1; DCP2 CUDA graphs with MTP3 are fixed and qualified in v44- Sampling defaults from the model generation config: temperature `1.0`, top-p `0.95`
The image contains a dedicated vLLM/B12X overlay for GLM-5.3-Flash's hybridlinear/sparse-attention architecture, NoPE MLA, EXL3 K4 routed experts, and theMTP layer. The official 45-layer pattern is honored directly: 34 linear layersand 11 DeepSeek sparse-attention layers, alternating three linear layers and onesparse layer. Sparse layers use IndexPool-4 and top-k 2,048. This is not a claimthat the checkpoint runs in upstream stock vLLM.
### Current local optimum: v71 validation profile (2026-08-27)
`v71` is the latest validated benchmark/profile revision and the publishedDocker tag. The self-contained release bakes the exact runtime overlay and46-entry scale bank used by the measured profile into the image. It uses NVFP4 MLA KV,DCP2, MTP3 probabilistic rejection sampling, TP2/EP2, CUDA graphs, and theroute128 SMEM/register fast path. The 46-entry power-of-two calibration bankcovers all 45 backbone layers plus MTP45. No TMEM path is used on SM120.
The v71 measurements used physical GPUs 1 and 3, both RTX PRO 6000 BlackwellWorkstation Edition cards, with a +6000 MHz memory VF offset and 600 W powerlimit. These are workstation-pair/OC results and are not a controlled claimthat overclocking alone caused the change.
| Context | Warm prefill tok/s | C1 sustained decode tok/s | MTP draft acceptance ||---:|---:|---:|---:|| 0 | — | **147.79** | 42.86% || 8K | **5,723** | — | — || 16K | **6,234** | **148.55** | 50.88% || 32K | **6,219** | **149.58** | 51.72% |
The exact v71 receipts and the later C1-C16/128K stress matrix are under`runtime-results/v71/benchmarks/`. The GitHub-renderable terminal report is[`nvfp4-dcp2-mtp3-ws13-oc6000-c1-c16-through128k-tui.txt`](../runtime-results/v71/benchmarks/nvfp4-dcp2-mtp3-ws13-oc6000-c1-c16-through128k-tui.txt).The stress matrix reached 564.8 aggregatetok/s at C8/0K and 481.7 tok/s at C8/32K, but those cells admitted only 7/8 and6/8 requests. C8/C16 at 64K was severely capacity/thermal limited. GPU 3reached 94 C and accumulated hardware thermal slowdown. The nominal 128K cellssubmitted a 131,072-token prompt plus requested output against a 131,072-tokenserver ceiling; those request errors are disclosed and are not reported as zeromodel throughput. C16/128K was skipped by the harness because it did not fit.
### Current actual-runtime KLD by MLA KV-cache type
Both current results are independent five-run averages over the complete2,048-token `final-0000` qualification window (2,047 causal positions per run),compared against the sealed BF16 teacher logits. The matched correctness regimeis TP2/EP2, DCP2, eager, no MTP, route128 SMEM. MTP is disabled only for thisteacher-logit comparison so draft-token sampling cannot alter the scoredruntime logits.
| MLA KV cache | Five-run mean KLD | Population stddev | Mean top-1 agreement | Gate ||---|---:|---:|---:|---:|| FP8 | **0.024581652920** | 0.000159556478 | 0.936297020029 | pass || NVFP4, calibrated power-of-two scales | **0.054757372223** | 0.000000000000 | 0.914997557401 | pass |
The FP8 receipt SHA-256 is`da072d243fbdb231388bfc23b84bdb0cee2cb26c1885d3ec407c4164525b6b6b`;the NVFP4 receipt SHA-256 is`b52b6d7abbcbf1f0bc81f713e4513bc8a376235e2f44cc7f4ba7d368f62e69ca`.The NVFP4 no-MTP KLD exercises the 45 backbone cache entries; the published46th calibrated entry is the MTP layer used by the daily MTP3 profile.
### Historical v44 actual-runtime KLD
The exact 2,048-token `final-0000` qualification window was captured with TP2,DCP1, eager execution, `fp8_ds_mla`, no MTP, and full-vocabulary float32runtime logits, then compared to the sealed BF16 teacher in float64 chunks.
| Metric | SM120 FP8 KV five-run mean | Rented B200 custom TP2 | Offline K4 ||---|---:|---:|---:|| Mean teacher KLD | **0.024628576596** | 0.022750847878 | 0.031831601179 || Top-1 agreement | **0.937957987298** | 0.9384 | — |
The earlier local KLD near `0.10` was a runtime scale-decoding defect, not arouting-quality result. The cache writer stores GLM's four calibratedper-token, per-128-channel scales as arbitrary FP32 values (`amax / 448`). TheSM120 FlashInfer reader was left at `kv_scale_format="auto"`, which interpretsinline scales using the DeepSeek-v3.2 power-of-two convention. v34 explicitlyselects `arbitrary_fp32` in the GLM NoPE adapter. The corrected first-64-row KLDis `0.1918669499`; rows 64 onward are `0.0194743407`, and the whole-windowresult reproduces the independently observed server range.
The current five-run receipt is published at`runtime-results/v44/kld/fp8-five-run-kld-receipt.json`.
An independent five-run repetition was then executed on physical GPUs 2 and 3with the same TP2/DCP1 eager/no-MTP FP8-cache regime and the complete 2,048-tokenwindow (2,047 causal prediction positions per run):
| Run | Mean teacher KLD | Top-1 agreement ||---:|---:|---:|| 1 | 0.024566116964 | 0.939423546654 || 2 | 0.024849557477 | 0.939423546654 || 3 | 0.024882931269 | 0.936492427943 || 4 | 0.024016412384 | 0.938935026869 || 5 | 0.024827864889 | 0.935515388373 |
The five-run mean is **0.024628576596**, population standard deviation is`0.000326156681`, and mean top-1 agreement is `0.937957987298`. All five runspass the preregistered mean-KLD `< 0.06` gate.
The matched v44 TP2/DCP1/eager/no-MTP test was repeated five times with`nvfp4_ds_mla` on physical GPUs 2 and 3. Every run covered the same complete2,047 causal positions and produced the same tokenwise result:
- five-run mean KLD: **`0.06053485053836315`**;- population standard deviation: **`0.0`**;- mean top-1 agreement: **`0.9154860771861261`**;- tokenwise KLD SHA-256 (all five runs): `03dc42308d83b9f64e04c101253a5e316dd21f1e55332a9d63c36fabac7b156e`.
This narrowly misses the preregistered `<0.06` gate by`0.00053485053836315` and is disclosed as a failure, not rounded into a pass.The newer per-token dynamic-scale control was also tested once and was worse:mean KLD `0.068229579401`, top-1 agreement `0.919882755252`, with tail outliersup to `7.1683`. Dynamic scaling is therefore disabled in the published dailyprofile. Use FP8 KV when KLD fidelity is the priority; use NVFP4 KV when the499,968-token capacity is required.
### MTP3 DCP2 measured decode and prefill
MTP3 remains enabled by default with probabilistic rejection sampling. Thecurrent v71 workstation-pair figures are reported above; the older v44measurements below remain useful as a non-OC historical baseline. On that v44NVFP4 DCP2 CUDA-graph path, concurrency-1 decode measured 98.9, 106.5, 101.2,107.2, and 112.4 tokens/s at 0, 16K, 32K, 64K, and 128K context. Repeated warmprefill measured 3,819, 4,112, 4,149, 4,174, and 4,145 tokens/s at 8K, 16K,32K, 64K, and 128K. The selected attention backend is `B12X_MLA_SPARSE`; thisis the SM120 sparse fast path, not eager fallback.
The DCP2 NVFP4 launch retained **608,656 logical KV tokens** (1.58 GiB cachememory per GPU), or 1.22x the configured 499,968-token maximum. The separatelyqualified FP8 DCP2 launch retained 356,352 logical tokens at 95% utilization.
### DCP2 CUDA-graph MTP3 fix
v44 includes the DCP2 fix for the failure that previously appeared only when CUDA graphs,MTP depth greater than one, and graph-padded multi-request batches were usedtogether. The sparse KPool cache writer had used the padded scoring width forcache writes even when the live per-request MTP widths summed to fewer tokens;GDN metadata also retained zero-token graph rows. The v44 runtime separates the live writecount from the padded scoring count and compacts those zero-token rows.
The exact formerly failing TP2/DCP2/MTP3/max-seqs-4 graph geometry wasvalidated on two RTX PRO 6000 Blackwell GPUs with both cache paths:
| Cache | Attention path | Concurrent coherence | Runtime errors ||---|---|---:|---:|| `fp8_ds_mla` | `FLASHINFER_MLA_SPARSE_SM120` | 4/4 arithmetic requests correct | 0 || `nvfp4_ds_mla` | `B12X_MLA_SPARSE` | 4/4 arithmetic requests correct and clean stop | 0 |
The final NVFP4 validation exposed 348 MTP draft steps and 629 acceptedspeculative tokens, or 60.25% of the 1,044 drafted-token opportunities. Thisis the fast CUDA-graph path, not eager fallback.
Repeated warm prefill on the production 2,048-token scheduler setting measured4,565 tok/s at 8K, 4,746 at 16K, 4,823 at 32K, 4,788 at 64K, and 4,685 at128K. The live route is the B12X SM120 unified MG sparse-prefill kernel, not ageneric fallback. A 2,304-token batch was no faster and retained only 1.04x KVheadroom for a 499,968-token request; 4,096 could not retain the full contextbudget. The published 2,048-token scheduler setting is therefore intentional.
The extreme-context qualification found a separate transient-workspace limit.With the 2,048-token chunk, a 499K request asked KPool for a 758 MiB logitsmatrix when only 754 MiB was free. The memory-safe `long500k` profile uses a1,024-token chunk, one active sequence, and 98.5% memory utilization. On thepublished v37 digest it retained 678,968 KV tokens (1.36x the configured499,968-token maximum) and recovered a middle-depth needle from a 498,365-tokenprompt in 141.5 seconds. The same profile on v34 recovered all three insertiondepths at both 384K and 499K. The current v43 qualification root filesystem isbyte-identical to published v44 and extends this evidence with the 17/18 rawmatrix plus the exact 498,368-token retry above. The long profile tradesprefill throughput for transientworkspace safety; it does not select a generic attention backend.
### Current quality gates
Using the official generation defaults (temperature 1.0, top-p 0.95), theNVFP4/DCP2/CUDA-graph/MTP3 profile scored Estonia **10/10** with 127.87aggregate generated tokens/s and no 40,000-token cap hits. The raw needlematrix scored **17/18** through 499K. Its only apparent miss consumed all 1,600remaining output tokens in reasoning; replaying the exact 498,368-token promptwith low reasoning returned the exact needle in seven completion tokens. Theraw 17/18 receipt is preserved rather than rewritten.
LAVD is not yet a passing quality gate. With the same official sampling andnormal reasoning, the harness reported 1/10 exact; the conservative responseaudit recovered two additional near answers (3/10 accepted), while nine runshit the 40,000-token ceiling after an average of 39,752 completion tokens.Constraining the generic API reasoning mode to `low` removed every cap hit andreduced the average to 3,647 completion tokens, but did not solve accuracy: theoriginal scorer found 1/10 near, and the response audit recovered 1 exact plus3 near answers (4/10 accepted). Generation throughput was effectivelyunchanged at 136.48 versus 136.59 aggregate tokens/s. These raw and auditedreceipts are published under `runtime-results/v44/quality/`; the result isreported as a reasoning/scoring-harness diagnostic, not silently counted as amodel pass.
### Docker Compose
Download `runtime/compose.sm120-tp2.yaml` from this repo, set the model path ifneeded, and run:
```bashGLM53_MODEL_PATH=/absolute/path/to/GLM-5.3-Flash-EXL3-4bpw \ docker compose -f compose.sm120-tp2.yaml up -d```
### Serve script
The published `runtime/serve-glm53-sm120-tp2.sh` defaults to GPUs 0,1, port8012, NVFP4/DCP2/MTP3, prefix caching disabled, and the immutable v71 digest:
```bashchmod +x serve-glm53-sm120-tp2.shMODEL=/absolute/path/to/GLM-5.3-Flash-EXL3-4bpw ./serve-glm53-sm120-tp2.sh```
Use `CACHE=fp8_ds_mla`, `DCP=1`, or `MTP_TOKENS=0` for controlled variants.The inherited `long500k` launcher profile is the profile used for the historicalv44 500K qualification. It is available in v71, but 500K was not rebenchmarkedafter the v71 runtime overlay. To select it, use:
```bashPROFILE=long500k MODEL=/absolute/path/to/GLM-5.3-Flash-EXL3-4bpw \ ./serve-glm53-sm120-tp2.sh```
The default `daily` profile keeps the faster 2,048-token scheduler chunk forordinary serving. `PROFILE=long500k` is NVFP4/MTP3 and intentionally sets`MAX_NUM_BATCHED_TOKENS=1024`, `MAX_NUM_SEQS=1`, and`GPU_MEMORY_UTILIZATION=0.985`.
Credit goes to turboderp for the EXL3 quantization format. Local Inference Lab,Martin Vit, and Luke Alonzo contributed or helped test components of the baseimage.1{"bits":4,"codec_family":"exl3-mcg","exllamav3":{"git_commit":"c5d9c657966ffeeaa9353f0cc899f18629da4a13","linear_storage_group":[["su","suh"],["sv","svh"],"trellis"],"module_key_rule":"official_weight_name_without_.weight","version":"0.0.43","written_suffixes":["trellis","suh","svh","mcg"]},"mcg_multiplier_hex":"0xCBAC1FED","output_tensor_count":150226,"output_tensor_names_sha256":"fef5367167148f0498c01da23584a68ab687dc9665668fc6f8c2f87e725b46eb","packed_reader_abi_sha256":"1990dbffd78f0866a8e75011c8276a55b784d2fe1886d1e6271d2173ed4f5e3d","plan_sha256":"a359003aea48137bdec97a0de50b5c9a31475a25d636ee7ca830e315a755f667","qualified_tp_sizes":[],"reason":"ExLlamaV3 v0.0.43 has no audited GLM-5.3 TP model load/inference receipt","receipt_sha256":"61a1becf7dfe3a9a0ab1579ed2b8157031cb74ae50d83762baedd93ce46b30c0","schema":"quant-pipeline.glm53-exl3-mcg-storage-abi.v1","serving_reader_qualified":false,"storage_checkpoint_verified":true}123456789101112{ "_from_model_config": true, "eos_token_id": [ 154820, 154827, 154829 ], "pad_token_id": 154820, "temperature": 1.0, "top_p": 0.95, "transformers_version": "5.16.0"}1{"auxiliary_files":[{"bytes":1570,"path":".gitattributes","sha256":"34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930"},{"bytes":1070,"path":"LICENSE","sha256":"30b85b6b9659f2e78aa259f8faf5d920a68dee7c9ced3fa6dba1f19f2bc4fca1"},{"bytes":7243,"path":"README.md","sha256":"3f0894b80aefb75c2afbaa0d4fb0f0f0993f14cb9700c6a5077ea6c201637b7b"},{"bytes":8617,"path":"chat_template.jinja","sha256":"41cff9af7b3a86c96751b107a8444f245fbda0bd5320b636a5bb1f7f4ba1a5c3"},{"bytes":194,"path":"generation_config.json","sha256":"230c30609ecbbb9e6583bedde8e7bdda0c6eb8fe5fad0eaeb3d1b293d751cb4f"},{"bytes":909,"path":"processor_config.json","sha256":"aae38374c94b08cc9b0547c6e64f05b951bd9735cea571c6988f5ed552bed3ed"},{"bytes":20217442,"path":"tokenizer.json","sha256":"19e773648cb4e65de8660ea6365e10acca112d42a854923df93db4a6f333a82d"},{"bytes":761,"path":"tokenizer_config.json","sha256":"98b1271574f41abf89427ae2dda030d94dc9478f0edc5a8bd240db213c6fd5fc"}],"bits":4,"codec_family":"exl3-mcg","complete":true,"config_sha256":"4f5341e048984459471bfb9c894e6bf87e69b9c67402672af901631d1349f265","index_sha256":"2f64d21c67c90bbafeb36c4e9b2f06f54063ed439e9f7cf95962d425a1d8515d","main_and_mtp_complete":true,"mcg_multiplier_hex":"0xCBAC1FED","native_tensor_count":1618,"nonrouted_native_exact":true,"output_logical_bytes":175622979576,"output_root":"/workspace/models/brandonmusic/GLM-5.3-Flash-EXL3-MCG-K4","output_tensor_count":150226,"output_tensor_names_sha256":"fef5367167148f0498c01da23584a68ab687dc9665668fc6f8c2f87e725b46eb","packed_root":"/workspace/artifacts/encoding/glm53-uniform-k4-combined-public-mcg-v5","packed_tensor_count":148608,"plan_sha256":"a359003aea48137bdec97a0de50b5c9a31475a25d636ee7ca830e315a755f667","qualified_tp_sizes":[],"quantization_config_sha256":"1e5cdf56da1929c2a7d8982085324de05bb92144882792f034239e289316c645","reader_audit_required_before_publication_as_serving_ready":true,"receipt_sha256":"092be1ffa8db66bf02d4c370d0433a57aa48d4a6e5ce89723ef6a3bb7ca32643","routed_choice_count":37152,"schema":"quant-pipeline.glm53-k4-materialization-receipt.v1","serving_reader_qualified":false,"shard_receipt_sha256":["4787804e65f6a38192743871221cb261d921b49f469e57ee1ef48a4dd00c0ec8","a7dbc0557933d08a82f78eaa0999d4b6db7dff43648bca2ad4d8005194e9e4c7","7c4416e2292966356189316f300bbd916ac8b504ecedd5fda8fc94487cb31c42","7090dc000cc79bcf9acde98e02a6fe867616ff125e0b793666e0f4b558fb7d97","0048b2f986de44c06e1a36e3dac7f033bfeff197870f336cb89b5f001184ad23","8b3b12c9317dc58b5215840bf83dcf319acc89425d3c7b7d4884c69669b2e992","b8cc2a0ecc220b1db6fbfc1c0a1f492bd476b998e71e84b7f0bb643f761b3993","322929486e1aa3d267f1a729bf1f3ca5de1ee5ab0150c2bd24cc9b94f578b22b","3eef9071b220d0bcb7f242e6ac76913fc2f632f7bf3abd4e6f9a78d514c7199e","1495a8d87d8020d8950aa61937a6d359440e189959269e418872d19bf0a62574","029d978baaa5118cc747bb46f524960bb4082df1b5664ebd93074ae1f85d925f","2c247fec7b4301897c5c9752c3b1aabe4b8072ff5e8ba14542ac10bd4a98e4ab","ee2d0a53ada64d13973eab28f561c85b2726e91e775c49cef5f6a028acf6e60a","4ba411e782312e970e85b125c9bc518193e95ea82c9d4772fce9f9c152d14421","8e22e3d9dbd9141051b2f10bd6a6ddc9a5c9a6545d293026bd9d8493d07a6159","6bdc81be45ae5e8d3a11271ff6cbb8933d53cf5e348039136fa13d94953f1cda","cc37bb131007f0cbf888a9e6d704ec0671d9668f7877a1b8ec782d4eed949c36","949b26bc0dc1c7d774e1d94f195811ede5e83bea3dad35ee88e20c9cbd2b9481","08f7456700f1f3c66793fd35ed1ee49455185af70266c9336799bb97cb4d4868","4050087269b46f1ca40981db7c29a63175bcf2981877e0cb498da031852dee59","0aefbd2b99a5ea37111d44dcdfebf34a2c48aa52a83dbcf11a43501a7fbb3507","f6c9f6548e0c748d2ce36e2fcc4278937870b8791192e26f65419e7817eb4b67","1f44ae0d5ca977c26f943ddf0b37c642d1d0fe6221945cc047fde76c4ec191aa","cb78809169adc53477081c0e5905a1533215b1fca03140ed7b23424c700c08bf","24252cead52e9902571e8498f8c7b3e606780c8cc27830be9fcb11b472312ea7","2213db4ab7e6d9848f3786ef3610b072ad8ad7b92a63dfb4b6d889690c66d36f","ed6d0ce9cd105c2a8a1b96a6ed379bc65e4900bc8ea6c1ab413ef62ed4b98a25","8cd66aff75630f487e158670b30655beeb84406f79f0514da0dd1b929e137a90","83329b401cc271a6de111f335b0e3c408773cb48b6abf5d293ffa41231a5c3fd","fbbb9e5dddf2cf31343888fda7ae2f117bd4d9527a1e114d347b0760cef6c15b","83f6e8065b87f06645ca1d23ec0473ccd0ff88d03d8e973cd3ed2d48b1e2a8d4","75a143aafeb8eb753a5ead46e92a8a3d4db59094dc29849ebb1ff983d7e1381b","af5d4e94ff80f937c9374cea37ba822bcd4d530736cc3590dbb557bad591a736","3c46187a78e76b5a3b72c4647053b7c25e338b820a12d1f04418efd639e91f10","23f9bd936341fbb0cade55932e47ee767d606e0cac3a68817df1fe8f5eef823c","a1d85b7ef4e1dfce198f6e73008c3f075c1bdc67c01dd2a1978879a6d69057d7","bfc6ab445a8963df788cc84dc038ba1dc9e37049392a44d604812c2cfe8f92bb","293669e17cbd914c3381c855ab44e6d1346a10cf0e08d503a0bbcb38f1381f20","e14114776e1b40cc16e96251bfc69ef5ff890cc498dbe1d76ab94bc3a55d6273","b640d3ed6941e4d322f2fa1e017af2e1450179ef949ecbeddc40be658b34bd72","0a4fdd142a397cf7446261e9468fede1f5b31dfa64cf48bc98f2912e18eb755d","c2a9c33df1eaf4c0cf362b01d391219c7eb9dfd633a642cfa551788ec7fbbc99","5b3a04a9c86a74b22a6aff572b11a538b41d6f97398956195887558b363696ca","15ff0586aa5c36ca6aa6279278421709725338b244038fa9923f688293baa914","3040f35b06e8d851e203f78c61316c6f3b5b6029997a25787cc622fcfaedcc30","53d78880608675eab2e3bc16042cf6d1ab0427add3fb887355ad287cb43f05b8","69f0c085d88f368ac348f74f2617be4f2d177d2727876adde5127671817a5b39","fba7fb592cae5a572fd1021838d25634a0c0720efb99aaeb2af80f13bf984c5c","b7c3fac11fb62c654c48ca9d20286fc9b2565de0be61c5ed4347a8fc24414035","a03152227c05cda85f6655293859f68dd9bb204272147f193479c19bc6fb677b","6103818802b70da3d9183644f123b6e9bfb47ac35b87823ca67ad48bc76cd9a8","fc9263989931e8ca44befbc25b69ec979c782950537ab057a3b8530f9216f036","b6ce53dd03decfc5224fbafeccadddb1d89dec6fb79caca8dc10c660d41a5a82","7907c01fe69ffb702a47a739fd4359df7cc0ee060697f404f3aa66527b4ee23e","2896d01f4baad64b2e1da29a7c78c9e7eda6b9c91daa0822251de809a2837c53","48a02b15a1ebbda9e8aca7549e0789ceebbfd1eb1e2b26f9129b727a6144ebf3","18d3991e57cd0d53366c5c3fe5185af486ee82ef77e0e33ece41d1e5a88a2848","12abf7d8df3479520968a94fce034c5841f6743549d3ac112a1d32bcbf5370f4","2ab6b10483783c4dd4bc1fd91a79ae80ef9d0048f5498873f004966fc250d42e","6371fdf007009b1af4fec679e9dc096019869243ff83351cb60928988ebd4287","3afe08a341353ac88e7aab01de7ba168d172243e5fc4aedfa765523f5cadacbe","aa0cf5f9313b84597a189e3f3a81d63372578922aab482c47826fb6ec0ba0e61","1d094bee623e085669409a5da7c7bd8916fbf3699f968080ec76dcd0c300fab9","e54ed042eefbd416d6f2672e5f0fe82787a54e24aa8d3e512dadc9899ba4c25a","93965a481beb8985fbe0f795a65589c5dbbc63efddfcc7ddc20c9b4f0d0dc811","2cf328ad0e6cb80f6d52f9a06ae08916b6070e7154983ccb1dabb162ee6926b1","0112a1eaf180f995386a25a163e89246a510075eb91d1c0a560abdd60b7405c2","99f732ef15dcf65d3a12a47ae2c130ba806c49782cd90f28ba08301d210e4420","2890a532aa6ae7917d5233a8ef72310de3f96efb9d047779480c448ade8c3722","b5e083afdce3a9f831c0a123afa3ed5c67f256fcad17bc4d0b1392744b798d2b","40e2a53d6321664127850dd8e48dfa470a83e4a6142260789cc624bdab89bd83","34fad6d5ba6699be03880d1d55b5f15951e08e210d622e66397702668310d649","6ba951cad70d79b5bbe2878da2655608ce4d73140098de15ab587fe64783ebb9","fe3b1d1c6f1a3928f835e33f7df5bab6521fcee41e39bd7c2791995c02897ce3","0e5188901b8681a7a0a821471202bf050492775380b481a2d8f0d0e6784b2784","26c70f42035106c9b5d4840b5c0388136f5eb79febb605bb4db44d08ca7b6420","27a01fcc6e11b391bfc246c0687df400871a91db5865bb12ba8c4161aa1e724c","4586854147e388e94065c6dd97ba37e2bc2579b0ff84a570cd09080a86edd4dc","4702f974ebad0bd18c37b3e5d21c776d0c2453df777b4d654bf4ea01ec1a4a0e","23ca0316bd7af5b59b0c5dfdab3af3e3ae91482420055e247a7afe7c08f0784d","e0609d0ece0ac8e924b4577dd2f67797032b602d14af5ffc788a7efe04b74e43","4cc3e0090aa06531345abf6391a031857e01792ea539224c9644fb1ae83e3880","8cc8bca46505d6154bb9d554e0a690142ef6725b1b64f07549540a7ac89194b7","11fb79267e96570421fb6e1b285e6cbecc7537e13c90ae88becf023bf555e77c","3d6c0d72dec5dcbeab6965a224f36fb4bcff4cc0eac909ac89f1f065bd1219ee","7125333bccfb6ae064607cb11a94e22737ba2a61bc30ba13bf8037177301c816","11f449ddcbe090008ca68ab6b417bd1387facb575e70ecf39804ca055e59a4b5","170f42e3bdcd09ce1d27f8d30519e9de927952f5ad7f0abd3947b7796bf2b3bd","2ba46cc5c55b9113804a4e877b977f240383974113ea8e68b868adf31c1d1beb","064e87c3e515aa0cf94e3d1e23f4dae689d259be0b176163fd5622549835e7b4","e130a99def7b9d4162175ae5e71984f381ea21aff5ae9801c3c650971d00d633","fdfd5588ee4b7146412a60264956571e20bef187be4e40abc96371ed15d62b0e","50a79b77c990ed37dd1beccdec280f92b20717b15c0079296de3811e688a0d40","d4850f80cabc7d6b0c49e0e3065c0f8b28da5764ce030a780c5e607fb6d4c1dd","e8c07a16e85f696813f037cdb5aa4fbdc3b66ea575dc229df1dfa47547f0c5f3","908e9aee7982368aaf0b1bf7761dac6a5632a9291029addfa11361cab3774dfe","3ea2ec13a518b10dd2abb51fe00c7af587a156ccffc8dbf6a70533ab64fa09cf","ac98dc64e1a22c32501652ed0b656ce8073575eac0778bb05f979b1e2eb13d71","151e00e4b71a20eda909ef0ca79949fdbaf4507e82eb918cf0ed9de3aee58207","5c5db54c5924f05f5add0e0bd1f88562146dafd205e9cb79c7dab66cffe7fcca","8bc176b56a91fcb185091162907ebe33fc11c335b5ce12456098a5917b6b9091","ecfd63ccccb9b34df5943885c7359c7b52890c4c1dfbbed1f3f75a1db522f7c5","19d389460e87bde33e5e56daee4d5baa33d3c8a564e9976b95ff7734c59dfc17","8392c4ed39802e105a6f685c2b52fe29bb8f8bda5b92a6587032ed311b588807","a16e42b81a36f37677e27a5a019b35a9bf225d3a5f670fc5e8e9a91c64d7238f","acb886c63c60a2b85de6888fdbbd7ad2d9e9252e6b9608dabddc9091a64b82fc","f62613fe3a04aaa58c03c6c9383fefe745809dc0cfc03b31cad0f943fca00b56","ad6b5a04f51c7ab522cba76bfbc6159524e5d8cb9ea481182a548bd5da06840b","a251d976edb49d2adb907ac2e3a7ec18f498f04b81a8e10ee0e5706a56b2d9b8","5e607d8d8fcce44dc0d8e2676cb535706207f04be6608769982f1f4e3e7f76d4","7ca5ecbc3a2b1a79443e265556bd5c720d822261d1b22c5f9da3f9320f752329","c899cca8f6a22c68bae5038080e1259461b7a649c2ee45896c1a67ecd27b80a8","d8a4d5b8bf1f0fe7946bafc3d1f1ad3fdf43f8cb194c4433c803a51b6c90f8a4","128b7de52085adef693f7a61013b8058e9417528526ad4ad326e2353bf0c7c0c","41ef3ba0018fe24b7ac4339e7e6d2f385a686a5837e2a8bb5591afb3d8c08289","bf80d5253e721b901bccd669eae419571c63a03314629704c49b44dce522bf00","78431f17886ceead18c8dd83a874344b785a691496798368ca2ea3e3f31c1445","af21cef91533d3621272db66338a9dec37adf2a4459981fed71fccd353ddd3a9","5f5114a8a85c37bbe09de2a1dd539f3a8fc115abeb86a2cb259f0cbff26bf72d","1c2356dec67a55f9c024cfabbb54eab772a0b91c6d9c11284a0697099a625a5c"],"shard_sha256":{"model-00001-of-00120.safetensors":"46cc9e99897500fee92f2f08c95665cda51a704f835548465a1023cd4db63ef7","model-00002-of-00120.safetensors":"b78eebdbee138150d310d7c655baae1ea31720b8ad53f39389b1679ce0f51552","model-00003-of-00120.safetensors":"d377c4b645e7283f21370a1d12d90f238ec38194f78ddc483aea6be45c0db2c6","model-00004-of-00120.safetensors":"65f841ba0f3449b18af49eca276db6047a78088a3ff293f9edd41dcb4082af65","model-00005-of-00120.safetensors":"d0425becf2a42244527553a983b269e2656521069c6e9467d0ce6912dd2fee80","model-00006-of-00120.safetensors":"3f6ded63fe3fe96a176c1ffad431c2e7350307238a89fb89ac3947605ea4d72a","model-00007-of-00120.safetensors":"a8e2cf2d869afb825934ad43bcbbf7e16132bdfca8443ca52a39c46b36f775cd","model-00008-of-00120.safetensors":"eaaf3e209d6bcd37efae31e10fbbc822755629a701076ad9a527d80c216810d5","model-00009-of-00120.safetensors":"ad30bcac854cc303563eb2f280439bf86d7b56c81a43e00175fecd55d63f9905","model-00010-of-00120.safetensors":"35530edfbce782687f3b06b85f85f34decc537a53015c0bee1a4caf82c7cc78b","model-00011-of-00120.safetensors":"686f13c8151614b4d85c02c20e8a786bdfa1eac82d8260bd8d877833db346288","model-00012-of-00120.safetensors":"79a19881d8a37ac0afbcd0b0e77ea45150900467b43ae0b412288ce82154a718","model-00013-of-00120.safetensors":"d07940d68fc7b90f99eca406819e4bcd94995a909e32f0f3d15f3251c8f06552","model-00014-of-00120.safetensors":"ca3290268d136656a2b8eb56328fcf275824bcd60c269a39d9b1ee02d29d42fd","model-00015-of-00120.safetensors":"2172d6d1c76e4d79d0d6147e693080a1ee2fd2761518764ea7ae42d6e21816ca","model-00016-of-00120.safetensors":"b33392a8b5f66e82115d1c7bbe830945fdda9b5b3a2d5094c9e8f7120186d09f","model-00017-of-00120.safetensors":"b198f9d0606953932f131b3d1124488702280ca55627d5c9156823a87a56144b","model-00018-of-00120.safetensors":"b98e6fa60d19eeabe5f937dfa5cde62ee0cffb7e8687f7c6e8e54be797e76cfd","model-00019-of-00120.safetensors":"1ac4f98e4a16f9f620d83a51353a5b3ae4af05055b7777633981a930f063a9a4","model-00020-of-00120.safetensors":"db5f5e4bfe9704b55cad6fddcbeb0b50c0f0d760af247f13ea78e6b9a13bf5e9","model-00021-of-00120.safetensors":"94abdb9997af61ed92f43d58c73c96947add0ac1580c2255eaba2b254aa34782","model-00022-of-00120.safetensors":"d1c09ce5b40bf2f976a6918188b10382735be8f9d936fc7d9e3d174d67fcb193","model-00023-of-00120.safetensors":"e75296748bb0940bf8a45e3743444d46404a0984c25164212764211d07ea5c3a","model-00024-of-00120.safetensors":"f9fa4d4312b74a757befe4f488dab56370a9c21771a86c2b92e3ac74ed068863","model-00025-of-00120.safetensors":"6f94c10adb857a39f5535be2b50b8037d08c798f13df4eb934fb9c14d44e9962","model-00026-of-00120.safetensors":"0c65f0517b61444c2b9c243ed5a97a6b2aec76054da36c2ef23b7d0263d0f1f4","model-00027-of-00120.safetensors":"af324d2631116bb4ca61b15578ac270874ce82035cb262e1adcb4056a76841b0","model-00028-of-00120.safetensors":"5e031de67c3c86ca62170a72c996c1cbd588a3a36b5a026dd0823e088793f196","model-00029-of-00120.safetensors":"bae837ec87eca4b857597783fc9035d4fa6e049addd4a1f46c052de1a31bb6da","model-00030-of-00120.safetensors":"bbe67349b26057fe942bfce9fdff6422a9b822924b2445bbde7c2ca4c974c707","model-00031-of-00120.safetensors":"3aebbcb6ef80e74313e015c5ce828bb09fb02d65256e2567bf6bee2d1bdcf887","model-00032-of-00120.safetensors":"cb9063b4790ac8ede704b801aabf416adfbcc2cb4c3cece85d499ffd710b5f00","model-00033-of-00120.safetensors":"598e794cb00fcb85f20ff6e701e5a98a601b19681d77c11c370081b8836d0417","model-00034-of-00120.safetensors":"fe68ce83f4b32da0cdc5f6803ae4ac977f2e0b007df627dce80ac93b3fd88817","model-00035-of-00120.safetensors":"5c439c150741aa601c9f8f8a8f0bb650a59deb9d66e018e3e003baf97551a0e2","model-00036-of-00120.safetensors":"bba2d7a1df63672dd6400c74bd07352698bc9e74497812963d76f6c379a4fcb7","model-00037-of-00120.safetensors":"39ac664b9906d0970fedd207c20fe8b54cd16703ba765db4de332f2f3a4ae24f","model-00038-of-00120.safetensors":"26b70b8b61940befb31f4bf5956dfd9dc89500bddb36b4e79eb046ab39000412","model-00039-of-00120.safetensors":"c2599dd1cdc04c23c3383ecccad7d50d11d0e52c6602574bc1da2428e84f7028","model-00040-of-00120.safetensors":"e109dbf65aba7827809cc67334065364a1684715179b31311e0a31c00d8dd48c","model-00041-of-00120.safetensors":"bb85b908911687c0e276e43e81b5a4a265a87c00965324532681097ca491bc9f","model-00042-of-00120.safetensors":"a017885e30064729e5f70cbaeda434663c6c382aa9d2ba2a73f820a8cd5b6bbe","model-00043-of-00120.safetensors":"04f3aeccb23c779ac9e6be9e952418b95cac19327e7873dce5f69e4ad728f6e0","model-00044-of-00120.safetensors":"fa5a385f7a8220ed99bc081f2fe26a07c480a3da7f497be57cf95f96ceb1c34c","model-00045-of-00120.safetensors":"b0b508dbd6217fe861a68bd8890415fc0f97404ed9ea7155adae9476b12c27d0","model-00046-of-00120.safetensors":"c0e27a8d0a9e4521e96f17ad0e40de8152ddd8c26f7739520cc052069e4432f7","model-00047-of-00120.safetensors":"5c471e0726598af910a1d5c895eca9bf41afe1e45311ee0dc962572b21097f2d","model-00048-of-00120.safetensors":"1d957114322b3d9dbb4cca73d9bba9cf628ddc7f5a6dd1d6af6224eb6aff003e","model-00049-of-00120.safetensors":"895d22c61a559667d84ac65dcd3012de18103738d3660c0c84db0b90e29c7e32","model-00050-of-00120.safetensors":"c2bd099b71e35b8af36785f23e025c8b3ce393197b801cd3e53ee33e9be71531","model-00051-of-00120.safetensors":"1c30583b2edd80ed55db4086e1b846f7a9de54f7996bfa07e2ac0039f702c10a","model-00052-of-00120.safetensors":"7c800f2f476cff08606cc3b036571d43ea501518fcba658aeda5db0fce815346","model-00053-of-00120.safetensors":"43acf4bbb16dda6f5a7c31240108bad19c64ac5eb9d20022321c4eeea48bc991","model-00054-of-00120.safetensors":"98bb70809af0d4d3177a377eefcbf728dd7fbd9e3891f130c05c66d29cd04860","model-00055-of-00120.safetensors":"285c605b3391fbca1a40f28fdb6c1856a155ccfe6de43eb59e11033360dadf51","model-00056-of-00120.safetensors":"6f825c25cd071930e7cbec832fe71a65767024b6853bdf554a9dd6534d0cd25c","model-00057-of-00120.safetensors":"9c7e6d5fd6d4138fde51eef51a83ff8a33424294c44d52d1b62b42ddb79ada4d","model-00058-of-00120.safetensors":"0b73d4dc1f373046f08a000d60484a7cf5335c4b0a1e4588d0cf8089f3ed75f2","model-00059-of-00120.safetensors":"c5e83b54c3f1912aa5fd35f1c3170415f54708887f6f358cb1eac0b93391394d","model-00060-of-00120.safetensors":"c37b7e82d16a82243664ecac9e417a815195e1c26d9affe2ce681bffcb2fa046","model-00061-of-00120.safetensors":"ec26e65bf26f2dadf4e4c7aeefe48acbd9b677a3d03ba0d3229f1cc796647bb4","model-00062-of-00120.safetensors":"98c6427e9b22529ea985aa5d343e24055d3fd570b866e4d8dfb8f0b9470caedb","model-00063-of-00120.safetensors":"dacdd78b8a4f74ea5502d28b0a8d0c632a05252e095abc6245f0a63bdbd57a46","model-00064-of-00120.safetensors":"7f134d623d5f229cb4732905ceb269404e1b00a72b8c25cc4f09d1e8610aabc5","model-00065-of-00120.safetensors":"16661291a3d218f765edcb3831ff9426af21d6d56e6d8082b194e5cac9348109","model-00066-of-00120.safetensors":"e8c5392e733bd98d5d9f38d47e18cf6834bcbc0b8d24937c42d36ebc60604910","model-00067-of-00120.safetensors":"f2fb7876facab2bbb569fe94ab41dd1e71c50a3811853bf37688e5ebdc5813c0","model-00068-of-00120.safetensors":"abc3009f10522e97eedbcd34903e3aafa55f7d72efa4ff3db4b5c4fb28259ca1","model-00069-of-00120.safetensors":"ee4f3cb631ca5b0552fab89a3ef05ed0d8dab5ee0066fa245af479c962071e53","model-00070-of-00120.safetensors":"8b60971fe302e1bcf1bb7da900276a3f26fcd38b10d6760330ee59ea8df7a589","model-00071-of-00120.safetensors":"9fb9f3581b0a09d43e94e0476b9fa0971b3ab30b3d980bf6bb0814fb92db82d4","model-00072-of-00120.safetensors":"caec81374ed646f0d7953f81565438ce18dfc11197cbb1a442b557cfb907dd23","model-00073-of-00120.safetensors":"313e11a85717e5fe56c6901f16c10aab760619b7655d355185a17dcb6986397a","model-00074-of-00120.safetensors":"3c22a6012bb34c264869fd8a93ac019175f22d9d255cdb1987d25572f6ebcb37","model-00075-of-00120.safetensors":"55992a5b643dad0a06c6bd8e4a13bac8980d31f3e773d56cc86a0c36543c02e5","model-00076-of-00120.safetensors":"3dea15fd98ef8c45a23876a3dd1f3f6c06feb6c5e3a35b29dde93a82196e9f63","model-00077-of-00120.safetensors":"fb6efae4033a54282fa0f779ce41dd64edff903621e829e23c28f2423f032059","model-00078-of-00120.safetensors":"1f231a1c8149307a14c940df734637e03b0cad5db40e4165c69b9a5e817471d9","model-00079-of-00120.safetensors":"84eb7df2440c3fe0cad633bfdb05fc1f9f4a69514d33a3c48e08f751e8729b03","model-00080-of-00120.safetensors":"1008d2f310da3804fe85ca18c86f7f40c7e7005afe3edd0e17bff9207edb15cd","model-00081-of-00120.safetensors":"30bb97e87009412ec4445773ab5dde2267f395290a37ea204b0b94fb78b06c16","model-00082-of-00120.safetensors":"6314d366c0a954e7a8beed9ead7389dc5c9ec6a78667f63778edb68a1ec5a5a7","model-00083-of-00120.safetensors":"424127fa0a70e70d5073200c3ede1097dc31345b67309e9c1ca14fc1d2c601c9","model-00084-of-00120.safetensors":"8f5be1a45eeafd520fa3e0adceffb15cceaa6510c61d032475f017966885c248","model-00085-of-00120.safetensors":"22722c615db28a151620c8a6d11714f6de26bc386f3d495a89666191122ee1bf","model-00086-of-00120.safetensors":"dcd025dc9e48dd3744996a3b9d337d3c8636c46591e80ab6cd489aac78b61b76","model-00087-of-00120.safetensors":"c00bdc2031dd9c042fcf56613979d029256c2c337c6dddf61f6e5efe18e6c883","model-00088-of-00120.safetensors":"147abc2a72e6eea5941cd03175febb962a81d068a2872c6594bef6f3e5535007","model-00089-of-00120.safetensors":"5d2ec3fd271c7a2ec4161f4e5bf2c14eef7f549ae1a6d39bb666614e26d2dfc1","model-00090-of-00120.safetensors":"2bb2e9ab785905faaeeb8b6a3df7ff2f7ae246fb1e3f51fd4cfd0b3af94e44f1","model-00091-of-00120.safetensors":"8ccbc08c9dbcd37d1ec6cfd772667b12cd521bfd4dc05113e7e9f0ce1d2b9603","model-00092-of-00120.safetensors":"20422d9ea7e0997852897daf8e6c84b420c9c8b3a700b301f416091cdb8e4efb","model-00093-of-00120.safetensors":"753329dbb8d2b4efc7cf4ca7fe9b1455e0128cbe725a98fc91a05fcf38d616d9","model-00094-of-00120.safetensors":"f08e09cb29e5c1ffc05b128d581e815914ced8f30949a1e2e114470dbbba2dbd","model-00095-of-00120.safetensors":"c08536722ef0a2cecb5a5d843fd0086275c329918eff733676af1cb6bdb99abb","model-00096-of-00120.safetensors":"fafe3a925e795c9b570c8eefeb0ea492df97e941f23e2e7e8206ded8cd28933d","model-00097-of-00120.safetensors":"e616de880c9587930ecf502799255189c0f03e102273ade47dbc104c136e92c5","model-00098-of-00120.safetensors":"7c34ac45ffba12a049c0b563cd002a50d1fb6ea9dc80c6c23203c43d5768705c","model-00099-of-00120.safetensors":"9693db794a7992532a96bd0ea185a49a76c123fb50f7bcf4fff0902847e0c6ed","model-00100-of-00120.safetensors":"a19fb303a9814d5082fc3fd5d69127bc6724bf574276e6d18918b56ab46e8eee","model-00101-of-00120.safetensors":"c24ca6ae7ce061eba28d302b878700d30ec22656a69a3db53bbb4ac4ad1ae961","model-00102-of-00120.safetensors":"b5c8396800acefb6d0bc7a0a48cd055d28faa94dc2bb34f1867a58ec83991028","model-00103-of-00120.safetensors":"09139292ba5af27e66767a6860a53b7693f091c513bac154c32d44b408783738","model-00104-of-00120.safetensors":"b0af3c5b38f078c72d405319fb47ca4c7ef74324266106ca3962ae63dc6e0a28","model-00105-of-00120.safetensors":"f475efcce530b46749e9ece468b65a5aa65a073b7fcec00c22aec5b02e4e7782","model-00106-of-00120.safetensors":"1059fe4a53c233b1fdb28ae431d61190c6491f55223c58c0660dfead53be7bc9","model-00107-of-00120.safetensors":"57e1f99044388f5c0e5b422d678e9477475dc170dcc97b654f931e3ef9facfee","model-00108-of-00120.safetensors":"286de5d27896da595638cc5aae2e390bd7676e0d450f490842c165975febff5f","model-00109-of-00120.safetensors":"b41955ae5e684cff92ae005d27b626b2abbe72fc1ad0e9b273b6d71ca3a74b66","model-00110-of-00120.safetensors":"b2bd23f9b6d11910f9b7f9e4951ae254bc64c1844a2541de48cd4ac6755d0abc","model-00111-of-00120.safetensors":"091e1d588b899c5369b713a053a7bc76ad35bc93a81af20961167f89bc953b1f","model-00112-of-00120.safetensors":"8a7c2486aa93f1c952da2ffd6137f2f38b443e21923c5f640edcaab6c340d4a1","model-00113-of-00120.safetensors":"8f3205a5dd7e9162c2ec89e19b82c10fcdd41f716b101322833f33cc27aed753","model-00114-of-00120.safetensors":"e3cf6f9ea4e07df98a3bc4cbac85f9228ff3e9fd45f02f8735672d27f81a9404","model-00115-of-00120.safetensors":"347b2e08fca7a5bbe63e39e2bd225fb0af5a7ff318120cf7e5289c4ee2a72c23","model-00116-of-00120.safetensors":"3d9c0120686a8db80f7c6bd5c1044e737a4a8f5dc8f4111038308aa0cf80d88f","model-00117-of-00120.safetensors":"48eca9375a20c8f8c6435ea6e4ee709238680873967408dc0ba499179e7b7da5","model-00118-of-00120.safetensors":"f7df8825ffec03ac813ecfabc62f9a416c8884d11aa35da655f322a6b6870817","model-00119-of-00120.safetensors":"8e393cfce320eba98c19f69574725ab1aa5153d710eaa651df5e2c35bfeca1ae","model-00120-of-00120.safetensors":"15ffa59ac9a36b7f0fbfabdea893dfc6b6db4dd921d7a291b0056062d6937dda"},"shards":["model-00001-of-00120.safetensors","model-00002-of-00120.safetensors","model-00003-of-00120.safetensors","model-00004-of-00120.safetensors","model-00005-of-00120.safetensors","model-00006-of-00120.safetensors","model-00007-of-00120.safetensors","model-00008-of-00120.safetensors","model-00009-of-00120.safetensors","model-00010-of-00120.safetensors","model-00011-of-00120.safetensors","model-00012-of-00120.safetensors","model-00013-of-00120.safetensors","model-00014-of-00120.safetensors","model-00015-of-00120.safetensors","model-00016-of-00120.safetensors","model-00017-of-00120.safetensors","model-00018-of-00120.safetensors","model-00019-of-00120.safetensors","model-00020-of-00120.safetensors","model-00021-of-00120.safetensors","model-00022-of-00120.safetensors","model-00023-of-00120.safetensors","model-00024-of-00120.safetensors","model-00025-of-00120.safetensors","model-00026-of-00120.safetensors","model-00027-of-00120.safetensors","model-00028-of-00120.safetensors","model-00029-of-00120.safetensors","model-00030-of-00120.safetensors","model-00031-of-00120.safetensors","model-00032-of-00120.safetensors","model-00033-of-00120.safetensors","model-00034-of-00120.safetensors","model-00035-of-00120.safetensors","model-00036-of-00120.safetensors","model-00037-of-00120.safetensors","model-00038-of-00120.safetensors","model-00039-of-00120.safetensors","model-00040-of-00120.safetensors","model-00041-of-00120.safetensors","model-00042-of-00120.safetensors","model-00043-of-00120.safetensors","model-00044-of-00120.safetensors","model-00045-of-00120.safetensors","model-00046-of-00120.safetensors","model-00047-of-00120.safetensors","model-00048-of-00120.safetensors","model-00049-of-00120.safetensors","model-00050-of-00120.safetensors","model-00051-of-00120.safetensors","model-00052-of-00120.safetensors","model-00053-of-00120.safetensors","model-00054-of-00120.safetensors","model-00055-of-00120.safetensors","model-00056-of-00120.safetensors","model-00057-of-00120.safetensors","model-00058-of-00120.safetensors","model-00059-of-00120.safetensors","model-00060-of-00120.safetensors","model-00061-of-00120.safetensors","model-00062-of-00120.safetensors","model-00063-of-00120.safetensors","model-00064-of-00120.safetensors","model-00065-of-00120.safetensors","model-00066-of-00120.safetensors","model-00067-of-00120.safetensors","model-00068-of-00120.safetensors","model-00069-of-00120.safetensors","model-00070-of-00120.safetensors","model-00071-of-00120.safetensors","model-00072-of-00120.safetensors","model-00073-of-00120.safetensors","model-00074-of-00120.safetensors","model-00075-of-00120.safetensors","model-00076-of-00120.safetensors","model-00077-of-00120.safetensors","model-00078-of-00120.safetensors","model-00079-of-00120.safetensors","model-00080-of-00120.safetensors","model-00081-of-00120.safetensors","model-00082-of-00120.safetensors","model-00083-of-00120.safetensors","model-00084-of-00120.safetensors","model-00085-of-00120.safetensors","model-00086-of-00120.safetensors","model-00087-of-00120.safetensors","model-00088-of-00120.safetensors","model-00089-of-00120.safetensors","model-00090-of-00120.safetensors","model-00091-of-00120.safetensors","model-00092-of-00120.safetensors","model-00093-of-00120.safetensors","model-00094-of-00120.safetensors","model-00095-of-00120.safetensors","model-00096-of-00120.safetensors","model-00097-of-00120.safetensors","model-00098-of-00120.safetensors","model-00099-of-00120.safetensors","model-00100-of-00120.safetensors","model-00101-of-00120.safetensors","model-00102-of-00120.safetensors","model-00103-of-00120.safetensors","model-00104-of-00120.safetensors","model-00105-of-00120.safetensors","model-00106-of-00120.safetensors","model-00107-of-00120.safetensors","model-00108-of-00120.safetensors","model-00109-of-00120.safetensors","model-00110-of-00120.safetensors","model-00111-of-00120.safetensors","model-00112-of-00120.safetensors","model-00113-of-00120.safetensors","model-00114-of-00120.safetensors","model-00115-of-00120.safetensors","model-00116-of-00120.safetensors","model-00117-of-00120.safetensors","model-00118-of-00120.safetensors","model-00119-of-00120.safetensors","model-00120-of-00120.safetensors"],"source_inventory_sha256":"f56e9d6250e2d108f8307322f033e53c0ff26d5b2688ebf12b891c26439fea44","source_model_revision":"a6c167b62691b2bac901344b65cb651a70f53e43","source_tensor_count":38770,"storage_abi_receipt_sha256":"61a1becf7dfe3a9a0ab1579ed2b8157031cb74ae50d83762baedd93ce46b30c0"}1234567891011121314151617181920212223242526272829303132333435363738394041424344{ "image_processor": { "do_rescale": true, "patch_expand_factor": 1, "merge_size": 2, "image_mean": [ 0.48145466, 0.4578275, 0.40821073 ], "image_std": [ 0.26862954, 0.26130258, 0.27577711 ], "temporal_patch_size": 2, "patch_size": 14, "min_image_tokens": 16, "max_image_tokens": 8000, "image_processor_type": "Glm5NextImageProcessor" }, "video_processor": { "do_rescale": true, "video_processor_type": "Glm5NextVideoProcessor", "patch_expand_factor": 1, "merge_size": 2, "image_mean": [ 0.48145466, 0.4578275, 0.40821073 ], "image_std": [ 0.26862954, 0.26130258, 0.27577711 ], "temporal_patch_size": 2, "patch_size": 14, "min_image_tokens": 16, "max_image_tokens": 240000, "fps": 2 }, "processor_class": "Glm5NextProcessor"}1{"example_only":false,"inventory_sha256":"f56e9d6250e2d108f8307322f033e53c0ff26d5b2688ebf12b891c26439fea44","model_id":"zai-org/GLM-5.3-Flash-BF16","receipt_sha256":"bba6e387dd056f69c144dd0fc6c61ff44cf0d447bed3ffe88091e11390a626dd","revision":"a6c167b62691b2bac901344b65cb651a70f53e43","schema":"quant-pipeline.glm53-source-model.v1","weight_dtype":"bfloat16"}1{"candidate_rate_grid_invoked":false,"codec":"EXL3/TR3 MCG","example_only":false,"global_allocator_invoked":false,"nonrouted_policy":"native","profile":"k4","routed_expert_bits":4,"schema":"quant-pipeline.glm53-uniform-quant-recipe.v1","source_model_id":"zai-org/GLM-5.3-Flash-BF16","source_revision":"a6c167b62691b2bac901344b65cb651a70f53e43","target_tensor_parallel":2,"tensor_policy":"uniform-routed-experts"}1{"example_only":false,"five_run_kld_receipt_sha256":"df3d2388967f3ff578bd5c92e11875c4198d0337c25aa98eeb328271c0034ba3","materialization_receipt_sha256":"092be1ffa8db66bf02d4c370d0433a57aa48d4a6e5ce89723ef6a3bb7ca32643","native_copy_receipt_sha256":"fede3330cb1c8635df9174435a9de492f2d6a7416e258910d40978954107bb51","packed_kld_receipt_sha256":"ce48cf6d3adc69da40d06422789f98a61c400bb9cda726c64e0851df792bedd6","profile":"k4","qualified":true,"receipt_sha256":"1120467d01f99cd890c055ed74460a955e32c174b5ece7fadb495eb5d142158d","schema":"quant-pipeline.glm53-k4-publication-checkpoint-gate.v1","source_revision":"a6c167b62691b2bac901344b65cb651a70f53e43","tp2_runtime_receipt_sha256":"a4631352b8fe705e9c6106ea51bb08325be6019c186e7d148306c1df7aab3951"}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970# Measured results
## Current SM120 v71 runtime results
The current TP2/EP2 route128 validation artifacts are published under[`runtime-results/v71`](../runtime-results/v71). They include the completefive-run FP8 and calibrated-NVFP4 MLA KV-cache KLD receipts, v71 workstationpair prefill and C1 decode receipts, the later C1-C16 stress matrix through thenominal 128K harness row, and a postable plain-text `.log` summary. See the mainmodel card for the exact regime, results, capacity limitations, and thermalcaveats.
## Direct packed TP2 serving result
- Mean BF16-teacher-to-runtime KLD: **`0.022750847877671544`**- Scope: sealed `final-0000`, 2,047 causal prediction positions- Context: 2,048 input tokens- Top-1 agreement: `0.9384465070835368`- Report receipt SHA-256: `2cfd1b90a65162784de5b67e1b05ef7a15f98979b77156092d5f7500c607ba67`- Runtime-logits file SHA-256: `280c12452f429a79724cd1715a5bed2462de98a547746a80f04e7b8cdcd34746`- Report: [`tp2-runtime-window-kld.json`](tp2-runtime-window-kld.json)- Qualification: [`tp2-runtime-qualified.json`](tp2-runtime-qualified.json)
This is the measured `0.022` result from the actual packed two-GPU runtime. Itis the serving qualification result, not one of the five offline full-panelruns.
## Five cold offline decoded-K4 runs
| Run | Mean KLD | Report ||---:|---:|---|| 1 | `0.024554564249958208` | [`run-1-kld-report.json`](run-1-kld-report.json) || 2 | `0.024554564249958208` | [`run-2-kld-report.json`](run-2-kld-report.json) || 3 | `0.024554564249958208` | [`run-3-kld-report.json`](run-3-kld-report.json) || 4 | `0.024554564249958208` | [`run-4-kld-report.json`](run-4-kld-report.json) || 5 | `0.024554564249958208` | [`run-5-kld-report.json`](run-5-kld-report.json) |
Each accepted run covers the same 25 sealed windows and 51,175 causal positions.The aggregate receipt is [`five-cold-run-kld.json`](five-cold-run-kld.json).
The original fifth attempt received an external SIGTERM before writing logitsand is excluded. Accepted run 5 is the clean `run5b` retry. Its different namerecords that operational retry; its measured KLD equals the other four acceptedruns.
## Exact five-run reproduction scripts
The source used for the accepted offline decoded-K4 measurements is preservedin this repository:
1. [`capture_glm53_packed_k4_student_logits_ep4.py`](../scripts/capture_glm53_packed_k4_student_logits_ep4.py) launches with `torchrun --nproc-per-node=4`, loads the immutable BF16 source checkpoint under Transformers EP4, independently decodes the hash-verified packed K4 experts into each rank's local BF16 expert parameters, and captures float32 student logits for the 25 qualification-only windows.2. [`measure_glm53_packed_student_kld.py`](../scripts/measure_glm53_packed_student_kld.py) computes tokenwise `KL(BF16 teacher || packed-K4 student)` in float64 over all 51,175 jointly valid causal positions and seals the per-token, per-window, per-domain, top-1-agreement, and aggregate results.3. [`aggregate_glm53_five_run_kld.py`](../scripts/aggregate_glm53_five_run_kld.py) accepts exactly five independently sealed KLD reports and produces the five-cold-run mean and dispersion receipt.
Each accepted run begins with a new capture process and model load. The capturescript is deliberately fail-closed: it requires the exact full-hash BF16inventory, uniform-K4 contract, content-addressed packed surface, qualified MTP45adapter receipt, and sealed token-panel receipt used by the campaign. This isthe offline decoded-EP4 measurement that produced `0.024554564249958208`; it isnot the separate packed TP2 runtime measurement that produced`0.022750847877671544`.1{"all_individual_quality_gates_passed":true,"cold_execution_count":5,"compute_dtype":"float64","kld_direction":"teacher_to_student","maximum_run_mean":0.024554564249958208,"mean_of_run_means":0.024554564249958208,"minimum_run_mean":0.024554564249958208,"population_stddev_of_run_means":0.0,"profile":"k4-tp2","qualified":true,"quality_gate":{"metric":"mean_of_five_run_mean_tokenwise_kld","threshold_lt":0.06},"quality_gate_passed":true,"receipt_sha256":"df3d2388967f3ff578bd5c92e11875c4198d0337c25aa98eeb328271c0034ba3","run_count":5,"runs":[{"mean_kld":0.024554564249958208,"prediction_positions":51175,"quality_gate_passed":true,"report_file_sha256":"bc5c1e241c7e515ad1b8d4a734a587259b6dd0aa9ce58baa0a8eab4db2970e31","report_sha256":"ef6a8dedc20f11e582658f94923da3e66c2b6cea4ff62d936abb790e376e2461","run":1,"student_backend_identity_sha256":"966c47c49d154102aa49c0832f8e8b1eb0f6fb50c1f451f750efa29b2ce6f3e6","student_capture_receipt_sha256":"013759025d8414f8811fa140250e2c79097c1082926edd4ae2cfc6751722fc8d","tokenwise_kld_sha256":"2a596810dcdd52fc654eb94fffe1cf394b826ea6b25d8f411049d8354e52f562"},{"mean_kld":0.024554564249958208,"prediction_positions":51175,"quality_gate_passed":true,"report_file_sha256":"fd221d512e0130b5d96522fef6cca25c0c05e2c434ec1706fa940bc8eeec135c","report_sha256":"b7d1cac829f6b21471da4ea724aac479f9db250d4286edd412e099fa747f8257","run":2,"student_backend_identity_sha256":"7cd000dfb8a35798b3ec0384cb5535f0d9da30c91273281973cf647e63798df4","student_capture_receipt_sha256":"eae08903737bde9f31bf6f8632d2de7b6539f4b1efd8113c5f81461d92aaf671","tokenwise_kld_sha256":"2a596810dcdd52fc654eb94fffe1cf394b826ea6b25d8f411049d8354e52f562"},{"mean_kld":0.024554564249958208,"prediction_positions":51175,"quality_gate_passed":true,"report_file_sha256":"958a72fac966fec607a32caaf298fa83c22ed3b182583e11fa86cbc2c91d0b05","report_sha256":"663629ccd2bda08a4c299d767b7e6e6d622a81ad6830ad1acf08d0eb8ca1a196","run":3,"student_backend_identity_sha256":"ac80965b615e5682c7367ebb0d539a28eb0b32760eb1cfea769c38bb2cc417b7","student_capture_receipt_sha256":"000896721ea7116322eb31d8e75718985d29240fabd6a921627bb02c03516bec","tokenwise_kld_sha256":"2a596810dcdd52fc654eb94fffe1cf394b826ea6b25d8f411049d8354e52f562"},{"mean_kld":0.024554564249958208,"prediction_positions":51175,"quality_gate_passed":true,"report_file_sha256":"c6f574a8e6c4cda43bfefd9edbd067215256ba0bb16bc6730fa1d1d132b80a42","report_sha256":"cdb2d8ee4ce795f695f335f0bb3ce7bd135dcf6df4f48c6e3862b40cd1340586","run":4,"student_backend_identity_sha256":"142731457be7d04e11d332da38ba872a4004058c457af2ba298afa17fa920e28","student_capture_receipt_sha256":"7ece4defa651c3693bffd624ad7d07ff85c0dceb7674a7752ec136dea6370c3f","tokenwise_kld_sha256":"2a596810dcdd52fc654eb94fffe1cf394b826ea6b25d8f411049d8354e52f562"},{"mean_kld":0.024554564249958208,"prediction_positions":51175,"quality_gate_passed":true,"report_file_sha256":"a75a9d33892cfe31950d17246968925cd5e3bfac9dcbbd3b4e57b4b077a36263","report_sha256":"ac4d6d94aef27b09ca9b2dd513516e793cf5f4afe3d1f2b008a3fb4ed64ae243","run":5,"student_backend_identity_sha256":"9fd6be2589da5ee83780ad8b8a80f57f3f35d5cc45fd2d9155d042eb8ef1ff74","student_capture_receipt_sha256":"5b59145332206b4c0fb82f791e2c09be8fadb16d18e6e58818b78e919294cb65","tokenwise_kld_sha256":"2a596810dcdd52fc654eb94fffe1cf394b826ea6b25d8f411049d8354e52f562"}],"runtime_reader_sha256":"1fb3be878e0a9445b640565558fc34715891bfd60a63e976002181c620a41a69","schema":"quant-pipeline.glm53-packed-student-kld-five-cold-run.v1","student_checkpoint_identity_sha256":"598ce08d20714903c393b523bee3cebb9eb498e46109bec4193037af401f6332","student_label":"uniform-k4","target_bits":4,"teacher_backend_identity_sha256":"85b11599c6b36a83fa8099a09a298a386a0c603d1f18d3702e7fb1c470962ce4","teacher_receipt_sha256":"2ae08117c3d4247f747b2a9a889b68e1a06387b788d56a0bf23bb950c77bc5a5","token_panel_receipt_sha256":"0beec5770e5107547731b084f1bc5f9fb8ba79d67af56ddb70d919da367737d5"}1{"auxiliary_files":[{"bytes":1570,"path":".gitattributes","sha256":"34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930"},{"bytes":1070,"path":"LICENSE","sha256":"30b85b6b9659f2e78aa259f8faf5d920a68dee7c9ced3fa6dba1f19f2bc4fca1"},{"bytes":7243,"path":"README.md","sha256":"3f0894b80aefb75c2afbaa0d4fb0f0f0993f14cb9700c6a5077ea6c201637b7b"},{"bytes":8617,"path":"chat_template.jinja","sha256":"41cff9af7b3a86c96751b107a8444f245fbda0bd5320b636a5bb1f7f4ba1a5c3"},{"bytes":194,"path":"generation_config.json","sha256":"230c30609ecbbb9e6583bedde8e7bdda0c6eb8fe5fad0eaeb3d1b293d751cb4f"},{"bytes":909,"path":"processor_config.json","sha256":"aae38374c94b08cc9b0547c6e64f05b951bd9735cea571c6988f5ed552bed3ed"},{"bytes":20217442,"path":"tokenizer.json","sha256":"19e773648cb4e65de8660ea6365e10acca112d42a854923df93db4a6f333a82d"},{"bytes":761,"path":"tokenizer_config.json","sha256":"98b1271574f41abf89427ae2dda030d94dc9478f0edc5a8bd240db213c6fd5fc"}],"bits":4,"codec_family":"exl3-mcg","complete":true,"config_sha256":"4f5341e048984459471bfb9c894e6bf87e69b9c67402672af901631d1349f265","index_sha256":"2f64d21c67c90bbafeb36c4e9b2f06f54063ed439e9f7cf95962d425a1d8515d","main_and_mtp_complete":true,"mcg_multiplier_hex":"0xCBAC1FED","native_tensor_count":1618,"nonrouted_native_exact":true,"output_logical_bytes":175622979576,"output_root":"/workspace/models/brandonmusic/GLM-5.3-Flash-EXL3-MCG-K4","output_tensor_count":150226,"output_tensor_names_sha256":"fef5367167148f0498c01da23584a68ab687dc9665668fc6f8c2f87e725b46eb","packed_root":"/workspace/artifacts/encoding/glm53-uniform-k4-combined-public-mcg-v5","packed_tensor_count":148608,"plan_sha256":"a359003aea48137bdec97a0de50b5c9a31475a25d636ee7ca830e315a755f667","qualified_tp_sizes":[],"quantization_config_sha256":"1e5cdf56da1929c2a7d8982085324de05bb92144882792f034239e289316c645","reader_audit_required_before_publication_as_serving_ready":true,"receipt_sha256":"092be1ffa8db66bf02d4c370d0433a57aa48d4a6e5ce89723ef6a3bb7ca32643","routed_choice_count":37152,"schema":"quant-pipeline.glm53-k4-materialization-receipt.v1","serving_reader_qualified":false,"shard_receipt_sha256":["4787804e65f6a38192743871221cb261d921b49f469e57ee1ef48a4dd00c0ec8","a7dbc0557933d08a82f78eaa0999d4b6db7dff43648bca2ad4d8005194e9e4c7","7c4416e2292966356189316f300bbd916ac8b504ecedd5fda8fc94487cb31c42","7090dc000cc79bcf9acde98e02a6fe867616ff125e0b793666e0f4b558fb7d97","0048b2f986de44c06e1a36e3dac7f033bfeff197870f336cb89b5f001184ad23","8b3b12c9317dc58b5215840bf83dcf319acc89425d3c7b7d4884c69669b2e992","b8cc2a0ecc220b1db6fbfc1c0a1f492bd476b998e71e84b7f0bb643f761b3993","322929486e1aa3d267f1a729bf1f3ca5de1ee5ab0150c2bd24cc9b94f578b22b","3eef9071b220d0bcb7f242e6ac76913fc2f632f7bf3abd4e6f9a78d514c7199e","1495a8d87d8020d8950aa61937a6d359440e189959269e418872d19bf0a62574","029d978baaa5118cc747bb46f524960bb4082df1b5664ebd93074ae1f85d925f","2c247fec7b4301897c5c9752c3b1aabe4b8072ff5e8ba14542ac10bd4a98e4ab","ee2d0a53ada64d13973eab28f561c85b2726e91e775c49cef5f6a028acf6e60a","4ba411e782312e970e85b125c9bc518193e95ea82c9d4772fce9f9c152d14421","8e22e3d9dbd9141051b2f10bd6a6ddc9a5c9a6545d293026bd9d8493d07a6159","6bdc81be45ae5e8d3a11271ff6cbb8933d53cf5e348039136fa13d94953f1cda","cc37bb131007f0cbf888a9e6d704ec0671d9668f7877a1b8ec782d4eed949c36","949b26bc0dc1c7d774e1d94f195811ede5e83bea3dad35ee88e20c9cbd2b9481","08f7456700f1f3c66793fd35ed1ee49455185af70266c9336799bb97cb4d4868","4050087269b46f1ca40981db7c29a63175bcf2981877e0cb498da031852dee59","0aefbd2b99a5ea37111d44dcdfebf34a2c48aa52a83dbcf11a43501a7fbb3507","f6c9f6548e0c748d2ce36e2fcc4278937870b8791192e26f65419e7817eb4b67","1f44ae0d5ca977c26f943ddf0b37c642d1d0fe6221945cc047fde76c4ec191aa","cb78809169adc53477081c0e5905a1533215b1fca03140ed7b23424c700c08bf","24252cead52e9902571e8498f8c7b3e606780c8cc27830be9fcb11b472312ea7","2213db4ab7e6d9848f3786ef3610b072ad8ad7b92a63dfb4b6d889690c66d36f","ed6d0ce9cd105c2a8a1b96a6ed379bc65e4900bc8ea6c1ab413ef62ed4b98a25","8cd66aff75630f487e158670b30655beeb84406f79f0514da0dd1b929e137a90","83329b401cc271a6de111f335b0e3c408773cb48b6abf5d293ffa41231a5c3fd","fbbb9e5dddf2cf31343888fda7ae2f117bd4d9527a1e114d347b0760cef6c15b","83f6e8065b87f06645ca1d23ec0473ccd0ff88d03d8e973cd3ed2d48b1e2a8d4","75a143aafeb8eb753a5ead46e92a8a3d4db59094dc29849ebb1ff983d7e1381b","af5d4e94ff80f937c9374cea37ba822bcd4d530736cc3590dbb557bad591a736","3c46187a78e76b5a3b72c4647053b7c25e338b820a12d1f04418efd639e91f10","23f9bd936341fbb0cade55932e47ee767d606e0cac3a68817df1fe8f5eef823c","a1d85b7ef4e1dfce198f6e73008c3f075c1bdc67c01dd2a1978879a6d69057d7","bfc6ab445a8963df788cc84dc038ba1dc9e37049392a44d604812c2cfe8f92bb","293669e17cbd914c3381c855ab44e6d1346a10cf0e08d503a0bbcb38f1381f20","e14114776e1b40cc16e96251bfc69ef5ff890cc498dbe1d76ab94bc3a55d6273","b640d3ed6941e4d322f2fa1e017af2e1450179ef949ecbeddc40be658b34bd72","0a4fdd142a397cf7446261e9468fede1f5b31dfa64cf48bc98f2912e18eb755d","c2a9c33df1eaf4c0cf362b01d391219c7eb9dfd633a642cfa551788ec7fbbc99","5b3a04a9c86a74b22a6aff572b11a538b41d6f97398956195887558b363696ca","15ff0586aa5c36ca6aa6279278421709725338b244038fa9923f688293baa914","3040f35b06e8d851e203f78c61316c6f3b5b6029997a25787cc622fcfaedcc30","53d78880608675eab2e3bc16042cf6d1ab0427add3fb887355ad287cb43f05b8","69f0c085d88f368ac348f74f2617be4f2d177d2727876adde5127671817a5b39","fba7fb592cae5a572fd1021838d25634a0c0720efb99aaeb2af80f13bf984c5c","b7c3fac11fb62c654c48ca9d20286fc9b2565de0be61c5ed4347a8fc24414035","a03152227c05cda85f6655293859f68dd9bb204272147f193479c19bc6fb677b","6103818802b70da3d9183644f123b6e9bfb47ac35b87823ca67ad48bc76cd9a8","fc9263989931e8ca44befbc25b69ec979c782950537ab057a3b8530f9216f036","b6ce53dd03decfc5224fbafeccadddb1d89dec6fb79caca8dc10c660d41a5a82","7907c01fe69ffb702a47a739fd4359df7cc0ee060697f404f3aa66527b4ee23e","2896d01f4baad64b2e1da29a7c78c9e7eda6b9c91daa0822251de809a2837c53","48a02b15a1ebbda9e8aca7549e0789ceebbfd1eb1e2b26f9129b727a6144ebf3","18d3991e57cd0d53366c5c3fe5185af486ee82ef77e0e33ece41d1e5a88a2848","12abf7d8df3479520968a94fce034c5841f6743549d3ac112a1d32bcbf5370f4","2ab6b10483783c4dd4bc1fd91a79ae80ef9d0048f5498873f004966fc250d42e","6371fdf007009b1af4fec679e9dc096019869243ff83351cb60928988ebd4287","3afe08a341353ac88e7aab01de7ba168d172243e5fc4aedfa765523f5cadacbe","aa0cf5f9313b84597a189e3f3a81d63372578922aab482c47826fb6ec0ba0e61","1d094bee623e085669409a5da7c7bd8916fbf3699f968080ec76dcd0c300fab9","e54ed042eefbd416d6f2672e5f0fe82787a54e24aa8d3e512dadc9899ba4c25a","93965a481beb8985fbe0f795a65589c5dbbc63efddfcc7ddc20c9b4f0d0dc811","2cf328ad0e6cb80f6d52f9a06ae08916b6070e7154983ccb1dabb162ee6926b1","0112a1eaf180f995386a25a163e89246a510075eb91d1c0a560abdd60b7405c2","99f732ef15dcf65d3a12a47ae2c130ba806c49782cd90f28ba08301d210e4420","2890a532aa6ae7917d5233a8ef72310de3f96efb9d047779480c448ade8c3722","b5e083afdce3a9f831c0a123afa3ed5c67f256fcad17bc4d0b1392744b798d2b","40e2a53d6321664127850dd8e48dfa470a83e4a6142260789cc624bdab89bd83","34fad6d5ba6699be03880d1d55b5f15951e08e210d622e66397702668310d649","6ba951cad70d79b5bbe2878da2655608ce4d73140098de15ab587fe64783ebb9","fe3b1d1c6f1a3928f835e33f7df5bab6521fcee41e39bd7c2791995c02897ce3","0e5188901b8681a7a0a821471202bf050492775380b481a2d8f0d0e6784b2784","26c70f42035106c9b5d4840b5c0388136f5eb79febb605bb4db44d08ca7b6420","27a01fcc6e11b391bfc246c0687df400871a91db5865bb12ba8c4161aa1e724c","4586854147e388e94065c6dd97ba37e2bc2579b0ff84a570cd09080a86edd4dc","4702f974ebad0bd18c37b3e5d21c776d0c2453df777b4d654bf4ea01ec1a4a0e","23ca0316bd7af5b59b0c5dfdab3af3e3ae91482420055e247a7afe7c08f0784d","e0609d0ece0ac8e924b4577dd2f67797032b602d14af5ffc788a7efe04b74e43","4cc3e0090aa06531345abf6391a031857e01792ea539224c9644fb1ae83e3880","8cc8bca46505d6154bb9d554e0a690142ef6725b1b64f07549540a7ac89194b7","11fb79267e96570421fb6e1b285e6cbecc7537e13c90ae88becf023bf555e77c","3d6c0d72dec5dcbeab6965a224f36fb4bcff4cc0eac909ac89f1f065bd1219ee","7125333bccfb6ae064607cb11a94e22737ba2a61bc30ba13bf8037177301c816","11f449ddcbe090008ca68ab6b417bd1387facb575e70ecf39804ca055e59a4b5","170f42e3bdcd09ce1d27f8d30519e9de927952f5ad7f0abd3947b7796bf2b3bd","2ba46cc5c55b9113804a4e877b977f240383974113ea8e68b868adf31c1d1beb","064e87c3e515aa0cf94e3d1e23f4dae689d259be0b176163fd5622549835e7b4","e130a99def7b9d4162175ae5e71984f381ea21aff5ae9801c3c650971d00d633","fdfd5588ee4b7146412a60264956571e20bef187be4e40abc96371ed15d62b0e","50a79b77c990ed37dd1beccdec280f92b20717b15c0079296de3811e688a0d40","d4850f80cabc7d6b0c49e0e3065c0f8b28da5764ce030a780c5e607fb6d4c1dd","e8c07a16e85f696813f037cdb5aa4fbdc3b66ea575dc229df1dfa47547f0c5f3","908e9aee7982368aaf0b1bf7761dac6a5632a9291029addfa11361cab3774dfe","3ea2ec13a518b10dd2abb51fe00c7af587a156ccffc8dbf6a70533ab64fa09cf","ac98dc64e1a22c32501652ed0b656ce8073575eac0778bb05f979b1e2eb13d71","151e00e4b71a20eda909ef0ca79949fdbaf4507e82eb918cf0ed9de3aee58207","5c5db54c5924f05f5add0e0bd1f88562146dafd205e9cb79c7dab66cffe7fcca","8bc176b56a91fcb185091162907ebe33fc11c335b5ce12456098a5917b6b9091","ecfd63ccccb9b34df5943885c7359c7b52890c4c1dfbbed1f3f75a1db522f7c5","19d389460e87bde33e5e56daee4d5baa33d3c8a564e9976b95ff7734c59dfc17","8392c4ed39802e105a6f685c2b52fe29bb8f8bda5b92a6587032ed311b588807","a16e42b81a36f37677e27a5a019b35a9bf225d3a5f670fc5e8e9a91c64d7238f","acb886c63c60a2b85de6888fdbbd7ad2d9e9252e6b9608dabddc9091a64b82fc","f62613fe3a04aaa58c03c6c9383fefe745809dc0cfc03b31cad0f943fca00b56","ad6b5a04f51c7ab522cba76bfbc6159524e5d8cb9ea481182a548bd5da06840b","a251d976edb49d2adb907ac2e3a7ec18f498f04b81a8e10ee0e5706a56b2d9b8","5e607d8d8fcce44dc0d8e2676cb535706207f04be6608769982f1f4e3e7f76d4","7ca5ecbc3a2b1a79443e265556bd5c720d822261d1b22c5f9da3f9320f752329","c899cca8f6a22c68bae5038080e1259461b7a649c2ee45896c1a67ecd27b80a8","d8a4d5b8bf1f0fe7946bafc3d1f1ad3fdf43f8cb194c4433c803a51b6c90f8a4","128b7de52085adef693f7a61013b8058e9417528526ad4ad326e2353bf0c7c0c","41ef3ba0018fe24b7ac4339e7e6d2f385a686a5837e2a8bb5591afb3d8c08289","bf80d5253e721b901bccd669eae419571c63a03314629704c49b44dce522bf00","78431f17886ceead18c8dd83a874344b785a691496798368ca2ea3e3f31c1445","af21cef91533d3621272db66338a9dec37adf2a4459981fed71fccd353ddd3a9","5f5114a8a85c37bbe09de2a1dd539f3a8fc115abeb86a2cb259f0cbff26bf72d","1c2356dec67a55f9c024cfabbb54eab772a0b91c6d9c11284a0697099a625a5c"],"shard_sha256":{"model-00001-of-00120.safetensors":"46cc9e99897500fee92f2f08c95665cda51a704f835548465a1023cd4db63ef7","model-00002-of-00120.safetensors":"b78eebdbee138150d310d7c655baae1ea31720b8ad53f39389b1679ce0f51552","model-00003-of-00120.safetensors":"d377c4b645e7283f21370a1d12d90f238ec38194f78ddc483aea6be45c0db2c6","model-00004-of-00120.safetensors":"65f841ba0f3449b18af49eca276db6047a78088a3ff293f9edd41dcb4082af65","model-00005-of-00120.safetensors":"d0425becf2a42244527553a983b269e2656521069c6e9467d0ce6912dd2fee80","model-00006-of-00120.safetensors":"3f6ded63fe3fe96a176c1ffad431c2e7350307238a89fb89ac3947605ea4d72a","model-00007-of-00120.safetensors":"a8e2cf2d869afb825934ad43bcbbf7e16132bdfca8443ca52a39c46b36f775cd","model-00008-of-00120.safetensors":"eaaf3e209d6bcd37efae31e10fbbc822755629a701076ad9a527d80c216810d5","model-00009-of-00120.safetensors":"ad30bcac854cc303563eb2f280439bf86d7b56c81a43e00175fecd55d63f9905","model-00010-of-00120.safetensors":"35530edfbce782687f3b06b85f85f34decc537a53015c0bee1a4caf82c7cc78b","model-00011-of-00120.safetensors":"686f13c8151614b4d85c02c20e8a786bdfa1eac82d8260bd8d877833db346288","model-00012-of-00120.safetensors":"79a19881d8a37ac0afbcd0b0e77ea45150900467b43ae0b412288ce82154a718","model-00013-of-00120.safetensors":"d07940d68fc7b90f99eca406819e4bcd94995a909e32f0f3d15f3251c8f06552","model-00014-of-00120.safetensors":"ca3290268d136656a2b8eb56328fcf275824bcd60c269a39d9b1ee02d29d42fd","model-00015-of-00120.safetensors":"2172d6d1c76e4d79d0d6147e693080a1ee2fd2761518764ea7ae42d6e21816ca","model-00016-of-00120.safetensors":"b33392a8b5f66e82115d1c7bbe830945fdda9b5b3a2d5094c9e8f7120186d09f","model-00017-of-00120.safetensors":"b198f9d0606953932f131b3d1124488702280ca55627d5c9156823a87a56144b","model-00018-of-00120.safetensors":"b98e6fa60d19eeabe5f937dfa5cde62ee0cffb7e8687f7c6e8e54be797e76cfd","model-00019-of-00120.safetensors":"1ac4f98e4a16f9f620d83a51353a5b3ae4af05055b7777633981a930f063a9a4","model-00020-of-00120.safetensors":"db5f5e4bfe9704b55cad6fddcbeb0b50c0f0d760af247f13ea78e6b9a13bf5e9","model-00021-of-00120.safetensors":"94abdb9997af61ed92f43d58c73c96947add0ac1580c2255eaba2b254aa34782","model-00022-of-00120.safetensors":"d1c09ce5b40bf2f976a6918188b10382735be8f9d936fc7d9e3d174d67fcb193","model-00023-of-00120.safetensors":"e75296748bb0940bf8a45e3743444d46404a0984c25164212764211d07ea5c3a","model-00024-of-00120.safetensors":"f9fa4d4312b74a757befe4f488dab56370a9c21771a86c2b92e3ac74ed068863","model-00025-of-00120.safetensors":"6f94c10adb857a39f5535be2b50b8037d08c798f13df4eb934fb9c14d44e9962","model-00026-of-00120.safetensors":"0c65f0517b61444c2b9c243ed5a97a6b2aec76054da36c2ef23b7d0263d0f1f4","model-00027-of-00120.safetensors":"af324d2631116bb4ca61b15578ac270874ce82035cb262e1adcb4056a76841b0","model-00028-of-00120.safetensors":"5e031de67c3c86ca62170a72c996c1cbd588a3a36b5a026dd0823e088793f196","model-00029-of-00120.safetensors":"bae837ec87eca4b857597783fc9035d4fa6e049addd4a1f46c052de1a31bb6da","model-00030-of-00120.safetensors":"bbe67349b26057fe942bfce9fdff6422a9b822924b2445bbde7c2ca4c974c707","model-00031-of-00120.safetensors":"3aebbcb6ef80e74313e015c5ce828bb09fb02d65256e2567bf6bee2d1bdcf887","model-00032-of-00120.safetensors":"cb9063b4790ac8ede704b801aabf416adfbcc2cb4c3cece85d499ffd710b5f00","model-00033-of-00120.safetensors":"598e794cb00fcb85f20ff6e701e5a98a601b19681d77c11c370081b8836d0417","model-00034-of-00120.safetensors":"fe68ce83f4b32da0cdc5f6803ae4ac977f2e0b007df627dce80ac93b3fd88817","model-00035-of-00120.safetensors":"5c439c150741aa601c9f8f8a8f0bb650a59deb9d66e018e3e003baf97551a0e2","model-00036-of-00120.safetensors":"bba2d7a1df63672dd6400c74bd07352698bc9e74497812963d76f6c379a4fcb7","model-00037-of-00120.safetensors":"39ac664b9906d0970fedd207c20fe8b54cd16703ba765db4de332f2f3a4ae24f","model-00038-of-00120.safetensors":"26b70b8b61940befb31f4bf5956dfd9dc89500bddb36b4e79eb046ab39000412","model-00039-of-00120.safetensors":"c2599dd1cdc04c23c3383ecccad7d50d11d0e52c6602574bc1da2428e84f7028","model-00040-of-00120.safetensors":"e109dbf65aba7827809cc67334065364a1684715179b31311e0a31c00d8dd48c","model-00041-of-00120.safetensors":"bb85b908911687c0e276e43e81b5a4a265a87c00965324532681097ca491bc9f","model-00042-of-00120.safetensors":"a017885e30064729e5f70cbaeda434663c6c382aa9d2ba2a73f820a8cd5b6bbe","model-00043-of-00120.safetensors":"04f3aeccb23c779ac9e6be9e952418b95cac19327e7873dce5f69e4ad728f6e0","model-00044-of-00120.safetensors":"fa5a385f7a8220ed99bc081f2fe26a07c480a3da7f497be57cf95f96ceb1c34c","model-00045-of-00120.safetensors":"b0b508dbd6217fe861a68bd8890415fc0f97404ed9ea7155adae9476b12c27d0","model-00046-of-00120.safetensors":"c0e27a8d0a9e4521e96f17ad0e40de8152ddd8c26f7739520cc052069e4432f7","model-00047-of-00120.safetensors":"5c471e0726598af910a1d5c895eca9bf41afe1e45311ee0dc962572b21097f2d","model-00048-of-00120.safetensors":"1d957114322b3d9dbb4cca73d9bba9cf628ddc7f5a6dd1d6af6224eb6aff003e","model-00049-of-00120.safetensors":"895d22c61a559667d84ac65dcd3012de18103738d3660c0c84db0b90e29c7e32","model-00050-of-00120.safetensors":"c2bd099b71e35b8af36785f23e025c8b3ce393197b801cd3e53ee33e9be71531","model-00051-of-00120.safetensors":"1c30583b2edd80ed55db4086e1b846f7a9de54f7996bfa07e2ac0039f702c10a","model-00052-of-00120.safetensors":"7c800f2f476cff08606cc3b036571d43ea501518fcba658aeda5db0fce815346","model-00053-of-00120.safetensors":"43acf4bbb16dda6f5a7c31240108bad19c64ac5eb9d20022321c4eeea48bc991","model-00054-of-00120.safetensors":"98bb70809af0d4d3177a377eefcbf728dd7fbd9e3891f130c05c66d29cd04860","model-00055-of-00120.safetensors":"285c605b3391fbca1a40f28fdb6c1856a155ccfe6de43eb59e11033360dadf51","model-00056-of-00120.safetensors":"6f825c25cd071930e7cbec832fe71a65767024b6853bdf554a9dd6534d0cd25c","model-00057-of-00120.safetensors":"9c7e6d5fd6d4138fde51eef51a83ff8a33424294c44d52d1b62b42ddb79ada4d","model-00058-of-00120.safetensors":"0b73d4dc1f373046f08a000d60484a7cf5335c4b0a1e4588d0cf8089f3ed75f2","model-00059-of-00120.safetensors":"c5e83b54c3f1912aa5fd35f1c3170415f54708887f6f358cb1eac0b93391394d","model-00060-of-00120.safetensors":"c37b7e82d16a82243664ecac9e417a815195e1c26d9affe2ce681bffcb2fa046","model-00061-of-00120.safetensors":"ec26e65bf26f2dadf4e4c7aeefe48acbd9b677a3d03ba0d3229f1cc796647bb4","model-00062-of-00120.safetensors":"98c6427e9b22529ea985aa5d343e24055d3fd570b866e4d8dfb8f0b9470caedb","model-00063-of-00120.safetensors":"dacdd78b8a4f74ea5502d28b0a8d0c632a05252e095abc6245f0a63bdbd57a46","model-00064-of-00120.safetensors":"7f134d623d5f229cb4732905ceb269404e1b00a72b8c25cc4f09d1e8610aabc5","model-00065-of-00120.safetensors":"16661291a3d218f765edcb3831ff9426af21d6d56e6d8082b194e5cac9348109","model-00066-of-00120.safetensors":"e8c5392e733bd98d5d9f38d47e18cf6834bcbc0b8d24937c42d36ebc60604910","model-00067-of-00120.safetensors":"f2fb7876facab2bbb569fe94ab41dd1e71c50a3811853bf37688e5ebdc5813c0","model-00068-of-00120.safetensors":"abc3009f10522e97eedbcd34903e3aafa55f7d72efa4ff3db4b5c4fb28259ca1","model-00069-of-00120.safetensors":"ee4f3cb631ca5b0552fab89a3ef05ed0d8dab5ee0066fa245af479c962071e53","model-00070-of-00120.safetensors":"8b60971fe302e1bcf1bb7da900276a3f26fcd38b10d6760330ee59ea8df7a589","model-00071-of-00120.safetensors":"9fb9f3581b0a09d43e94e0476b9fa0971b3ab30b3d980bf6bb0814fb92db82d4","model-00072-of-00120.safetensors":"caec81374ed646f0d7953f81565438ce18dfc11197cbb1a442b557cfb907dd23","model-00073-of-00120.safetensors":"313e11a85717e5fe56c6901f16c10aab760619b7655d355185a17dcb6986397a","model-00074-of-00120.safetensors":"3c22a6012bb34c264869fd8a93ac019175f22d9d255cdb1987d25572f6ebcb37","model-00075-of-00120.safetensors":"55992a5b643dad0a06c6bd8e4a13bac8980d31f3e773d56cc86a0c36543c02e5","model-00076-of-00120.safetensors":"3dea15fd98ef8c45a23876a3dd1f3f6c06feb6c5e3a35b29dde93a82196e9f63","model-00077-of-00120.safetensors":"fb6efae4033a54282fa0f779ce41dd64edff903621e829e23c28f2423f032059","model-00078-of-00120.safetensors":"1f231a1c8149307a14c940df734637e03b0cad5db40e4165c69b9a5e817471d9","model-00079-of-00120.safetensors":"84eb7df2440c3fe0cad633bfdb05fc1f9f4a69514d33a3c48e08f751e8729b03","model-00080-of-00120.safetensors":"1008d2f310da3804fe85ca18c86f7f40c7e7005afe3edd0e17bff9207edb15cd","model-00081-of-00120.safetensors":"30bb97e87009412ec4445773ab5dde2267f395290a37ea204b0b94fb78b06c16","model-00082-of-00120.safetensors":"6314d366c0a954e7a8beed9ead7389dc5c9ec6a78667f63778edb68a1ec5a5a7","model-00083-of-00120.safetensors":"424127fa0a70e70d5073200c3ede1097dc31345b67309e9c1ca14fc1d2c601c9","model-00084-of-00120.safetensors":"8f5be1a45eeafd520fa3e0adceffb15cceaa6510c61d032475f017966885c248","model-00085-of-00120.safetensors":"22722c615db28a151620c8a6d11714f6de26bc386f3d495a89666191122ee1bf","model-00086-of-00120.safetensors":"dcd025dc9e48dd3744996a3b9d337d3c8636c46591e80ab6cd489aac78b61b76","model-00087-of-00120.safetensors":"c00bdc2031dd9c042fcf56613979d029256c2c337c6dddf61f6e5efe18e6c883","model-00088-of-00120.safetensors":"147abc2a72e6eea5941cd03175febb962a81d068a2872c6594bef6f3e5535007","model-00089-of-00120.safetensors":"5d2ec3fd271c7a2ec4161f4e5bf2c14eef7f549ae1a6d39bb666614e26d2dfc1","model-00090-of-00120.safetensors":"2bb2e9ab785905faaeeb8b6a3df7ff2f7ae246fb1e3f51fd4cfd0b3af94e44f1","model-00091-of-00120.safetensors":"8ccbc08c9dbcd37d1ec6cfd772667b12cd521bfd4dc05113e7e9f0ce1d2b9603","model-00092-of-00120.safetensors":"20422d9ea7e0997852897daf8e6c84b420c9c8b3a700b301f416091cdb8e4efb","model-00093-of-00120.safetensors":"753329dbb8d2b4efc7cf4ca7fe9b1455e0128cbe725a98fc91a05fcf38d616d9","model-00094-of-00120.safetensors":"f08e09cb29e5c1ffc05b128d581e815914ced8f30949a1e2e114470dbbba2dbd","model-00095-of-00120.safetensors":"c08536722ef0a2cecb5a5d843fd0086275c329918eff733676af1cb6bdb99abb","model-00096-of-00120.safetensors":"fafe3a925e795c9b570c8eefeb0ea492df97e941f23e2e7e8206ded8cd28933d","model-00097-of-00120.safetensors":"e616de880c9587930ecf502799255189c0f03e102273ade47dbc104c136e92c5","model-00098-of-00120.safetensors":"7c34ac45ffba12a049c0b563cd002a50d1fb6ea9dc80c6c23203c43d5768705c","model-00099-of-00120.safetensors":"9693db794a7992532a96bd0ea185a49a76c123fb50f7bcf4fff0902847e0c6ed","model-00100-of-00120.safetensors":"a19fb303a9814d5082fc3fd5d69127bc6724bf574276e6d18918b56ab46e8eee","model-00101-of-00120.safetensors":"c24ca6ae7ce061eba28d302b878700d30ec22656a69a3db53bbb4ac4ad1ae961","model-00102-of-00120.safetensors":"b5c8396800acefb6d0bc7a0a48cd055d28faa94dc2bb34f1867a58ec83991028","model-00103-of-00120.safetensors":"09139292ba5af27e66767a6860a53b7693f091c513bac154c32d44b408783738","model-00104-of-00120.safetensors":"b0af3c5b38f078c72d405319fb47ca4c7ef74324266106ca3962ae63dc6e0a28","model-00105-of-00120.safetensors":"f475efcce530b46749e9ece468b65a5aa65a073b7fcec00c22aec5b02e4e7782","model-00106-of-00120.safetensors":"1059fe4a53c233b1fdb28ae431d61190c6491f55223c58c0660dfead53be7bc9","model-00107-of-00120.safetensors":"57e1f99044388f5c0e5b422d678e9477475dc170dcc97b654f931e3ef9facfee","model-00108-of-00120.safetensors":"286de5d27896da595638cc5aae2e390bd7676e0d450f490842c165975febff5f","model-00109-of-00120.safetensors":"b41955ae5e684cff92ae005d27b626b2abbe72fc1ad0e9b273b6d71ca3a74b66","model-00110-of-00120.safetensors":"b2bd23f9b6d11910f9b7f9e4951ae254bc64c1844a2541de48cd4ac6755d0abc","model-00111-of-00120.safetensors":"091e1d588b899c5369b713a053a7bc76ad35bc93a81af20961167f89bc953b1f","model-00112-of-00120.safetensors":"8a7c2486aa93f1c952da2ffd6137f2f38b443e21923c5f640edcaab6c340d4a1","model-00113-of-00120.safetensors":"8f3205a5dd7e9162c2ec89e19b82c10fcdd41f716b101322833f33cc27aed753","model-00114-of-00120.safetensors":"e3cf6f9ea4e07df98a3bc4cbac85f9228ff3e9fd45f02f8735672d27f81a9404","model-00115-of-00120.safetensors":"347b2e08fca7a5bbe63e39e2bd225fb0af5a7ff318120cf7e5289c4ee2a72c23","model-00116-of-00120.safetensors":"3d9c0120686a8db80f7c6bd5c1044e737a4a8f5dc8f4111038308aa0cf80d88f","model-00117-of-00120.safetensors":"48eca9375a20c8f8c6435ea6e4ee709238680873967408dc0ba499179e7b7da5","model-00118-of-00120.safetensors":"f7df8825ffec03ac813ecfabc62f9a416c8884d11aa35da655f322a6b6870817","model-00119-of-00120.safetensors":"8e393cfce320eba98c19f69574725ab1aa5153d710eaa651df5e2c35bfeca1ae","model-00120-of-00120.safetensors":"15ffa59ac9a36b7f0fbfabdea893dfc6b6db4dd921d7a291b0056062d6937dda"},"shards":["model-00001-of-00120.safetensors","model-00002-of-00120.safetensors","model-00003-of-00120.safetensors","model-00004-of-00120.safetensors","model-00005-of-00120.safetensors","model-00006-of-00120.safetensors","model-00007-of-00120.safetensors","model-00008-of-00120.safetensors","model-00009-of-00120.safetensors","model-00010-of-00120.safetensors","model-00011-of-00120.safetensors","model-00012-of-00120.safetensors","model-00013-of-00120.safetensors","model-00014-of-00120.safetensors","model-00015-of-00120.safetensors","model-00016-of-00120.safetensors","model-00017-of-00120.safetensors","model-00018-of-00120.safetensors","model-00019-of-00120.safetensors","model-00020-of-00120.safetensors","model-00021-of-00120.safetensors","model-00022-of-00120.safetensors","model-00023-of-00120.safetensors","model-00024-of-00120.safetensors","model-00025-of-00120.safetensors","model-00026-of-00120.safetensors","model-00027-of-00120.safetensors","model-00028-of-00120.safetensors","model-00029-of-00120.safetensors","model-00030-of-00120.safetensors","model-00031-of-00120.safetensors","model-00032-of-00120.safetensors","model-00033-of-00120.safetensors","model-00034-of-00120.safetensors","model-00035-of-00120.safetensors","model-00036-of-00120.safetensors","model-00037-of-00120.safetensors","model-00038-of-00120.safetensors","model-00039-of-00120.safetensors","model-00040-of-00120.safetensors","model-00041-of-00120.safetensors","model-00042-of-00120.safetensors","model-00043-of-00120.safetensors","model-00044-of-00120.safetensors","model-00045-of-00120.safetensors","model-00046-of-00120.safetensors","model-00047-of-00120.safetensors","model-00048-of-00120.safetensors","model-00049-of-00120.safetensors","model-00050-of-00120.safetensors","model-00051-of-00120.safetensors","model-00052-of-00120.safetensors","model-00053-of-00120.safetensors","model-00054-of-00120.safetensors","model-00055-of-00120.safetensors","model-00056-of-00120.safetensors","model-00057-of-00120.safetensors","model-00058-of-00120.safetensors","model-00059-of-00120.safetensors","model-00060-of-00120.safetensors","model-00061-of-00120.safetensors","model-00062-of-00120.safetensors","model-00063-of-00120.safetensors","model-00064-of-00120.safetensors","model-00065-of-00120.safetensors","model-00066-of-00120.safetensors","model-00067-of-00120.safetensors","model-00068-of-00120.safetensors","model-00069-of-00120.safetensors","model-00070-of-00120.safetensors","model-00071-of-00120.safetensors","model-00072-of-00120.safetensors","model-00073-of-00120.safetensors","model-00074-of-00120.safetensors","model-00075-of-00120.safetensors","model-00076-of-00120.safetensors","model-00077-of-00120.safetensors","model-00078-of-00120.safetensors","model-00079-of-00120.safetensors","model-00080-of-00120.safetensors","model-00081-of-00120.safetensors","model-00082-of-00120.safetensors","model-00083-of-00120.safetensors","model-00084-of-00120.safetensors","model-00085-of-00120.safetensors","model-00086-of-00120.safetensors","model-00087-of-00120.safetensors","model-00088-of-00120.safetensors","model-00089-of-00120.safetensors","model-00090-of-00120.safetensors","model-00091-of-00120.safetensors","model-00092-of-00120.safetensors","model-00093-of-00120.safetensors","model-00094-of-00120.safetensors","model-00095-of-00120.safetensors","model-00096-of-00120.safetensors","model-00097-of-00120.safetensors","model-00098-of-00120.safetensors","model-00099-of-00120.safetensors","model-00100-of-00120.safetensors","model-00101-of-00120.safetensors","model-00102-of-00120.safetensors","model-00103-of-00120.safetensors","model-00104-of-00120.safetensors","model-00105-of-00120.safetensors","model-00106-of-00120.safetensors","model-00107-of-00120.safetensors","model-00108-of-00120.safetensors","model-00109-of-00120.safetensors","model-00110-of-00120.safetensors","model-00111-of-00120.safetensors","model-00112-of-00120.safetensors","model-00113-of-00120.safetensors","model-00114-of-00120.safetensors","model-00115-of-00120.safetensors","model-00116-of-00120.safetensors","model-00117-of-00120.safetensors","model-00118-of-00120.safetensors","model-00119-of-00120.safetensors","model-00120-of-00120.safetensors"],"source_inventory_sha256":"f56e9d6250e2d108f8307322f033e53c0ff26d5b2688ebf12b891c26439fea44","source_model_revision":"a6c167b62691b2bac901344b65cb651a70f53e43","source_tensor_count":38770,"storage_abi_receipt_sha256":"61a1becf7dfe3a9a0ab1579ed2b8157031cb74ae50d83762baedd93ce46b30c0"}1{"compute_device":"cuda:0","compute_dtype":"float64","elapsed_seconds":11.266532886307687,"kld_direction":"teacher_to_student","mean_kld_lt_0_06":true,"metric":"tokenwise KL over exact jointly-valid causal prediction positions","per_domain":{"axis1_general":{"count":14329,"cvar95":0.326265684201064,"max":4.492696702230797,"mean":0.028884385709105852,"p50":0.003344004547394525,"p95":0.12859070704490116,"p99":0.3963571516374433,"std":0.10823517119900565},"axis2_legal":{"count":12282,"cvar95":0.273735680913263,"max":3.1174062338698105,"mean":0.027608301692711928,"p50":0.007448706904142545,"p95":0.10467149547906655,"p99":0.32049374963690147,"std":0.09114507535863535},"axis3_code_agentic":{"count":12282,"cvar95":0.2745447373304337,"max":3.8931216251660263,"mean":0.021620420336849484,"p50":0.0013380343568760267,"p95":0.08696666187146213,"p99":0.31811523966156585,"std":0.09512527763091767},"axis4_reasoning_termination":{"count":12282,"cvar95":0.3152251099729224,"max":3.5831201942227873,"mean":0.01938351235130761,"p50":2.6165587048213173e-05,"p95":0.0935486815030792,"p99":0.411294671166518,"std":0.10387843285682556}},"per_window":[{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.30896498991974874,"max":3.0775640898631225,"mean":0.03183160117875587,"p50":0.011711601251236579,"p95":0.09622751142679582,"p99":0.3420183750227258,"std":0.12119545029230197},"window_id":"final-0000"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.34377116440404554,"max":2.6523984356623833,"mean":0.03466187346059615,"p50":0.00955526012578439,"p95":0.1405479904085465,"p99":0.3552333767836773,"std":0.11687315648474178},"window_id":"final-0001"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.3601975998522082,"max":2.1071151869350326,"mean":0.030410353055680232,"p50":0.001416153965677988,"p95":0.16310279412617418,"p99":0.40302016221570963,"std":0.1059511310197743},"window_id":"final-0002"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.37566064383332926,"max":1.841710272114093,"mean":0.024057154218872705,"p50":2.9138470179901446e-05,"p95":0.14676732281434438,"p99":0.4753303899564367,"std":0.10528396598176307},"window_id":"final-0003"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.6182892058376609,"max":4.492696702230797,"mean":0.10190262956902492,"p50":0.05627091897794768,"p95":0.3566616272564563,"p99":0.6962758144332355,"std":0.17436098423098384},"window_id":"final-0004"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.24048700677619353,"max":1.8903771500874382,"mean":0.028857424448609826,"p50":0.0107760726370118,"p95":0.10435262457659096,"p99":0.28794953285959624,"std":0.07746562665278428},"window_id":"final-0005"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.4497348220340669,"max":3.8931216251660263,"mean":0.02900065328556576,"p50":0.00032204330707493627,"p95":0.09175777668267644,"p99":0.6115083875893493,"std":0.16041611238829057},"window_id":"final-0006"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.14601799202158827,"max":1.99125802984805,"mean":0.009816812202566281,"p50":2.805734608191245e-05,"p95":0.06073251620432323,"p99":0.16428133887879692,"std":0.05628566918684573},"window_id":"final-0007"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.07504989926931047,"max":0.45666636873478017,"mean":0.007584100449611445,"p50":0.0017117835368106096,"p95":0.03202925525380529,"p99":0.09364277089751033,"std":0.021580671936164617},"window_id":"final-0008"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.11492899391105824,"max":0.567455221561036,"mean":0.014052645155265445,"p50":0.006079669591516133,"p95":0.04757707102051345,"p99":0.1623674188951697,"std":0.033436961950645515},"window_id":"final-0009"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.23263037599352515,"max":2.1668062673811583,"mean":0.02059267010714309,"p50":0.004180457235923488,"p95":0.07037909049020022,"p99":0.24805299719276375,"std":0.08932593899225844},"window_id":"final-0010"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.3311275899957257,"max":1.0976369822664014,"mean":0.021149041615448786,"p50":3.968242034772943e-05,"p95":0.12715810905799924,"p99":0.4278585232548628,"std":0.08631157693131428},"window_id":"final-0011"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.21131024217040212,"max":2.3905351837969495,"mean":0.014894937740189832,"p50":0.000331556371683101,"p95":0.05764469266189617,"p99":0.20980656695151692,"std":0.08884631767494142},"window_id":"final-0012"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.2157026671248613,"max":1.3854657975271656,"mean":0.02141688791286256,"p50":0.005350077869910778,"p95":0.07674513225451143,"p99":0.2569216725643554,"std":0.0681803668541419},"window_id":"final-0013"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.06252338900330863,"max":0.5182381737126686,"mean":0.006147432865619082,"p50":0.00039951445593059564,"p95":0.026454264855629395,"p99":0.07159229308173141,"std":0.02020120664749409},"window_id":"final-0014"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.3925363229119485,"max":2.496365037816709,"mean":0.024434764458560052,"p50":1.8824790238400654e-05,"p95":0.10832325675066953,"p99":0.4875965907830523,"std":0.1274808442863533},"window_id":"final-0015"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.07172445587347916,"max":0.5277251367295523,"mean":0.007743033251440937,"p50":0.0019635316928926366,"p95":0.02768142050231912,"p99":0.0891887634279785,"std":0.02273890533699011},"window_id":"final-0016"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.17652369941200494,"max":1.244109777895568,"mean":0.018552089065258237,"p50":0.005082328956953354,"p95":0.06813714083165627,"p99":0.21605392022670794,"std":0.055609265386362794},"window_id":"final-0017"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.22047325625749178,"max":1.1481060841692303,"mean":0.01824750062511334,"p50":0.0014326446955213183,"p95":0.07531638016836815,"p99":0.26680995318861966,"std":0.06672846018101405},"window_id":"final-0018"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.20263587155394647,"max":1.864998579591572,"mean":0.012650423513515438,"p50":2.374653662394013e-05,"p95":0.06570100680823211,"p99":0.22916186717727827,"std":0.07283151179849509},"window_id":"final-0019"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.3811219371532049,"max":2.411296462645928,"mean":0.03132160216394685,"p50":0.004079032144432419,"p95":0.10712332558447812,"p99":0.5233526024600974,"std":0.12831503386775867},"window_id":"final-0020"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.46660112115317853,"max":3.1174062338698105,"mean":0.04810889011367935,"p50":0.01199365944510586,"p95":0.17666836340981623,"p99":0.6608074621201679,"std":0.14342084256629253},"window_id":"final-0021"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.2439343415325835,"max":0.8527605860765243,"mean":0.02532391208197542,"p50":0.002437600495359306,"p95":0.11674023535756442,"p99":0.3126154815165868,"std":0.06417683627240771},"window_id":"final-0022"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.4081347552821348,"max":3.5831201942227873,"mean":0.0241928780988824,"p50":1.884746645620622e-05,"p95":0.10949213591732218,"p99":0.49627721165058003,"std":0.1459517241399744},"window_id":"final-0023"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.08423356322844759,"max":2.7354262419241318,"mean":0.006912795610771095,"p50":0.0008678446580827963,"p95":0.01927261467358215,"p99":0.056932142476430296,"std":0.06839767432746317},"window_id":"final-0024"}],"report_sha256":"ef6a8dedc20f11e582658f94923da3e66c2b6cea4ff62d936abb790e376e2461","runtime_reader_sha256":"1fb3be878e0a9445b640565558fc34715891bfd60a63e976002181c620a41a69","schema":"quant-pipeline.glm53-packed-student-kld.v1","student_backend_identity_sha256":"966c47c49d154102aa49c0832f8e8b1eb0f6fb50c1f451f750efa29b2ce6f3e6","student_checkpoint_identity_sha256":"598ce08d20714903c393b523bee3cebb9eb498e46109bec4193037af401f6332","student_label":"uniform-k4","student_receipt_sha256":"013759025d8414f8811fa140250e2c79097c1082926edd4ae2cfc6751722fc8d","summary":{"count":51175,"cvar95":0.3000681541513862,"max":4.492696702230797,"mean":0.024554564249958208,"p50":0.0016142489176441495,"p95":0.10699094853661767,"p99":0.37013446746107936,"std":0.10025378039008626},"teacher_backend_identity_sha256":"85b11599c6b36a83fa8099a09a298a386a0c603d1f18d3702e7fb1c470962ce4","teacher_receipt_sha256":"2ae08117c3d4247f747b2a9a889b68e1a06387b788d56a0bf23bb950c77bc5a5","token_panel_receipt_sha256":"0beec5770e5107547731b084f1bc5f9fb8ba79d67af56ddb70d919da367737d5","tokenwise_kld_bytes":409528,"tokenwise_kld_path":"/workspace/artifacts/evaluation/glm53-packed-k4-final-kld/tokenwise-kld.npy","tokenwise_kld_sha256":"2a596810dcdd52fc654eb94fffe1cf394b826ea6b25d8f411049d8354e52f562","top1_agreement":0.9525940400586224}1{"compute_device":"cuda:0","compute_dtype":"float64","elapsed_seconds":11.878996634390205,"kld_direction":"teacher_to_student","mean_kld_lt_0_06":true,"metric":"tokenwise KL over exact jointly-valid causal prediction positions","per_domain":{"axis1_general":{"count":14329,"cvar95":0.326265684201064,"max":4.492696702230797,"mean":0.028884385709105852,"p50":0.003344004547394525,"p95":0.12859070704490116,"p99":0.3963571516374433,"std":0.10823517119900565},"axis2_legal":{"count":12282,"cvar95":0.273735680913263,"max":3.1174062338698105,"mean":0.027608301692711928,"p50":0.007448706904142545,"p95":0.10467149547906655,"p99":0.32049374963690147,"std":0.09114507535863535},"axis3_code_agentic":{"count":12282,"cvar95":0.2745447373304337,"max":3.8931216251660263,"mean":0.021620420336849484,"p50":0.0013380343568760267,"p95":0.08696666187146213,"p99":0.31811523966156585,"std":0.09512527763091767},"axis4_reasoning_termination":{"count":12282,"cvar95":0.3152251099729224,"max":3.5831201942227873,"mean":0.01938351235130761,"p50":2.6165587048213173e-05,"p95":0.0935486815030792,"p99":0.411294671166518,"std":0.10387843285682556}},"per_window":[{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.30896498991974874,"max":3.0775640898631225,"mean":0.03183160117875587,"p50":0.011711601251236579,"p95":0.09622751142679582,"p99":0.3420183750227258,"std":0.12119545029230197},"window_id":"final-0000"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.34377116440404554,"max":2.6523984356623833,"mean":0.03466187346059615,"p50":0.00955526012578439,"p95":0.1405479904085465,"p99":0.3552333767836773,"std":0.11687315648474178},"window_id":"final-0001"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.3601975998522082,"max":2.1071151869350326,"mean":0.030410353055680232,"p50":0.001416153965677988,"p95":0.16310279412617418,"p99":0.40302016221570963,"std":0.1059511310197743},"window_id":"final-0002"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.37566064383332926,"max":1.841710272114093,"mean":0.024057154218872705,"p50":2.9138470179901446e-05,"p95":0.14676732281434438,"p99":0.4753303899564367,"std":0.10528396598176307},"window_id":"final-0003"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.6182892058376609,"max":4.492696702230797,"mean":0.10190262956902492,"p50":0.05627091897794768,"p95":0.3566616272564563,"p99":0.6962758144332355,"std":0.17436098423098384},"window_id":"final-0004"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.24048700677619353,"max":1.8903771500874382,"mean":0.028857424448609826,"p50":0.0107760726370118,"p95":0.10435262457659096,"p99":0.28794953285959624,"std":0.07746562665278428},"window_id":"final-0005"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.4497348220340669,"max":3.8931216251660263,"mean":0.02900065328556576,"p50":0.00032204330707493627,"p95":0.09175777668267644,"p99":0.6115083875893493,"std":0.16041611238829057},"window_id":"final-0006"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.14601799202158827,"max":1.99125802984805,"mean":0.009816812202566281,"p50":2.805734608191245e-05,"p95":0.06073251620432323,"p99":0.16428133887879692,"std":0.05628566918684573},"window_id":"final-0007"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.07504989926931047,"max":0.45666636873478017,"mean":0.007584100449611445,"p50":0.0017117835368106096,"p95":0.03202925525380529,"p99":0.09364277089751033,"std":0.021580671936164617},"window_id":"final-0008"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.11492899391105824,"max":0.567455221561036,"mean":0.014052645155265445,"p50":0.006079669591516133,"p95":0.04757707102051345,"p99":0.1623674188951697,"std":0.033436961950645515},"window_id":"final-0009"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.23263037599352515,"max":2.1668062673811583,"mean":0.02059267010714309,"p50":0.004180457235923488,"p95":0.07037909049020022,"p99":0.24805299719276375,"std":0.08932593899225844},"window_id":"final-0010"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.3311275899957257,"max":1.0976369822664014,"mean":0.021149041615448786,"p50":3.968242034772943e-05,"p95":0.12715810905799924,"p99":0.4278585232548628,"std":0.08631157693131428},"window_id":"final-0011"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.21131024217040212,"max":2.3905351837969495,"mean":0.014894937740189832,"p50":0.000331556371683101,"p95":0.05764469266189617,"p99":0.20980656695151692,"std":0.08884631767494142},"window_id":"final-0012"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.2157026671248613,"max":1.3854657975271656,"mean":0.02141688791286256,"p50":0.005350077869910778,"p95":0.07674513225451143,"p99":0.2569216725643554,"std":0.0681803668541419},"window_id":"final-0013"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.06252338900330863,"max":0.5182381737126686,"mean":0.006147432865619082,"p50":0.00039951445593059564,"p95":0.026454264855629395,"p99":0.07159229308173141,"std":0.02020120664749409},"window_id":"final-0014"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.3925363229119485,"max":2.496365037816709,"mean":0.024434764458560052,"p50":1.8824790238400654e-05,"p95":0.10832325675066953,"p99":0.4875965907830523,"std":0.1274808442863533},"window_id":"final-0015"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.07172445587347916,"max":0.5277251367295523,"mean":0.007743033251440937,"p50":0.0019635316928926366,"p95":0.02768142050231912,"p99":0.0891887634279785,"std":0.02273890533699011},"window_id":"final-0016"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.17652369941200494,"max":1.244109777895568,"mean":0.018552089065258237,"p50":0.005082328956953354,"p95":0.06813714083165627,"p99":0.21605392022670794,"std":0.055609265386362794},"window_id":"final-0017"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.22047325625749178,"max":1.1481060841692303,"mean":0.01824750062511334,"p50":0.0014326446955213183,"p95":0.07531638016836815,"p99":0.26680995318861966,"std":0.06672846018101405},"window_id":"final-0018"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.20263587155394647,"max":1.864998579591572,"mean":0.012650423513515438,"p50":2.374653662394013e-05,"p95":0.06570100680823211,"p99":0.22916186717727827,"std":0.07283151179849509},"window_id":"final-0019"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.3811219371532049,"max":2.411296462645928,"mean":0.03132160216394685,"p50":0.004079032144432419,"p95":0.10712332558447812,"p99":0.5233526024600974,"std":0.12831503386775867},"window_id":"final-0020"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.46660112115317853,"max":3.1174062338698105,"mean":0.04810889011367935,"p50":0.01199365944510586,"p95":0.17666836340981623,"p99":0.6608074621201679,"std":0.14342084256629253},"window_id":"final-0021"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.2439343415325835,"max":0.8527605860765243,"mean":0.02532391208197542,"p50":0.002437600495359306,"p95":0.11674023535756442,"p99":0.3126154815165868,"std":0.06417683627240771},"window_id":"final-0022"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.4081347552821348,"max":3.5831201942227873,"mean":0.0241928780988824,"p50":1.884746645620622e-05,"p95":0.10949213591732218,"p99":0.49627721165058003,"std":0.1459517241399744},"window_id":"final-0023"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.08423356322844759,"max":2.7354262419241318,"mean":0.006912795610771095,"p50":0.0008678446580827963,"p95":0.01927261467358215,"p99":0.056932142476430296,"std":0.06839767432746317},"window_id":"final-0024"}],"report_sha256":"b7d1cac829f6b21471da4ea724aac479f9db250d4286edd412e099fa747f8257","runtime_reader_sha256":"1fb3be878e0a9445b640565558fc34715891bfd60a63e976002181c620a41a69","schema":"quant-pipeline.glm53-packed-student-kld.v1","student_backend_identity_sha256":"7cd000dfb8a35798b3ec0384cb5535f0d9da30c91273281973cf647e63798df4","student_checkpoint_identity_sha256":"598ce08d20714903c393b523bee3cebb9eb498e46109bec4193037af401f6332","student_label":"uniform-k4","student_receipt_sha256":"eae08903737bde9f31bf6f8632d2de7b6539f4b1efd8113c5f81461d92aaf671","summary":{"count":51175,"cvar95":0.3000681541513862,"max":4.492696702230797,"mean":0.024554564249958208,"p50":0.0016142489176441495,"p95":0.10699094853661767,"p99":0.37013446746107936,"std":0.10025378039008626},"teacher_backend_identity_sha256":"85b11599c6b36a83fa8099a09a298a386a0c603d1f18d3702e7fb1c470962ce4","teacher_receipt_sha256":"2ae08117c3d4247f747b2a9a889b68e1a06387b788d56a0bf23bb950c77bc5a5","token_panel_receipt_sha256":"0beec5770e5107547731b084f1bc5f9fb8ba79d67af56ddb70d919da367737d5","tokenwise_kld_bytes":409528,"tokenwise_kld_path":"/workspace/artifacts/evaluation/glm53-packed-k4-final-kld-run2/tokenwise-kld.npy","tokenwise_kld_sha256":"2a596810dcdd52fc654eb94fffe1cf394b826ea6b25d8f411049d8354e52f562","top1_agreement":0.9525940400586224}1{"compute_device":"cuda:0","compute_dtype":"float64","elapsed_seconds":12.623675923328847,"kld_direction":"teacher_to_student","mean_kld_lt_0_06":true,"metric":"tokenwise KL over exact jointly-valid causal prediction positions","per_domain":{"axis1_general":{"count":14329,"cvar95":0.326265684201064,"max":4.492696702230797,"mean":0.028884385709105852,"p50":0.003344004547394525,"p95":0.12859070704490116,"p99":0.3963571516374433,"std":0.10823517119900565},"axis2_legal":{"count":12282,"cvar95":0.273735680913263,"max":3.1174062338698105,"mean":0.027608301692711928,"p50":0.007448706904142545,"p95":0.10467149547906655,"p99":0.32049374963690147,"std":0.09114507535863535},"axis3_code_agentic":{"count":12282,"cvar95":0.2745447373304337,"max":3.8931216251660263,"mean":0.021620420336849484,"p50":0.0013380343568760267,"p95":0.08696666187146213,"p99":0.31811523966156585,"std":0.09512527763091767},"axis4_reasoning_termination":{"count":12282,"cvar95":0.3152251099729224,"max":3.5831201942227873,"mean":0.01938351235130761,"p50":2.6165587048213173e-05,"p95":0.0935486815030792,"p99":0.411294671166518,"std":0.10387843285682556}},"per_window":[{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.30896498991974874,"max":3.0775640898631225,"mean":0.03183160117875587,"p50":0.011711601251236579,"p95":0.09622751142679582,"p99":0.3420183750227258,"std":0.12119545029230197},"window_id":"final-0000"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.34377116440404554,"max":2.6523984356623833,"mean":0.03466187346059615,"p50":0.00955526012578439,"p95":0.1405479904085465,"p99":0.3552333767836773,"std":0.11687315648474178},"window_id":"final-0001"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.3601975998522082,"max":2.1071151869350326,"mean":0.030410353055680232,"p50":0.001416153965677988,"p95":0.16310279412617418,"p99":0.40302016221570963,"std":0.1059511310197743},"window_id":"final-0002"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.37566064383332926,"max":1.841710272114093,"mean":0.024057154218872705,"p50":2.9138470179901446e-05,"p95":0.14676732281434438,"p99":0.4753303899564367,"std":0.10528396598176307},"window_id":"final-0003"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.6182892058376609,"max":4.492696702230797,"mean":0.10190262956902492,"p50":0.05627091897794768,"p95":0.3566616272564563,"p99":0.6962758144332355,"std":0.17436098423098384},"window_id":"final-0004"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.24048700677619353,"max":1.8903771500874382,"mean":0.028857424448609826,"p50":0.0107760726370118,"p95":0.10435262457659096,"p99":0.28794953285959624,"std":0.07746562665278428},"window_id":"final-0005"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.4497348220340669,"max":3.8931216251660263,"mean":0.02900065328556576,"p50":0.00032204330707493627,"p95":0.09175777668267644,"p99":0.6115083875893493,"std":0.16041611238829057},"window_id":"final-0006"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.14601799202158827,"max":1.99125802984805,"mean":0.009816812202566281,"p50":2.805734608191245e-05,"p95":0.06073251620432323,"p99":0.16428133887879692,"std":0.05628566918684573},"window_id":"final-0007"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.07504989926931047,"max":0.45666636873478017,"mean":0.007584100449611445,"p50":0.0017117835368106096,"p95":0.03202925525380529,"p99":0.09364277089751033,"std":0.021580671936164617},"window_id":"final-0008"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.11492899391105824,"max":0.567455221561036,"mean":0.014052645155265445,"p50":0.006079669591516133,"p95":0.04757707102051345,"p99":0.1623674188951697,"std":0.033436961950645515},"window_id":"final-0009"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.23263037599352515,"max":2.1668062673811583,"mean":0.02059267010714309,"p50":0.004180457235923488,"p95":0.07037909049020022,"p99":0.24805299719276375,"std":0.08932593899225844},"window_id":"final-0010"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.3311275899957257,"max":1.0976369822664014,"mean":0.021149041615448786,"p50":3.968242034772943e-05,"p95":0.12715810905799924,"p99":0.4278585232548628,"std":0.08631157693131428},"window_id":"final-0011"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.21131024217040212,"max":2.3905351837969495,"mean":0.014894937740189832,"p50":0.000331556371683101,"p95":0.05764469266189617,"p99":0.20980656695151692,"std":0.08884631767494142},"window_id":"final-0012"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.2157026671248613,"max":1.3854657975271656,"mean":0.02141688791286256,"p50":0.005350077869910778,"p95":0.07674513225451143,"p99":0.2569216725643554,"std":0.0681803668541419},"window_id":"final-0013"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.06252338900330863,"max":0.5182381737126686,"mean":0.006147432865619082,"p50":0.00039951445593059564,"p95":0.026454264855629395,"p99":0.07159229308173141,"std":0.02020120664749409},"window_id":"final-0014"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.3925363229119485,"max":2.496365037816709,"mean":0.024434764458560052,"p50":1.8824790238400654e-05,"p95":0.10832325675066953,"p99":0.4875965907830523,"std":0.1274808442863533},"window_id":"final-0015"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.07172445587347916,"max":0.5277251367295523,"mean":0.007743033251440937,"p50":0.0019635316928926366,"p95":0.02768142050231912,"p99":0.0891887634279785,"std":0.02273890533699011},"window_id":"final-0016"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.17652369941200494,"max":1.244109777895568,"mean":0.018552089065258237,"p50":0.005082328956953354,"p95":0.06813714083165627,"p99":0.21605392022670794,"std":0.055609265386362794},"window_id":"final-0017"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.22047325625749178,"max":1.1481060841692303,"mean":0.01824750062511334,"p50":0.0014326446955213183,"p95":0.07531638016836815,"p99":0.26680995318861966,"std":0.06672846018101405},"window_id":"final-0018"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.20263587155394647,"max":1.864998579591572,"mean":0.012650423513515438,"p50":2.374653662394013e-05,"p95":0.06570100680823211,"p99":0.22916186717727827,"std":0.07283151179849509},"window_id":"final-0019"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.3811219371532049,"max":2.411296462645928,"mean":0.03132160216394685,"p50":0.004079032144432419,"p95":0.10712332558447812,"p99":0.5233526024600974,"std":0.12831503386775867},"window_id":"final-0020"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.46660112115317853,"max":3.1174062338698105,"mean":0.04810889011367935,"p50":0.01199365944510586,"p95":0.17666836340981623,"p99":0.6608074621201679,"std":0.14342084256629253},"window_id":"final-0021"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.2439343415325835,"max":0.8527605860765243,"mean":0.02532391208197542,"p50":0.002437600495359306,"p95":0.11674023535756442,"p99":0.3126154815165868,"std":0.06417683627240771},"window_id":"final-0022"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.4081347552821348,"max":3.5831201942227873,"mean":0.0241928780988824,"p50":1.884746645620622e-05,"p95":0.10949213591732218,"p99":0.49627721165058003,"std":0.1459517241399744},"window_id":"final-0023"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.08423356322844759,"max":2.7354262419241318,"mean":0.006912795610771095,"p50":0.0008678446580827963,"p95":0.01927261467358215,"p99":0.056932142476430296,"std":0.06839767432746317},"window_id":"final-0024"}],"report_sha256":"663629ccd2bda08a4c299d767b7e6e6d622a81ad6830ad1acf08d0eb8ca1a196","runtime_reader_sha256":"1fb3be878e0a9445b640565558fc34715891bfd60a63e976002181c620a41a69","schema":"quant-pipeline.glm53-packed-student-kld.v1","student_backend_identity_sha256":"ac80965b615e5682c7367ebb0d539a28eb0b32760eb1cfea769c38bb2cc417b7","student_checkpoint_identity_sha256":"598ce08d20714903c393b523bee3cebb9eb498e46109bec4193037af401f6332","student_label":"uniform-k4","student_receipt_sha256":"000896721ea7116322eb31d8e75718985d29240fabd6a921627bb02c03516bec","summary":{"count":51175,"cvar95":0.3000681541513862,"max":4.492696702230797,"mean":0.024554564249958208,"p50":0.0016142489176441495,"p95":0.10699094853661767,"p99":0.37013446746107936,"std":0.10025378039008626},"teacher_backend_identity_sha256":"85b11599c6b36a83fa8099a09a298a386a0c603d1f18d3702e7fb1c470962ce4","teacher_receipt_sha256":"2ae08117c3d4247f747b2a9a889b68e1a06387b788d56a0bf23bb950c77bc5a5","token_panel_receipt_sha256":"0beec5770e5107547731b084f1bc5f9fb8ba79d67af56ddb70d919da367737d5","tokenwise_kld_bytes":409528,"tokenwise_kld_path":"/workspace/artifacts/evaluation/glm53-packed-k4-final-kld-run3/tokenwise-kld.npy","tokenwise_kld_sha256":"2a596810dcdd52fc654eb94fffe1cf394b826ea6b25d8f411049d8354e52f562","top1_agreement":0.9525940400586224}1{"compute_device":"cuda:0","compute_dtype":"float64","elapsed_seconds":11.523663989268243,"kld_direction":"teacher_to_student","mean_kld_lt_0_06":true,"metric":"tokenwise KL over exact jointly-valid causal prediction positions","per_domain":{"axis1_general":{"count":14329,"cvar95":0.326265684201064,"max":4.492696702230797,"mean":0.028884385709105852,"p50":0.003344004547394525,"p95":0.12859070704490116,"p99":0.3963571516374433,"std":0.10823517119900565},"axis2_legal":{"count":12282,"cvar95":0.273735680913263,"max":3.1174062338698105,"mean":0.027608301692711928,"p50":0.007448706904142545,"p95":0.10467149547906655,"p99":0.32049374963690147,"std":0.09114507535863535},"axis3_code_agentic":{"count":12282,"cvar95":0.2745447373304337,"max":3.8931216251660263,"mean":0.021620420336849484,"p50":0.0013380343568760267,"p95":0.08696666187146213,"p99":0.31811523966156585,"std":0.09512527763091767},"axis4_reasoning_termination":{"count":12282,"cvar95":0.3152251099729224,"max":3.5831201942227873,"mean":0.01938351235130761,"p50":2.6165587048213173e-05,"p95":0.0935486815030792,"p99":0.411294671166518,"std":0.10387843285682556}},"per_window":[{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.30896498991974874,"max":3.0775640898631225,"mean":0.03183160117875587,"p50":0.011711601251236579,"p95":0.09622751142679582,"p99":0.3420183750227258,"std":0.12119545029230197},"window_id":"final-0000"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.34377116440404554,"max":2.6523984356623833,"mean":0.03466187346059615,"p50":0.00955526012578439,"p95":0.1405479904085465,"p99":0.3552333767836773,"std":0.11687315648474178},"window_id":"final-0001"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.3601975998522082,"max":2.1071151869350326,"mean":0.030410353055680232,"p50":0.001416153965677988,"p95":0.16310279412617418,"p99":0.40302016221570963,"std":0.1059511310197743},"window_id":"final-0002"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.37566064383332926,"max":1.841710272114093,"mean":0.024057154218872705,"p50":2.9138470179901446e-05,"p95":0.14676732281434438,"p99":0.4753303899564367,"std":0.10528396598176307},"window_id":"final-0003"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.6182892058376609,"max":4.492696702230797,"mean":0.10190262956902492,"p50":0.05627091897794768,"p95":0.3566616272564563,"p99":0.6962758144332355,"std":0.17436098423098384},"window_id":"final-0004"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.24048700677619353,"max":1.8903771500874382,"mean":0.028857424448609826,"p50":0.0107760726370118,"p95":0.10435262457659096,"p99":0.28794953285959624,"std":0.07746562665278428},"window_id":"final-0005"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.4497348220340669,"max":3.8931216251660263,"mean":0.02900065328556576,"p50":0.00032204330707493627,"p95":0.09175777668267644,"p99":0.6115083875893493,"std":0.16041611238829057},"window_id":"final-0006"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.14601799202158827,"max":1.99125802984805,"mean":0.009816812202566281,"p50":2.805734608191245e-05,"p95":0.06073251620432323,"p99":0.16428133887879692,"std":0.05628566918684573},"window_id":"final-0007"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.07504989926931047,"max":0.45666636873478017,"mean":0.007584100449611445,"p50":0.0017117835368106096,"p95":0.03202925525380529,"p99":0.09364277089751033,"std":0.021580671936164617},"window_id":"final-0008"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.11492899391105824,"max":0.567455221561036,"mean":0.014052645155265445,"p50":0.006079669591516133,"p95":0.04757707102051345,"p99":0.1623674188951697,"std":0.033436961950645515},"window_id":"final-0009"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.23263037599352515,"max":2.1668062673811583,"mean":0.02059267010714309,"p50":0.004180457235923488,"p95":0.07037909049020022,"p99":0.24805299719276375,"std":0.08932593899225844},"window_id":"final-0010"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.3311275899957257,"max":1.0976369822664014,"mean":0.021149041615448786,"p50":3.968242034772943e-05,"p95":0.12715810905799924,"p99":0.4278585232548628,"std":0.08631157693131428},"window_id":"final-0011"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.21131024217040212,"max":2.3905351837969495,"mean":0.014894937740189832,"p50":0.000331556371683101,"p95":0.05764469266189617,"p99":0.20980656695151692,"std":0.08884631767494142},"window_id":"final-0012"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.2157026671248613,"max":1.3854657975271656,"mean":0.02141688791286256,"p50":0.005350077869910778,"p95":0.07674513225451143,"p99":0.2569216725643554,"std":0.0681803668541419},"window_id":"final-0013"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.06252338900330863,"max":0.5182381737126686,"mean":0.006147432865619082,"p50":0.00039951445593059564,"p95":0.026454264855629395,"p99":0.07159229308173141,"std":0.02020120664749409},"window_id":"final-0014"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.3925363229119485,"max":2.496365037816709,"mean":0.024434764458560052,"p50":1.8824790238400654e-05,"p95":0.10832325675066953,"p99":0.4875965907830523,"std":0.1274808442863533},"window_id":"final-0015"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.07172445587347916,"max":0.5277251367295523,"mean":0.007743033251440937,"p50":0.0019635316928926366,"p95":0.02768142050231912,"p99":0.0891887634279785,"std":0.02273890533699011},"window_id":"final-0016"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.17652369941200494,"max":1.244109777895568,"mean":0.018552089065258237,"p50":0.005082328956953354,"p95":0.06813714083165627,"p99":0.21605392022670794,"std":0.055609265386362794},"window_id":"final-0017"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.22047325625749178,"max":1.1481060841692303,"mean":0.01824750062511334,"p50":0.0014326446955213183,"p95":0.07531638016836815,"p99":0.26680995318861966,"std":0.06672846018101405},"window_id":"final-0018"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.20263587155394647,"max":1.864998579591572,"mean":0.012650423513515438,"p50":2.374653662394013e-05,"p95":0.06570100680823211,"p99":0.22916186717727827,"std":0.07283151179849509},"window_id":"final-0019"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.3811219371532049,"max":2.411296462645928,"mean":0.03132160216394685,"p50":0.004079032144432419,"p95":0.10712332558447812,"p99":0.5233526024600974,"std":0.12831503386775867},"window_id":"final-0020"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.46660112115317853,"max":3.1174062338698105,"mean":0.04810889011367935,"p50":0.01199365944510586,"p95":0.17666836340981623,"p99":0.6608074621201679,"std":0.14342084256629253},"window_id":"final-0021"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.2439343415325835,"max":0.8527605860765243,"mean":0.02532391208197542,"p50":0.002437600495359306,"p95":0.11674023535756442,"p99":0.3126154815165868,"std":0.06417683627240771},"window_id":"final-0022"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.4081347552821348,"max":3.5831201942227873,"mean":0.0241928780988824,"p50":1.884746645620622e-05,"p95":0.10949213591732218,"p99":0.49627721165058003,"std":0.1459517241399744},"window_id":"final-0023"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.08423356322844759,"max":2.7354262419241318,"mean":0.006912795610771095,"p50":0.0008678446580827963,"p95":0.01927261467358215,"p99":0.056932142476430296,"std":0.06839767432746317},"window_id":"final-0024"}],"report_sha256":"cdb2d8ee4ce795f695f335f0bb3ce7bd135dcf6df4f48c6e3862b40cd1340586","runtime_reader_sha256":"1fb3be878e0a9445b640565558fc34715891bfd60a63e976002181c620a41a69","schema":"quant-pipeline.glm53-packed-student-kld.v1","student_backend_identity_sha256":"142731457be7d04e11d332da38ba872a4004058c457af2ba298afa17fa920e28","student_checkpoint_identity_sha256":"598ce08d20714903c393b523bee3cebb9eb498e46109bec4193037af401f6332","student_label":"uniform-k4","student_receipt_sha256":"7ece4defa651c3693bffd624ad7d07ff85c0dceb7674a7752ec136dea6370c3f","summary":{"count":51175,"cvar95":0.3000681541513862,"max":4.492696702230797,"mean":0.024554564249958208,"p50":0.0016142489176441495,"p95":0.10699094853661767,"p99":0.37013446746107936,"std":0.10025378039008626},"teacher_backend_identity_sha256":"85b11599c6b36a83fa8099a09a298a386a0c603d1f18d3702e7fb1c470962ce4","teacher_receipt_sha256":"2ae08117c3d4247f747b2a9a889b68e1a06387b788d56a0bf23bb950c77bc5a5","token_panel_receipt_sha256":"0beec5770e5107547731b084f1bc5f9fb8ba79d67af56ddb70d919da367737d5","tokenwise_kld_bytes":409528,"tokenwise_kld_path":"/workspace/artifacts/evaluation/glm53-packed-k4-final-kld-run4/tokenwise-kld.npy","tokenwise_kld_sha256":"2a596810dcdd52fc654eb94fffe1cf394b826ea6b25d8f411049d8354e52f562","top1_agreement":0.9525940400586224}1{"compute_device":"cuda:0","compute_dtype":"float64","elapsed_seconds":11.043513828888535,"kld_direction":"teacher_to_student","mean_kld_lt_0_06":true,"metric":"tokenwise KL over exact jointly-valid causal prediction positions","per_domain":{"axis1_general":{"count":14329,"cvar95":0.326265684201064,"max":4.492696702230797,"mean":0.028884385709105852,"p50":0.003344004547394525,"p95":0.12859070704490116,"p99":0.3963571516374433,"std":0.10823517119900565},"axis2_legal":{"count":12282,"cvar95":0.273735680913263,"max":3.1174062338698105,"mean":0.027608301692711928,"p50":0.007448706904142545,"p95":0.10467149547906655,"p99":0.32049374963690147,"std":0.09114507535863535},"axis3_code_agentic":{"count":12282,"cvar95":0.2745447373304337,"max":3.8931216251660263,"mean":0.021620420336849484,"p50":0.0013380343568760267,"p95":0.08696666187146213,"p99":0.31811523966156585,"std":0.09512527763091767},"axis4_reasoning_termination":{"count":12282,"cvar95":0.3152251099729224,"max":3.5831201942227873,"mean":0.01938351235130761,"p50":2.6165587048213173e-05,"p95":0.0935486815030792,"p99":0.411294671166518,"std":0.10387843285682556}},"per_window":[{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.30896498991974874,"max":3.0775640898631225,"mean":0.03183160117875587,"p50":0.011711601251236579,"p95":0.09622751142679582,"p99":0.3420183750227258,"std":0.12119545029230197},"window_id":"final-0000"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.34377116440404554,"max":2.6523984356623833,"mean":0.03466187346059615,"p50":0.00955526012578439,"p95":0.1405479904085465,"p99":0.3552333767836773,"std":0.11687315648474178},"window_id":"final-0001"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.3601975998522082,"max":2.1071151869350326,"mean":0.030410353055680232,"p50":0.001416153965677988,"p95":0.16310279412617418,"p99":0.40302016221570963,"std":0.1059511310197743},"window_id":"final-0002"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.37566064383332926,"max":1.841710272114093,"mean":0.024057154218872705,"p50":2.9138470179901446e-05,"p95":0.14676732281434438,"p99":0.4753303899564367,"std":0.10528396598176307},"window_id":"final-0003"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.6182892058376609,"max":4.492696702230797,"mean":0.10190262956902492,"p50":0.05627091897794768,"p95":0.3566616272564563,"p99":0.6962758144332355,"std":0.17436098423098384},"window_id":"final-0004"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.24048700677619353,"max":1.8903771500874382,"mean":0.028857424448609826,"p50":0.0107760726370118,"p95":0.10435262457659096,"p99":0.28794953285959624,"std":0.07746562665278428},"window_id":"final-0005"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.4497348220340669,"max":3.8931216251660263,"mean":0.02900065328556576,"p50":0.00032204330707493627,"p95":0.09175777668267644,"p99":0.6115083875893493,"std":0.16041611238829057},"window_id":"final-0006"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.14601799202158827,"max":1.99125802984805,"mean":0.009816812202566281,"p50":2.805734608191245e-05,"p95":0.06073251620432323,"p99":0.16428133887879692,"std":0.05628566918684573},"window_id":"final-0007"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.07504989926931047,"max":0.45666636873478017,"mean":0.007584100449611445,"p50":0.0017117835368106096,"p95":0.03202925525380529,"p99":0.09364277089751033,"std":0.021580671936164617},"window_id":"final-0008"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.11492899391105824,"max":0.567455221561036,"mean":0.014052645155265445,"p50":0.006079669591516133,"p95":0.04757707102051345,"p99":0.1623674188951697,"std":0.033436961950645515},"window_id":"final-0009"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.23263037599352515,"max":2.1668062673811583,"mean":0.02059267010714309,"p50":0.004180457235923488,"p95":0.07037909049020022,"p99":0.24805299719276375,"std":0.08932593899225844},"window_id":"final-0010"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.3311275899957257,"max":1.0976369822664014,"mean":0.021149041615448786,"p50":3.968242034772943e-05,"p95":0.12715810905799924,"p99":0.4278585232548628,"std":0.08631157693131428},"window_id":"final-0011"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.21131024217040212,"max":2.3905351837969495,"mean":0.014894937740189832,"p50":0.000331556371683101,"p95":0.05764469266189617,"p99":0.20980656695151692,"std":0.08884631767494142},"window_id":"final-0012"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.2157026671248613,"max":1.3854657975271656,"mean":0.02141688791286256,"p50":0.005350077869910778,"p95":0.07674513225451143,"p99":0.2569216725643554,"std":0.0681803668541419},"window_id":"final-0013"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.06252338900330863,"max":0.5182381737126686,"mean":0.006147432865619082,"p50":0.00039951445593059564,"p95":0.026454264855629395,"p99":0.07159229308173141,"std":0.02020120664749409},"window_id":"final-0014"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.3925363229119485,"max":2.496365037816709,"mean":0.024434764458560052,"p50":1.8824790238400654e-05,"p95":0.10832325675066953,"p99":0.4875965907830523,"std":0.1274808442863533},"window_id":"final-0015"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.07172445587347916,"max":0.5277251367295523,"mean":0.007743033251440937,"p50":0.0019635316928926366,"p95":0.02768142050231912,"p99":0.0891887634279785,"std":0.02273890533699011},"window_id":"final-0016"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.17652369941200494,"max":1.244109777895568,"mean":0.018552089065258237,"p50":0.005082328956953354,"p95":0.06813714083165627,"p99":0.21605392022670794,"std":0.055609265386362794},"window_id":"final-0017"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.22047325625749178,"max":1.1481060841692303,"mean":0.01824750062511334,"p50":0.0014326446955213183,"p95":0.07531638016836815,"p99":0.26680995318861966,"std":0.06672846018101405},"window_id":"final-0018"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.20263587155394647,"max":1.864998579591572,"mean":0.012650423513515438,"p50":2.374653662394013e-05,"p95":0.06570100680823211,"p99":0.22916186717727827,"std":0.07283151179849509},"window_id":"final-0019"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.3811219371532049,"max":2.411296462645928,"mean":0.03132160216394685,"p50":0.004079032144432419,"p95":0.10712332558447812,"p99":0.5233526024600974,"std":0.12831503386775867},"window_id":"final-0020"},{"document_id":"reap-recall-packed-axis2_legal-2","domain":"axis2_legal","role":"final","summary":{"count":2047,"cvar95":0.46660112115317853,"max":3.1174062338698105,"mean":0.04810889011367935,"p50":0.01199365944510586,"p95":0.17666836340981623,"p99":0.6608074621201679,"std":0.14342084256629253},"window_id":"final-0021"},{"document_id":"reap-recall-packed-axis3_code_agentic-3","domain":"axis3_code_agentic","role":"final","summary":{"count":2047,"cvar95":0.2439343415325835,"max":0.8527605860765243,"mean":0.02532391208197542,"p50":0.002437600495359306,"p95":0.11674023535756442,"p99":0.3126154815165868,"std":0.06417683627240771},"window_id":"final-0022"},{"document_id":"reap-recall-packed-axis4_reasoning_termination-0","domain":"axis4_reasoning_termination","role":"final","summary":{"count":2047,"cvar95":0.4081347552821348,"max":3.5831201942227873,"mean":0.0241928780988824,"p50":1.884746645620622e-05,"p95":0.10949213591732218,"p99":0.49627721165058003,"std":0.1459517241399744},"window_id":"final-0023"},{"document_id":"reap-recall-packed-axis1_general-4","domain":"axis1_general","role":"final","summary":{"count":2047,"cvar95":0.08423356322844759,"max":2.7354262419241318,"mean":0.006912795610771095,"p50":0.0008678446580827963,"p95":0.01927261467358215,"p99":0.056932142476430296,"std":0.06839767432746317},"window_id":"final-0024"}],"report_sha256":"ac4d6d94aef27b09ca9b2dd513516e793cf5f4afe3d1f2b008a3fb4ed64ae243","runtime_reader_sha256":"1fb3be878e0a9445b640565558fc34715891bfd60a63e976002181c620a41a69","schema":"quant-pipeline.glm53-packed-student-kld.v1","student_backend_identity_sha256":"9fd6be2589da5ee83780ad8b8a80f57f3f35d5cc45fd2d9155d042eb8ef1ff74","student_checkpoint_identity_sha256":"598ce08d20714903c393b523bee3cebb9eb498e46109bec4193037af401f6332","student_label":"uniform-k4","student_receipt_sha256":"5b59145332206b4c0fb82f791e2c09be8fadb16d18e6e58818b78e919294cb65","summary":{"count":51175,"cvar95":0.3000681541513862,"max":4.492696702230797,"mean":0.024554564249958208,"p50":0.0016142489176441495,"p95":0.10699094853661767,"p99":0.37013446746107936,"std":0.10025378039008626},"teacher_backend_identity_sha256":"85b11599c6b36a83fa8099a09a298a386a0c603d1f18d3702e7fb1c470962ce4","teacher_receipt_sha256":"2ae08117c3d4247f747b2a9a889b68e1a06387b788d56a0bf23bb950c77bc5a5","token_panel_receipt_sha256":"0beec5770e5107547731b084f1bc5f9fb8ba79d67af56ddb70d919da367737d5","tokenwise_kld_bytes":409528,"tokenwise_kld_path":"/workspace/artifacts/evaluation/glm53-packed-k4-final-kld-run5b/tokenwise-kld.npy","tokenwise_kld_sha256":"2a596810dcdd52fc654eb94fffe1cf394b826ea6b25d8f411049d8354e52f562","top1_agreement":0.9525940400586224}1{"bits":4,"decoded_reference":{"max_abs_error":10.546875,"max_abs_tolerance":0.25,"mean_abs_error":0.2410409301519394,"mean_abs_tolerance":0.01,"raw_parity_passed":false,"receipt_sha256":"c15ce9f45b764c0b282628921f6f4467104c99e0233dd7ec2b422abb6fe81f17","sha256":"7717a60b6ede38010aec60dc3ca40d40ec38f6252d460f15815707e74d55a651"},"example_only":false,"exllamav3_commit":"c5d9c657966ffeeaa9353f0cc899f18629da4a13","failure_reasons":[],"generation_verified":true,"materialization_receipt_sha256":"092be1ffa8db66bf02d4c370d0433a57aa48d4a6e5ce89723ef6a3bb7ca32643","qualification_basis":"actual_runtime_teacher_kld_plus_cross_rank_identity_and_generation","qualified":true,"rank_output_identical":true,"rank_output_sha256":["8483685110c131f1bd8bcdcb93687b8d6485a2a72df74e4d1abb4316ba9c97d7","8483685110c131f1bd8bcdcb93687b8d6485a2a72df74e4d1abb4316ba9c97d7"],"rank_reports":[{"bf16_routed_weight_parameter_count":0,"bits":4,"device":"NVIDIA B200","generated_token_count":4,"packed_matrix_count":36288,"peak_cuda_bytes":96425032704,"rank":0,"steady_cuda_bytes":89381623296,"world_size":2},{"bf16_routed_weight_parameter_count":0,"bits":4,"device":"NVIDIA B200","generated_token_count":4,"packed_matrix_count":36288,"peak_cuda_bytes":96425032704,"rank":1,"steady_cuda_bytes":89381623296,"world_size":2}],"raw_decoded_parity_is_not_the_qualification_basis":true,"raw_runtime_receipt_sha256":"cbd13544b47f7a0fa9df62af43da94e30ad107c6ebac5eea40443a2a485e3d3a","receipt_sha256":"a4631352b8fe705e9c6106ea51bb08325be6019c186e7d148306c1df7aab3951","runtime_logits_artifact":{"bytes":1268157784,"path":"/workspace/artifacts/qualification/glm53-packed-k4-tp2-runtime-v14-logits.safetensors","raw_tensor_sha256":"8483685110c131f1bd8bcdcb93687b8d6485a2a72df74e4d1abb4316ba9c97d7","sha256":"280c12452f429a79724cd1715a5bed2462de98a547746a80f04e7b8cdcd34746"},"runtime_module_sha256":"11617266954541f4c7337bf90501ec6f540ae3a346c486d90bdbe3380d625e67","schema":"quant-pipeline.glm53-custom-transformers-exl3-mcg-tp2-runtime-kld-qualified.v1","stock_exllamav3_model_compatible":false,"stock_vllm_compatible":false,"teacher_runtime_kld":{"max":1.018581137984496,"mean":0.022750847877671544,"p95":0.07140553100728228,"passed":true,"prediction_positions":2047,"report_sha256":"2cfd1b90a65162784de5b67e1b05ef7a15f98979b77156092d5f7500c607ba67","teacher_receipt_sha256":"2ae08117c3d4247f747b2a9a889b68e1a06387b788d56a0bf23bb950c77bc5a5","threshold":0.06,"top1_agreement":0.9384465070835368,"window_id":"final-0000"},"tp_size":2}1{"compute_device":"cuda:0","compute_dtype":"float64","elapsed_seconds":1.5412861499935389,"kld_direction":"bf16_teacher_to_custom_tp2_runtime","max_mean_kld":0.06,"mean_kld_gate_passed":true,"metric":"tokenwise KL over the sealed qualification window","prediction_positions":2047,"report_sha256":"2cfd1b90a65162784de5b67e1b05ef7a15f98979b77156092d5f7500c607ba67","runtime_logits_sha256":"280c12452f429a79724cd1715a5bed2462de98a547746a80f04e7b8cdcd34746","runtime_rank_output_identical":true,"runtime_raw_decoded_parity_passed":false,"runtime_receipt_sha256":"cbd13544b47f7a0fa9df62af43da94e30ad107c6ebac5eea40443a2a485e3d3a","schema":"quant-pipeline.glm53-custom-tp2-runtime-window-kld.v1","summary":{"count":2047,"cvar95":0.18272796855202927,"max":1.018581137984496,"mean":0.022750847877671544,"p50":0.00993991401651846,"p95":0.07140553100728228,"p99":0.22317846601861877,"std":0.05681743679919093},"teacher_logits_sha256":"9f49af1b1b1a6ac88a00f5feaa89c25232597306d73d7c0cd30bb7e9c775cfb6","teacher_receipt_sha256":"2ae08117c3d4247f747b2a9a889b68e1a06387b788d56a0bf23bb950c77bc5a5","token_ids_sha256":"338027e62f41540f73e38c6f9b4b9a06a50196cbd38cd9c69f11886af9d3cf9f","tokenwise_kld_bytes":16504,"tokenwise_kld_path":"/workspace/artifacts/qualification/glm53-custom-k4-tp2-runtime-v14-kld/tokenwise-kld.npy","tokenwise_kld_sha256":"5a2f0ae4495cb8e674d39bb751a3851e41482ff405e135f8b6eaac9492688ba9","top1_agreement":0.9384465070835368,"vocab_size":154880,"window_id":"final-0000"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164{ "schema": "glm53-exl3-sm120-runtime-publication.v1", "created_at": "2026-08-27T19:08:00-04:00", "model": "brandonmusic/GLM-5.3-Flash-EXL3-4bpw", "hardware": "2x RTX PRO 6000 Blackwell, SM120", "image": { "versioned": "verdictai/glm53-flash-exl3-k4:r19-sm120-tp2-v44", "daily_tag": "verdictai/glm53-flash-exl3-k4:daily-driver-sm120-tp2", "oci_index": "sha256:15192e3930b4ae5558271ebe7d1a5a02da6dcc5a6c292c44e79a3fb8c883b5e1", "amd64_manifest": "sha256:0c35421c2c773743ee74b17592d5bd32143546a2bbfe32fc8f32b97ca74167bf", "attestation_manifest": "sha256:fa19cab01fc3304137b8dae75ba1d1162b6373d2ad177424861c63e2eaca6af9" }, "source": { "vllm_base_commit": "df684ff47dcbf088b41311494fd20347a702e56a", "b12x_commit": "30aafad96b7a78064651c4a5ac177791e7bdee30", "checkpoint_layout": "global unsliced K4 routed experts, intermediate_size=2048", "runtime_layout": "stream-loaded TP2 rank-local K4 slabs, intermediate_size=1024", "moe_path": "fused EXL3 Trellis/B12X" }, "profiles": { "daily": { "kv_cache": "fp8_ds_mla", "attention_backend": "FLASHINFER_MLA_SPARSE_SM120", "dcp": 2, "mtp_tokens": 3, "cuda_graph": true, "max_model_len": 435456, "max_num_batched_tokens": 2048, "max_num_seqs": 1, "gpu_memory_utilization": 0.986 }, "long500k": { "kv_cache": "nvfp4_ds_mla", "attention_backend": "B12X_MLA_SPARSE", "dcp": 2, "mtp_tokens": 3, "cuda_graph": true, "max_model_len": 499968, "max_num_batched_tokens": 1024, "max_num_seqs": 1, "gpu_memory_utilization": 0.985 } }, "kld": { "authoritative_regime": "v43 rootfs, TP2, DCP1, eager, no MTP, FP8 MLA KV", "run_count": 5, "tokens": 2048, "prediction_positions_per_run": 2047, "run_means": [ 0.024566116963587743, 0.02484955747693601, 0.02488293126922237, 0.024016412383556018, 0.024827864888926656 ], "mean": 0.02462857659644576, "population_stddev": 0.0003261566807242095, "mean_top1_agreement": 0.9379579872984856, "quality_gate": "mean KLD < 0.06", "all_runs_pass": true, "teacher_payload_sha256": "9f49af1b1b1a6ac88a00f5feaa89c25232597306d73d7c0cd30bb7e9c775cfb6", "receipt_sha256": "8302e72a523189af1fe5a5e2530d45f9532c0efca8f7b4e43eb5cdc3dfd0e1e", "first64_mean": 0.19186695, "remaining1983_mean": 0.01923107, "first64_fraction_of_total": 0.243613, "nvfp4_five_run_mean": 0.06053485053836315, "nvfp4_gate_pass": false }, "performance": { "nvfp4_dcp2_mtp3_steady_prefill_tok_s": { "8192": 3819.0, "16384": 4112.0, "32768": 4149.0, "65536": 4174.0, "131072": 4145.0 }, "nvfp4_dcp2_mtp3_c1_decode_tok_s": { "0": 98.85495572331693, "16384": 106.5414194469794, "32768": 101.15099399633722, "65536": 107.15700851940537, "131072": 112.37636035493242 }, "nvfp4_prefill_receipt_sha256": "276b30f965082c8ea82f5ad8212106a2baf3958577883a4fbd51e51a73a66f83", "nvfp4_decode_receipt_sha256": "f5184875558e5dfe2e8f51f40a6657ea32ce5466e58b50d958225767790880d8", "public_fp8_prefill_receipt_sha256": "c4fcefea0fe11be2197a4e23dadf35a1f5d82ba98168373f013b6537703fd2a8", "public_fp8_decode_receipt_sha256": "e43039cf541b36cd8c66f678e7c7f6d11af2ab00250000745ad86c4f31eaf427" }, "quality": { "sampling": { "temperature": 1.0, "top_p": 0.95 }, "estonia": { "regime": "NVFP4, DCP2, graph, MTP3", "correct": 10, "total": 10, "cap_hits": 0, "errors": 0, "mean_generation_tok_s": 129.08494771802967, "receipt_sha256": "2b202a67daca1eafc66758ee3019d49161fa6ea87d8455bc3080620562a4788a" }, "lavd_low": { "regime": "FP8, DCP2, graph, MTP3, reasoning_effort=low", "raw_exact": 0, "raw_near": 6, "raw_fail": 4, "audited_exact": 1, "audited_near": 9, "audited_fail": 0, "audited_accepted": 10, "total": 10, "cap_hits": 0, "errors": 0, "mean_generation_tok_s": 160.04339599723795, "raw_receipt_sha256": "bb8b6dad760ba36a102caf22442e6540c28aea871c6fcfb609d9ae199f65869e", "audit_receipt_sha256": "20c595f24116e0bdf4c47c38cb9ff045387bdb637706ee96b5e14059eb8b1de8" }, "lavd_normal_reasoning_scout": { "regime": "FP8, DCP2, graph, MTP3, default reasoning", "audited_exact": 2, "audited_near": 0, "audited_fail": 1, "total": 3, "cap_hits": 1, "raw_receipt_sha256": "ea6214f4b02f44d2b2d98535a322a09aa1121d117e12b5b14a82763cb102b30c", "audit_receipt_sha256": "360f4905751af1f478543a664e30b1decd825fd3579369d1914ec5c1b62dbb7f" }, "hotel": { "status": "not_run_by_owner_instruction" } }, "needle": { "regime": "NVFP4, DCP2, graph, MTP3, max_model_len=499968", "raw_passed": 17, "raw_total": 18, "raw_receipt_sha256": "baa77d044d553732b4c2beec66292fdb4977eafbce6e8d8ca8a72841a24c3fc1", "targeted_retry_prompt_tokens": 498368, "targeted_retry_depth": 0.9, "targeted_retry_reasoning_effort": "low", "targeted_retry_completion_tokens": 7, "targeted_retry_exact": true, "targeted_retry_seconds": 147.939, "targeted_retry_receipt_sha256": "bc81617e23e2b0f337f5a7252127741301175d8bc071480ce87b9c29bc9a0ef5" }, "kernel_tuning": { "scheduler_1024": "block_m=32 selected for the GLM53 TP2 1024-wide expert specialization", "scheduler_2048": "block_m=64 retained because end-to-end prefill is faster at the daily 2048-token cap", "steady_prefill_conclusion": "approximately 4.1K tok/s; no measured 10K path on this host" }, "live_handoff": { "verified_at": "2026-08-27T19:13:00-04:00", "container": "glm53-flash-exl3-k4-daily", "health_ready": true, "served_model": "GLM-5.3-Flash-EXL3-4bpw", "reported_max_model_len": 435456, "reported_kv_cache_tokens": 578698, "cuda_graphs_captured": true, "smoke_prompt": "What is the capital of Kentucky? Answer in one short sentence.", "smoke_content": "The capital of Kentucky is Frankfort.", "smoke_finish_reason": "stop", "smoke_completion_tokens": 10 }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081services: glm53-flash: image: verdictai/glm53-flash-exl3-k4:r19-sm120-tp2-ep2-dcp2-v84-dflash2@sha256:0f1cdcc8891f1cc3a444121eb61d366289a1cbba285f0892dcbb24bc94961692 container_name: glm53-flash-exl3-k4-dflash2 init: true ipc: host shm_size: 32gb restart: unless-stopped ports: - "${GLM53_PORT:-8012}:${GLM53_PORT:-8012}" environment: VLLM_ENGINE_READY_TIMEOUT_S: "3600" VLLM_B12X_GLM_NOPE_NVFP4: "1" VLLM_NVFP4_MLA_DYNAMIC_SCALE: "0" VLLM_NVFP4_MLA_SCALES_FILE: /opt/glm53/calibration/glm53_nvfp4_mla_outer_scales_mtp_power2_v2.json VLLM_EXL3_PREFILL_BLOCK_M: "128" VLLM_USE_B12X_DCP_A2A: "1" VLLM_ENABLE_PCIE_ALLREDUCE: "1" VLLM_PCIE_ALLREDUCE_BACKEND: cpp OMP_NUM_THREADS: "2" NCCL_IB_DISABLE: "1" NCCL_P2P_LEVEL: "4" volumes: - "${GLM53_MODEL_PATH:?set GLM53_MODEL_PATH to the EXL3 checkpoint}:/model:ro" - "${GLM53_DFLASH_PATH:?set GLM53_DFLASH_PATH to incoai/GLM-5.3-Flash-DFlash2}:/draft:ro" - "${GLM53_CACHE_PATH:-./glm53-vllm-cache}:/cache" command: - serve - /model - --served-model-name - GLM-5.3-Flash-EXL3-4bpw - --host - 0.0.0.0 - --port - "${GLM53_PORT:-8012}" - --tensor-parallel-size - "2" - --enable-expert-parallel - --decode-context-parallel-size - "2" - --dcp-comm-backend - a2a - --dtype - bfloat16 - --load-format - safetensors - --moe-backend - b12x - --attention-backend - B12X_MLA_SPARSE - --kv-cache-dtype - nvfp4_ds_mla - --max-model-len - "98304" - --max-num-batched-tokens - "2072" - --max-num-seqs - "4" - --gpu-memory-utilization - "0.986" - --enable-chunked-prefill - --no-enable-prefix-caching - --generation-config - /model - --chat-template - /opt/glm53/chat_template.multimodal.jinja - --reasoning-parser - glm45 - --tool-call-parser - glm47 - --enable-auto-tool-choice - --disable-custom-all-reduce - --speculative-config - '{"method":"dflash","model":"/draft","num_speculative_tokens":7,"draft_tensor_parallel_size":2,"draft_sample_method":"probabilistic","rejection_sample_method":"standard","attention_backend":"TRITON_ATTN","kv_cache_dtype":"auto"}' deploy: resources: reservations: devices: - driver: nvidia device_ids: ["${GLM53_GPU_0:-0}", "${GLM53_GPU_1:-1}"] capabilities: [gpu]123456789101112131415161718192021222324252627282930{ "author": "Brandon M. Music", "canonical_model": { "repo": "https://huggingface.co/brandonmusic/GLM-5.3-Flash-tr3-4bpw", "revision_at_release_preparation": "3ac30cc75074d5ce399f569d9dc55ac924fe0aad" }, "canonical_source": { "repo": "https://github.com/brandonmmusic-max/glm-5.3-flash-exl3-4bpw", "revision_before_v75_publication": "c9a6352d3ca0728dd71de6dd88df5e68f82efa95" }, "components": { "dockerfile_sha256": "092a898d764ac3950f04bfec799deebefa366b1c8685c90f482aea6ae437f4c9", "exl3_loader_sha256": "ae92592ea8fcd249978134357ea3cd2510fe2aa9bdb1d1a3ab02afdbaeb39f45", "nvfp4_attention_sha256": "0499c674b6890266b50fa0d5724dcfbb83cba3917714a6787e5dddc6feb65572", "nvfp4_scale_bank_sha256": "f10b6ee1116d71c4b61c4603d38cb257b3f0dcfde9bcc0847839e48ac9baeb1d", "route128_kernel_sha256": "28e6a2ca95934921718f75f8cf575be034c23da78776b40d478bef6bf8b0b3cd" }, "embedded_path": "/usr/share/glm53/provenance.json", "license": { "file": "LICENSE", "name": "ShapleyMCG License 1.0", "sha256": "9a354667162e40201fa556e29ae7a327cdb112eacaa8ef100106e6063635e28a", "type": "source-available" }, "notice": "Transparent provenance metadata only. It performs no telemetry, callback, tracking, or inference-output modification.", "predecessor_local_image_id": "sha256:1bae4c50df9ec53f4869c827dd774260a2faf764d09f494f83724b04502c64f9", "release": "r19-sm120-tp2-ep2-v75", "runtime_bundle_fingerprint": "sha256:508ca365c13c06ff79a61ae921d108ada77efc9cadf54e1d780c975c341bff2a", "schema": "glm53-transparent-provenance.v1"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220#!/usr/bin/env python3"""Qualify the custom packed GLM-5.3 K4/TP2 or K6/TP4 text runtime.
This script never upgrades the materializer's storage receipt. It writes aseparate runtime receipt and qualifies only when the complete packed load,multi-token generation, and explicit full-logit reference tolerance all pass."""
from __future__ import annotations
import argparseimport hashlibimport jsonfrom pathlib import Path
from quant_pipeline.core.artifacts import sha256_file, write_jsonfrom quant_pipeline.runtime.glm53_tp2_exl3 import ( build_runtime_receipt, packed_runtime_census, patch_transformers, target_tp_size_for_bits,)from quant_pipeline.publication.glm53_k4_postmtp import validate_reference_tolerances
def _args() -> argparse.Namespace: parser = argparse.ArgumentParser() parser.add_argument("--model", type=Path, required=True) parser.add_argument("--bits", type=int, choices=(4, 6)) parser.add_argument("--exllamav3-source", type=Path, required=True) parser.add_argument("--reference-panel", type=Path, required=True) parser.add_argument("--max-abs-tolerance", type=float, required=True) parser.add_argument("--mean-abs-tolerance", type=float, required=True) parser.add_argument("--max-new-tokens", type=int, default=4) parser.add_argument("--observed-logits-output", type=Path) parser.add_argument("--output", type=Path, required=True) return parser.parse_args()
def _reference_panel(path: Path): import torch
if path.suffix != ".safetensors": raise ValueError("reference panel must be safetensors") from safetensors import safe_open from safetensors.torch import load_file
tensors = load_file(str(path), device="cpu") required = {"input_ids", "logits"} if not required <= set(tensors) or set(tensors) - required - {"attention_mask", "prediction_indices"}: raise ValueError("reference panel has an unsupported tensor set") if tensors["input_ids"].dtype not in (torch.int64, torch.int32): raise ValueError("reference input_ids must be an integer tensor") with safe_open(path, framework="pt", device="cpu") as handle: metadata = handle.metadata() or {} return tensors, metadata
def _reference_error(value, observed): value = value.float() observed = observed.detach().float().cpu() if tuple(value.shape) != tuple(observed.shape): raise ValueError(f"reference shape differs: {tuple(value.shape)} != {tuple(observed.shape)}") error = (observed - value).abs() return float(error.max()), float(error.mean()), observed
def main() -> int: args = _args() config = json.loads((args.model / "config.json").read_text(encoding="utf-8")) declared_bits = config.get("quantization_config", {}).get("bits") if declared_bits not in (4, 6): raise ValueError("model config does not declare uniform routed K4 or K6") bits = declared_bits if args.bits is None else args.bits if bits != declared_bits: raise ValueError(f"requested K{bits} differs from checkpoint K{declared_bits}") tp_size = target_tp_size_for_bits(bits) if args.max_new_tokens < 2: raise ValueError("qualification requires at least two decode steps") if args.max_abs_tolerance < 0 or args.mean_abs_tolerance < 0: raise ValueError("parity tolerances must be nonnegative")
patch_transformers(exllamav3_source=args.exllamav3_source)
import torch import torch.distributed as dist from transformers import Glm5NextForConditionalGeneration from transformers.distributed import DistributedConfig
if not dist.is_initialized(): dist.init_process_group("nccl") rank = dist.get_rank() world_size = dist.get_world_size() torch.cuda.set_device(rank) torch.cuda.reset_peak_memory_stats(rank)
panel, panel_metadata = _reference_panel(args.reference_panel) validate_reference_tolerances( panel_metadata, max_abs=args.max_abs_tolerance, mean_abs=args.mean_abs_tolerance, ) attention_backend = panel_metadata.get("attention_backend") if attention_backend not in {"eager", "sdpa"}: raise ValueError("reference panel lacks its measured attention backend")
model = Glm5NextForConditionalGeneration.from_pretrained( args.model, dtype=torch.bfloat16, distributed_config=DistributedConfig( tp_size=tp_size, tp_plan="auto", enable_expert_parallel=False ), attn_implementation=attention_backend, local_files_only=True, ) device = torch.device("cuda", rank) input_ids = panel["input_ids"].to(device) attention_mask = panel.get("attention_mask") if attention_mask is not None: attention_mask = attention_mask.to(device)
with torch.inference_mode(): output = model(input_ids=input_ids, attention_mask=attention_mask, use_cache=False) generated = model.generate( input_ids=input_ids, attention_mask=attention_mask, do_sample=False, max_new_tokens=args.max_new_tokens, ) observed_logits = output.logits prediction_indices = panel.get("prediction_indices") if prediction_indices is not None: if prediction_indices.dtype not in (torch.int64, torch.int32) or prediction_indices.ndim != 1: raise ValueError("reference prediction_indices must be one integer vector") observed_logits = observed_logits[:, :-1, :][0].index_select( 0, prediction_indices.to(device=device, dtype=torch.int64) ) max_abs, mean_abs, observed_cpu = _reference_error(panel["logits"], observed_logits) observed_sha256 = hashlib.sha256(memoryview(observed_cpu.numpy())).hexdigest() rank_output_sha256 = [None] * world_size dist.all_gather_object(rank_output_sha256, observed_sha256) rank_output_identical = len(set(rank_output_sha256)) == 1 observed_artifact = None if rank == 0 and args.observed_logits_output is not None: from safetensors.torch import save_file
args.observed_logits_output.parent.mkdir(parents=True, exist_ok=True) save_file( {"logits": observed_cpu.contiguous()}, args.observed_logits_output, metadata={ "capture_role": "packed_tp_runtime", "bits": str(bits), "tp_size": str(tp_size), "reference_panel_sha256": sha256_file(args.reference_panel), "raw_tensor_sha256": observed_sha256, }, ) observed_artifact = { "path": str(args.observed_logits_output.resolve()), "sha256": sha256_file(args.observed_logits_output), "raw_tensor_sha256": observed_sha256, "bytes": args.observed_logits_output.stat().st_size, } reference = { "path": str(args.reference_panel.resolve()), "sha256": sha256_file(args.reference_panel), "input_ids_shape": list(input_ids.shape), "shape": list(observed_logits.shape), "reference_schema": panel_metadata.get("schema"), "reference_checkpoint_identity_sha256": panel_metadata.get("checkpoint_identity_sha256"), "reference_runtime_reader_sha256": panel_metadata.get("runtime_reader_sha256"), "attention_backend": attention_backend, "max_abs_error": max_abs, "mean_abs_error": mean_abs, "max_abs_tolerance": args.max_abs_tolerance, "mean_abs_tolerance": args.mean_abs_tolerance, "rank_output_sha256": rank_output_sha256, "rank_output_identical": rank_output_identical, "observed_logits_artifact": observed_artifact, "passed": max_abs <= args.max_abs_tolerance and mean_abs <= args.mean_abs_tolerance, } census = packed_runtime_census(model) local = { "rank": rank, "world_size": world_size, "bits": bits, "device": torch.cuda.get_device_name(rank), "peak_cuda_bytes": int(torch.cuda.max_memory_allocated(rank)), "steady_cuda_bytes": int(torch.cuda.memory_allocated(rank)), "packed_matrix_count": census["packed_matrix_count"], "bf16_routed_weight_parameter_count": census["bf16_routed_weight_parameter_count"], "generated_token_count": int(generated.shape[-1] - input_ids.shape[-1]), } reports = [None] * world_size dist.all_gather_object(reports, local) qualified = False if rank == 0: receipt = build_runtime_receipt( rank_reports=reports, runtime_module=Path(__file__).parents[1] / "src/quant_pipeline/runtime/glm53_tp2_exl3.py", exllamav3_source=args.exllamav3_source, reference=reference, generation_verified=all(row["generated_token_count"] == args.max_new_tokens for row in reports), bits=bits, tp_size=tp_size, ) args.output.parent.mkdir(parents=True, exist_ok=True) write_json(args.output, receipt) print(json.dumps(receipt, indent=2, sort_keys=True)) qualified = bool(receipt["qualified"]) qualified_rows = [None] * world_size dist.all_gather_object(qualified_rows, qualified if rank == 0 else None) qualified = next(value for value in qualified_rows if value is not None) dist.barrier() return 0 if qualified else 2
if __name__ == "__main__": raise SystemExit(main())123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687#!/usr/bin/env python3"""Run text generation with the selective packed GLM-5.3 K4/TP2 or K6/TP4 runtime."""
from __future__ import annotations
import argparseimport jsonimport osfrom pathlib import Path
from quant_pipeline.runtime.glm53_tp2_exl3 import ( packed_runtime_census, patch_transformers, target_tp_size_for_bits,)
def main() -> int: parser = argparse.ArgumentParser(description=__doc__) parser.add_argument("--model", type=Path, required=True) parser.add_argument("--exllamav3-source", type=Path, required=True) parser.add_argument("--prompt", required=True) parser.add_argument("--max-new-tokens", type=int, default=128) parser.add_argument("--attention-backend", choices=("eager", "sdpa"), default="eager") args = parser.parse_args() if args.max_new_tokens < 1: raise ValueError("max-new-tokens must be positive") try: rank = int(os.environ["RANK"]) local_rank = int(os.environ["LOCAL_RANK"]) world_size = int(os.environ["WORLD_SIZE"]) except (KeyError, ValueError) as error: raise RuntimeError("launch with torchrun --nproc-per-node=2 for K4 or 4 for K6") from error
config = json.loads((args.model / "config.json").read_text(encoding="utf-8")) bits = int(config.get("quantization_config", {}).get("bits", 0)) expected_tp = target_tp_size_for_bits(bits) if world_size != expected_tp or rank not in range(world_size) or local_rank not in range(world_size): raise RuntimeError(f"packed K{bits} requires exactly TP{expected_tp}") patch_transformers(exllamav3_source=args.exllamav3_source)
import torch import torch.distributed as dist from transformers import AutoTokenizer, Glm5NextForConditionalGeneration from transformers.distributed import DistributedConfig
torch.cuda.set_device(local_rank) if not dist.is_initialized(): dist.init_process_group("nccl") tokenizer = AutoTokenizer.from_pretrained(args.model, local_files_only=True) model = Glm5NextForConditionalGeneration.from_pretrained( args.model, dtype=torch.bfloat16, distributed_config=DistributedConfig( tp_size=world_size, tp_plan="auto", enable_expert_parallel=False ), attn_implementation=args.attention_backend, local_files_only=True, ).eval() census = packed_runtime_census(model) encoded = tokenizer(args.prompt, return_tensors="pt") encoded = {name: value.to(torch.device("cuda", local_rank)) for name, value in encoded.items()} with torch.inference_mode(): generated = model.generate( **encoded, do_sample=False, max_new_tokens=args.max_new_tokens, ) if rank == 0: print( json.dumps( { "bits": bits, "tp_size": world_size, "packed_matrix_count": census["packed_matrix_count"], "text": tokenizer.decode(generated[0], skip_special_tokens=True), }, ensure_ascii=False, ) ) dist.barrier() dist.destroy_process_group() return 0
if __name__ == "__main__": raise SystemExit(main())1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556#!/usr/bin/env bashset -euo pipefail
IMAGE="${IMAGE:-verdictai/glm53-flash-exl3-k4:r19-sm120-tp2-ep2-dcp2-v84-dflash2@sha256:0f1cdcc8891f1cc3a444121eb61d366289a1cbba285f0892dcbb24bc94961692}"MODEL="${MODEL:?set MODEL to the local EXL3 checkpoint directory}"DFLASH_MODEL="${DFLASH_MODEL:?set DFLASH_MODEL to the local incoai/GLM-5.3-Flash-DFlash2 directory}"GPU_DEVICES="${GPU_DEVICES:-0,1}"PORT="${PORT:-8012}"NAME="${NAME:-glm53-flash-exl3-k4-dflash2}"CACHE_PATH="${GLM53_CACHE_PATH:-${PWD}/glm53-vllm-cache}"
mkdir -p "${CACHE_PATH}"
exec docker run --rm --name "${NAME}" \ --init --gpus "\"device=${GPU_DEVICES}\"" --ipc=host --shm-size 32g \ -p "${PORT}:${PORT}" \ -e VLLM_ENGINE_READY_TIMEOUT_S=3600 \ -e VLLM_B12X_GLM_NOPE_NVFP4=1 \ -e VLLM_NVFP4_MLA_DYNAMIC_SCALE=0 \ -e VLLM_NVFP4_MLA_SCALES_FILE=/opt/glm53/calibration/glm53_nvfp4_mla_outer_scales_mtp_power2_v2.json \ -e VLLM_EXL3_PREFILL_BLOCK_M=128 \ -e VLLM_USE_B12X_DCP_A2A=1 \ -e VLLM_ENABLE_PCIE_ALLREDUCE=1 \ -e VLLM_PCIE_ALLREDUCE_BACKEND=cpp \ -e OMP_NUM_THREADS=2 \ -e NCCL_IB_DISABLE=1 \ -e NCCL_P2P_LEVEL=4 \ -v "${MODEL}:/model:ro" \ -v "${DFLASH_MODEL}:/draft:ro" \ -v "${CACHE_PATH}:/cache" \ "${IMAGE}" serve /model \ --served-model-name GLM-5.3-Flash-EXL3-4bpw \ --host 0.0.0.0 --port "${PORT}" \ --tensor-parallel-size 2 \ --enable-expert-parallel \ --decode-context-parallel-size 2 \ --dcp-comm-backend a2a \ --dtype bfloat16 \ --load-format safetensors \ --moe-backend b12x \ --attention-backend B12X_MLA_SPARSE \ --kv-cache-dtype nvfp4_ds_mla \ --max-model-len 98304 \ --max-num-batched-tokens 2072 \ --max-num-seqs 4 \ --gpu-memory-utilization 0.986 \ --enable-chunked-prefill \ --no-enable-prefix-caching \ --generation-config /model \ --chat-template /opt/glm53/chat_template.multimodal.jinja \ --reasoning-parser glm45 \ --tool-call-parser glm47 \ --enable-auto-tool-choice \ --disable-custom-all-reduce \ --speculative-config '{"method":"dflash","model":"/draft","num_speculative_tokens":7,"draft_tensor_parallel_size":2,"draft_sample_method":"probabilistic","rejection_sample_method":"standard","attention_backend":"TRITON_ATTN","kv_cache_dtype":"auto"}' \ "$@"1234"""Auditable low-bit quantization research pipeline."""
__version__ = "0.1.0"
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358from __future__ import annotations
import argparseimport dataclassesimport jsonfrom pathlib import Path
import numpy as np
from .allocation.global_dp import Candidate, allocatefrom .calibration.windows import seal_corpusfrom .campaign.runner import CampaignRunner, audit_campaign, create_plan, load_adapter, status_campaignfrom .checkpoint.reference_pack import audit_packed_checkpoint, encode_reference_checkpointfrom .core.artifacts import require_execute, sha256_file, write_jsonfrom .evaluation.kld_window import seal_kld_windowfrom .models.hf_capture import capture_logitsfrom .models.inventory import load_inventoryfrom .scoring.attribution import split_layer_damagefrom .scoring.kld import summarize, token_kldfrom .spec import ExperimentSpec
def _print(value) -> None: print(json.dumps(value, indent=2, sort_keys=True))
def command_inspect(args) -> None: spec = ExperimentSpec.load(args.spec) _print({"spec": dataclasses.asdict(spec), "spec_sha256": spec.digest})
def command_inventory(args) -> None: units = load_inventory(args.config, args.family) result = {"family": args.family, "unit_count": len(units), "units": [dataclasses.asdict(unit) for unit in units]} if args.output: write_json(args.output, result) _print({"family": args.family, "unit_count": len(units), "output": args.output})
def command_seal(args) -> None: spec = ExperimentSpec.load(args.spec) try: from transformers import AutoTokenizer except Exception as error: raise RuntimeError("install quant-pipeline[hf] to seal with the model tokenizer") from error tokenizer = AutoTokenizer.from_pretrained(spec.corpus.tokenizer_id, revision=spec.model.revision) limits = { "fit": spec.corpus.fit_windows, "conditional_fit": spec.corpus.conditional_fit_windows, "selection": spec.corpus.selection_windows, "confirmation": spec.corpus.confirmation_windows, "final": spec.corpus.final_windows, } artifact = seal_corpus( spec.corpus.input_jsonl, args.output, lambda text: tokenizer.encode(text, add_special_tokens=False), spec.corpus.window_tokens, limits, spec.corpus.seed, {"id": spec.corpus.tokenizer_id, "revision": spec.model.revision, "class": type(tokenizer).__name__}, spec.corpus.minimum_domains, ) _print({"output": str(Path(args.output).resolve()), "seal_sha256": artifact["seal_sha256"], "windows": {key: len(value) for key, value in artifact["windows"].items()}})
def command_capture(args) -> None: result = capture_logits(args.model, args.sealed_corpus, args.role, args.output_dir, args.execute, args.dtype, args.device_map, args.model_revision) _print({"output_dir": str(Path(args.output_dir).resolve()), "windows": len(result["records"])})
def command_seal_kld_window(args) -> None: artifact = seal_kld_window( args.model, args.model_revision, args.dataset_revision, args.output_dir, args.execute, args.context_length, ) _print( { "output": str(Path(args.output_dir).resolve()), "seal_sha256": artifact["seal_sha256"], "token_sha256": artifact["token_sha256"], "tokens": len(artifact["token_ids"]), } )
def command_kld(args) -> None: try: from safetensors import safe_open except Exception as error: raise RuntimeError("safetensors is required for KLD evaluation") from error teacher = Path(args.teacher_dir) student = Path(args.student_dir) teacher_receipt_path = teacher / "capture-receipt.json" student_receipt_path = student / "capture-receipt.json" teacher_receipt = json.loads(teacher_receipt_path.read_text()) student_receipt = json.loads(student_receipt_path.read_text()) if teacher_receipt["sealed_corpus_sha256"] != student_receipt["sealed_corpus_sha256"]: raise ValueError("teacher and student captures bind different sealed corpora") if teacher_receipt["role"] != student_receipt["role"]: raise ValueError("teacher and student captures use different corpus roles") teacher_records = {row["file"]: row for row in teacher_receipt["records"]} student_records = {row["file"]: row for row in student_receipt["records"]} if teacher_records.keys() != student_records.keys(): raise ValueError("teacher/student capture file sets differ") actual_teacher = {path.name for path in teacher.glob("window-*.safetensors")} actual_student = {path.name for path in student.glob("window-*.safetensors")} if actual_teacher != teacher_records.keys() or actual_student != student_records.keys(): raise ValueError("capture directory contents differ from their receipts") per_window = [] per_token = [] for filename in sorted(teacher_records): teacher_path = teacher / filename student_path = student / teacher_path.name with safe_open(teacher_path, framework="np") as reference, safe_open(student_path, framework="np") as candidate: teacher_metadata = reference.metadata() or {} student_metadata = candidate.metadata() or {} expected_token_sha = teacher_records[filename]["token_sha256"] if student_records[filename]["token_sha256"] != expected_token_sha: raise ValueError(f"receipt token identity mismatch for {filename}") if teacher_metadata.get("token_sha256") != expected_token_sha or student_metadata.get("token_sha256") != expected_token_sha: raise ValueError(f"safetensors token identity mismatch for {filename}") teacher_logits = reference.get_tensor("logits") student_logits = candidate.get_tensor("logits") if teacher_logits.shape != student_logits.shape: raise ValueError(f"logit shape mismatch for {filename}") values = token_kld(teacher_logits, student_logits) if sha256_file(teacher_path) != teacher_records[filename]["sha256"]: raise ValueError(f"teacher capture hash mismatch for {filename}") if sha256_file(student_path) != student_records[filename]["sha256"]: raise ValueError(f"student capture hash mismatch for {filename}") per_token.append(values) per_window.append(float(np.mean(values))) if not per_window: raise ValueError("no matched window files") report = { "schema": "quant-pipeline.kld-report.v1", "teacher_receipt_sha256": sha256_file(teacher_receipt_path), "student_receipt_sha256": sha256_file(student_receipt_path), "sealed_corpus_sha256": teacher_receipt["sealed_corpus_sha256"], "window": summarize(np.asarray(per_window)), "token": summarize(np.concatenate(per_token)), "per_window": per_window, } write_json(args.output, report) _print(report)
def command_attribute_experts(args) -> None: data = np.load(args.projected_residuals) report = split_layer_damage(args.measured_damage, data[args.key], args.routing_state_shift) write_json(args.output, report) _print(report)
def command_allocate(args) -> None: if not getattr(args, "non_competitive_reference", False): raise ValueError( "raw Candidate JSON is not a validated ledger; pass " "--non-competitive-reference only for explicitly ineligible reference work" ) raw = json.loads(Path(args.candidates).read_text()) candidates = [Candidate(**row) for row in raw["candidates"]] result = allocate(candidates, args.byte_budget, args.quantum) document = { "schema": "quant-pipeline.noncompetitive-reference-allocation.v1", "competitive": False, "eligibility": "reference-only-not-admissible-for-production-or-quality-claims", "input_validation": "raw-candidate-json-without-ledger-validation", "byte_semantics": "codec-payload-including-codec-vectors-excluding-container", "byte_budget": args.byte_budget, "stored_bytes": result.stored_bytes, "predicted_damage": result.predicted_damage, "choices": { choice.unit_id: { **(choice.metadata or {}), "choice_id": choice.choice_id, "stored_bytes": choice.stored_bytes, "predicted_damage": choice.predicted_damage, } for choice in result.choices }, } write_json(args.output, document) _print({key: value for key, value in document.items() if key != "choices"} | {"unit_count": len(document["choices"])})
def command_encode(args) -> None: require_execute(args.execute, "encode and write a packed checkpoint") result = encode_reference_checkpoint(args.model_path, args.family, args.allocation, args.output_dir, args.group_size) _print({"output_dir": str(Path(args.output_dir).resolve()), "stored_bytes": result["stored_bytes"], "units": len(result["units"])})
def command_audit(args) -> None: result = audit_packed_checkpoint(args.packed_dir) _print(result) if not result["ok"]: raise SystemExit(2)
def command_campaign_plan(args) -> None: adapter = load_adapter(args.adapter) plan = create_plan(args.definition, args.campaign_dir, adapter) _print( { "campaign_dir": str(Path(args.campaign_dir).resolve()), "plan_sha256": plan["plan_sha256"], "stage_count": len(plan["stages"]), } )
def command_campaign_execute(args) -> None: require_execute(args.execute, f"{args.campaign_mode} the causal quantization campaign") adapter = load_adapter(args.adapter) result = CampaignRunner(args.campaign_dir, adapter).execute(resume=args.campaign_mode == "resume") _print(result)
def command_campaign_status(args) -> None: adapter = load_adapter(args.adapter) _print(status_campaign(args.campaign_dir, adapter))
def command_campaign_audit(args) -> None: adapter = load_adapter(args.adapter) result = audit_campaign(args.campaign_dir, adapter) printable = {key: value for key, value in result.items() if key != "completed"} _print(printable) if not result["integrity_ok"]: raise SystemExit(2)
def build_parser() -> argparse.ArgumentParser: parser = argparse.ArgumentParser(prog="quant-pipeline") sub = parser.add_subparsers(dest="command", required=True)
inspect = sub.add_parser("inspect", help="validate and display an experiment spec") inspect.add_argument("spec") inspect.set_defaults(func=command_inspect)
inventory = sub.add_parser("inventory", help="enumerate expert quantization units") inventory.add_argument("--config", required=True) inventory.add_argument("--family", required=True, choices=("qwen3_moe", "gemma4")) inventory.add_argument("--output") inventory.set_defaults(func=command_inventory)
seal = sub.add_parser("seal", help="seal document-disjoint token windows") seal.add_argument("spec") seal.add_argument("--output", required=True) seal.set_defaults(func=command_seal)
seal_kld = sub.add_parser("seal-kld-window", help="seal the pinned GLM-style WikiText KLD window for a target tokenizer") seal_kld.add_argument("--model", required=True) seal_kld.add_argument("--model-revision", required=True) seal_kld.add_argument("--dataset-revision", required=True) seal_kld.add_argument("--context-length", default=2048, type=int) seal_kld.add_argument("--output-dir", required=True) seal_kld.add_argument("--execute", action="store_true") seal_kld.set_defaults(func=command_seal_kld_window)
capture = sub.add_parser("capture", help="capture logits and router logits from a sealed role") capture.add_argument("--model", required=True) capture.add_argument("--sealed-corpus", required=True) capture.add_argument( "--role", required=True, choices=("fit", "conditional_fit", "selection", "confirmation", "final", "kld"), ) capture.add_argument("--output-dir", required=True) capture.add_argument("--dtype", default="bfloat16", choices=("bfloat16", "float16", "float32")) capture.add_argument("--device-map", default="auto") capture.add_argument("--model-revision", required=True) capture.add_argument("--execute", action="store_true") capture.set_defaults(func=command_capture)
kld = sub.add_parser("kld", help="measure next-token KLD for matched captures") kld.add_argument("--teacher-dir", required=True) kld.add_argument("--student-dir", required=True) kld.add_argument("--output", required=True) kld.set_defaults(func=command_kld)
experts = sub.add_parser("attribute-experts", help="close projected expert residuals to measured layer damage") experts.add_argument("--projected-residuals", required=True) experts.add_argument("--key", default="projected_residuals") experts.add_argument("--measured-damage", required=True, type=float) experts.add_argument("--routing-state-shift", default=0.0, type=float) experts.add_argument("--output", required=True) experts.set_defaults(func=command_attribute_experts)
allocation = sub.add_parser( "allocate", help="solve a noncompetitive reference allocation from unvalidated Candidate JSON", ) allocation.add_argument("--candidates", required=True) allocation.add_argument("--byte-budget", required=True, type=int) allocation.add_argument("--quantum", default=1, type=int) allocation.add_argument("--output", required=True) allocation.add_argument( "--non-competitive-reference", action="store_true", help="acknowledge that this raw-Candidate output is ineligible for production or quality claims", ) allocation.set_defaults(func=command_allocate)
encode = sub.add_parser("encode-reference", help="write an auditable reference packed checkpoint") encode.add_argument("--model-path", required=True) encode.add_argument("--family", required=True, choices=("qwen3_moe", "gemma4")) encode.add_argument("--allocation", required=True) encode.add_argument("--output-dir", required=True) encode.add_argument("--group-size", default=128, type=int) encode.add_argument("--execute", action="store_true") encode.set_defaults(func=command_encode)
audit = sub.add_parser("audit", help="verify packed checkpoint hashes and byte accounting") audit.add_argument("--packed-dir", required=True) audit.set_defaults(func=command_audit)
campaign = sub.add_parser("campaign", help="plan, execute, resume, inspect, or audit a causal campaign") campaign_sub = campaign.add_subparsers(dest="campaign_mode", required=True)
campaign_plan = campaign_sub.add_parser("plan", help="seal a campaign plan without running model work") campaign_plan.add_argument("--definition", required=True) campaign_plan.add_argument("--campaign-dir", required=True) campaign_plan.add_argument("--adapter", required=True, help="Python StageAdapter as module:attribute") campaign_plan.set_defaults(func=command_campaign_plan)
for mode in ("execute", "resume"): campaign_run = campaign_sub.add_parser(mode, help=f"{mode} a sealed causal campaign") campaign_run.add_argument("--campaign-dir", required=True) campaign_run.add_argument("--adapter", required=True, help="Python StageAdapter as module:attribute") campaign_run.add_argument("--execute", action="store_true") campaign_run.set_defaults(func=command_campaign_execute)
campaign_status = campaign_sub.add_parser("status", help="show read-only campaign progress and drift") campaign_status.add_argument("--campaign-dir", required=True) campaign_status.add_argument("--adapter", required=True, help="Python StageAdapter as module:attribute") campaign_status.set_defaults(func=command_campaign_status)
campaign_audit = campaign_sub.add_parser("audit", help="verify plan, journal, inputs, code, and artifacts") campaign_audit.add_argument("--campaign-dir", required=True) campaign_audit.add_argument("--adapter", required=True, help="Python StageAdapter as module:attribute") campaign_audit.set_defaults(func=command_campaign_audit)
return parser
def main(argv: list[str] | None = None) -> None: args = build_parser().parse_args(argv) args.func(args)
if __name__ == "__main__": main()12345678910111213141516171819"""Runtime adapters that are separate from offline checkpoint verification."""
from .glm53_tp2_exl3 import ( GLM53_TP2_RUNTIME_SCHEMA, PackedMCGLinear, PackedTP2Experts, build_tp2_runtime_receipt, patch_transformers, validate_glm53_text_config,)
__all__ = [ "GLM53_TP2_RUNTIME_SCHEMA", "PackedMCGLinear", "PackedTP2Experts", "build_tp2_runtime_receipt", "patch_transformers", "validate_glm53_text_config",]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991"""Exact-architecture Transformers TP2 adapter for selective GLM-5.3 EXL3/MCG.
This is deliberately a custom Transformers runtime, not a stock-vLLM or stock-ExLlamaV3 compatibility claim. Transformers owns the exact GLM-5.3 model andits native BF16 body. Sparse expert containers in main layers 3..44 arereplaced *before checkpoint loading* by packed EXL3 projections. The adapteruses DTensor only to stream the correct TP shard from safetensors:
* gate/up: trellis and ``svh`` are column-sharded;* down: trellis and ``suh`` are row-sharded;* the down result is all-reduced.
No routed ``.weight`` parameter exists after replacement. MTP layer 45 isstored by the checkpoint but intentionally not executed by this text runtime."""
from __future__ import annotations
import copyimport importlibimport jsonimport osfrom pathlib import Pathimport reimport subprocessimport sysimport typesfrom typing import Any, Mapping, Sequence
from ..campaign.glm53_direct_k4 import ( MAIN_ROUTED_LAYERS, MTP_LAYER, NUM_EXPERTS, PROJECTIONS, materialization_receipt_schema_for_bits,)from ..checkpoint.packed_payload import MCG_MARKER_SIGNED_INT32from ..core.artifacts import canonical_json, sha256_bytes, sha256_file
TRANSFORMERS_VERSION = "5.16.1"EXLLAMAV3_VERSION = "0.0.43"EXLLAMAV3_COMMIT = "c5d9c657966ffeeaa9353f0cc899f18629da4a13"GLM53_TP2_RUNTIME_SCHEMA = "quant-pipeline.glm53-custom-transformers-exl3-mcg-tp2-runtime.v1"GLM53_TP4_RUNTIME_SCHEMA = "quant-pipeline.glm53-custom-transformers-exl3-mcg-tp4-runtime.v1"BITS = 4TP_SIZE = 2HIDDEN_SIZE = 4096INTERMEDIATE_SIZE = 2048TOP_K = 8SWIGLU_LIMIT = 10.0ROUTED_SCALING_FACTOR = 2.5EXPECTED_MAIN_MATRIX_COUNT = len(MAIN_ROUTED_LAYERS) * NUM_EXPERTS * len(PROJECTIONS)_HASH = re.compile(r"[0-9a-f]{64}")_LAYER_PATH = re.compile(r"(?:^|\.)layers\.(\d+)\.mlp\.experts$")
_LINEAR_ATTN_TP_PLAN = { # The released base plan only covers MLA names plus o_proj. A KDA layer # must keep every head-local producer on the same shard as that rowwise # o_proj input; otherwise o_proj receives the full 8192 channels while its # local weight accepts 4096 channels at TP2. "layers.*.self_attn": "glm53_linear_attention", "layers.*.self_attn.q_proj": "colwise", "layers.*.self_attn.k_proj": "colwise", "layers.*.self_attn.v_proj": "colwise", "layers.*.self_attn.conv1d": "glm53_linear_attention_conv1d", "layers.*.self_attn.forget_gate": "glm53_linear_attention_forget_gate", "layers.*.self_attn.forget_gate.f_b_proj": "colwise", "layers.*.self_attn.b_proj": "colwise", "layers.*.self_attn.g_b_proj": "colwise",}
def target_tp_size_for_bits(bits: int) -> int: """Return the campaign's deliberately qualified deployment width."""
if bits == 4: return 2 if bits == 6: return 4 raise ValueError("custom GLM-5.3 runtime supports only uniform K4/TP2 or K6/TP4")
def runtime_schema_for_bits(bits: int) -> str: target_tp_size_for_bits(bits) return GLM53_TP2_RUNTIME_SCHEMA if bits == 4 else GLM53_TP4_RUNTIME_SCHEMA
def _torch(): return importlib.import_module("torch")
def _seal(value: Mapping[str, Any], field: str = "receipt_sha256") -> dict[str, Any]: result = copy.deepcopy(dict(value)) result[field] = sha256_bytes(canonical_json(result)) return result
def _read_json(path: Path) -> dict[str, Any]: if not path.is_file() or path.is_symlink(): raise FileNotFoundError(path) value = json.loads(path.read_text(encoding="utf-8")) if not isinstance(value, dict): raise ValueError(f"expected JSON object: {path}") return value
def _verify_json_seal(value: Mapping[str, Any], *, field: str = "receipt_sha256") -> str: digest = value.get(field) if not isinstance(digest, str) or _HASH.fullmatch(digest) is None: raise ValueError(f"{field} is not SHA-256") body = copy.deepcopy(dict(value)) del body[field] if sha256_bytes(canonical_json(body)) != digest: raise ValueError(f"{field} seal differs") return digest
def validate_glm53_text_config(config: Any) -> None: """Reject any geometry or routing behavior other than released GLM-5.3."""
expected = { "model_type": "glm5_next_text", "num_hidden_layers": 45, "hidden_size": HIDDEN_SIZE, "moe_intermediate_size": INTERMEDIATE_SIZE, "num_local_experts": NUM_EXPERTS, "num_experts_per_tok": TOP_K, "hidden_act": "silu", "swiglu_limit": SWIGLU_LIMIT, "routed_scaling_factor": ROUTED_SCALING_FACTOR, "n_group": 1, "topk_group": 1, "norm_topk_prob": True, "linear_num_heads": 64, "linear_head_dim": 128, "linear_conv_kernel_dim": 4, } for field, wanted in expected.items(): observed = getattr(config, field, None) if observed != wanted: raise ValueError(f"GLM-5.3 runtime requires {field}={wanted!r}; found {observed!r}") if getattr(config, "scoring_func", "sigmoid") != "sigmoid": raise ValueError("GLM-5.3 runtime requires sigmoid router scoring") if getattr(config, "topk_method", "noaux_tc") != "noaux_tc": raise ValueError("GLM-5.3 runtime requires noaux_tc routing") layer_types = getattr(config, "mlp_layer_types", None) if not isinstance(layer_types, (list, tuple)) or len(layer_types) != 45: raise ValueError("GLM-5.3 runtime requires the sealed 45-entry MLP layer plan") sparse = tuple(i for i, value in enumerate(layer_types) if value == "sparse") if sparse != tuple(MAIN_ROUTED_LAYERS): raise ValueError(f"GLM-5.3 sparse-layer plan differs: {sparse}")
def augment_glm53_linear_attention_tp_plan( plan: Mapping[str, str] | None,) -> dict[str, str]: """Add the missing coherent head-wise KDA tensor-parallel plan."""
result = dict(plan or {}) result.update(_LINEAR_ATTN_TP_PLAN) return result
def augment_glm53_tp_plan(plan: Mapping[str, str] | None) -> dict[str, str]: """Return the complete GLM-5.3 native-body plus packed-expert TP plan."""
result = augment_glm53_linear_attention_tp_plan(plan) for key in ( "layers.*.mlp.experts.gate_up_proj", "layers.*.mlp.experts.down_proj", "layers.*.mlp.experts", ): result.pop(key, None) result.update( { "layers.*.mlp.experts.*.gate_proj": "glm53_exl3_colwise", "layers.*.mlp.experts.*.up_proj": "glm53_exl3_colwise", "layers.*.mlp.experts.*.down_proj": "glm53_exl3_rowwise", } ) return result
def _divide_exact(value: int, divisor: int, *, name: str) -> int: if divisor <= 0 or value % divisor: raise ValueError(f"{name}={value} is not divisible by TP size {divisor}") return value // divisor
def _localize_linear_attention_attributes(module: Any, tp_size: int) -> None: """Make KDA reshape metadata describe this rank's head shard."""
if type(module).__name__ != "Glm5NextTextLinearAttention": return if getattr(module, "_glm53_linear_attention_tp_size", None) is not None: if module._glm53_linear_attention_tp_size != tp_size: raise RuntimeError("linear-attention module was localized for another TP size") return module.num_heads = _divide_exact(int(module.num_heads), tp_size, name="linear num_heads") module.qkv_dim = _divide_exact(int(module.qkv_dim), tp_size, name="linear qkv_dim") module.conv_dim = _divide_exact(int(module.conv_dim), tp_size, name="linear conv_dim") module._glm53_linear_attention_tp_size = tp_size
def _localize_forget_gate_attributes(module: Any, tp_size: int) -> None: if type(module).__name__ != "Glm5NextTextForgetGate": raise TypeError(f"forget-gate TP style received {type(module).__name__}") if getattr(module, "_glm53_linear_attention_tp_size", None) is not None: if module._glm53_linear_attention_tp_size != tp_size: raise RuntimeError("forget gate was localized for another TP size") return module.num_heads = _divide_exact(int(module.num_heads), tp_size, name="forget-gate num_heads") module.qkv_dim = _divide_exact(int(module.qkv_dim), tp_size, name="forget-gate qkv_dim") module._glm53_linear_attention_tp_size = tp_size
def _localize_depthwise_conv1d_attributes(module: Any, tp_size: int) -> None: torch = _torch() if not isinstance(module, torch.nn.Conv1d): raise TypeError(f"linear-attention conv TP style received {type(module).__name__}") if not (module.in_channels == module.out_channels == module.groups): raise ValueError("GLM-5.3 linear-attention conv1d must remain depthwise") if getattr(module, "_glm53_linear_attention_tp_size", None) is not None: if module._glm53_linear_attention_tp_size != tp_size: raise RuntimeError("linear-attention conv1d was localized for another TP size") return channels = _divide_exact(int(module.in_channels), tp_size, name="linear conv1d channels") module.in_channels = channels module.out_channels = channels module.groups = channels module._glm53_linear_attention_tp_size = tp_size
def _shard_concatenated_qkv_channels(value, *, tp_size: int, tp_rank: int): """Select one head shard from each member of a concatenated Q/K/V tensor.
GLM stores the depthwise-convolution channels as ``[Q_all, K_all, V_all]`` while the TP forward constructs ``[Q_local, K_local, V_local]``. A plain contiguous shard of the stored tensor therefore has the wrong channel order. Keep the three equal regions distinct while selecting a rank. """
if tp_size <= 0 or tp_rank not in range(tp_size): raise ValueError(f"invalid TP coordinate: size={tp_size}, rank={tp_rank}") if value.ndim < 1 or int(value.shape[0]) % (3 * tp_size): raise ValueError( f"concatenated QKV channels={int(value.shape[0]) if value.ndim else 0} " f"are not divisible by 3 * TP size {tp_size}" ) q, k, v = value.chunk(3, dim=0) return _torch().cat( [part.chunk(tp_size, dim=0)[tp_rank] for part in (q, k, v)], dim=0 ).contiguous()
def _finalize_linear_attention_local_parameters(model: Any) -> dict[str, int]: """Detach head-sharded direct-use parameters from DTensor after loading.
GLM's KDA forward reads ``conv1d.weight`` directly instead of calling the Conv1d module. Consequently the normal TP forward context never gets a chance to expose the local shard, and an inference-mode view on the DTensor fails before the convolution. The checkpoint loader has already selected the correct shard at this point, so retain that shard as an ordinary local Parameter for the runtime-only model. """
torch = _torch() from torch.distributed.tensor import DTensor
counts = {"conv1d": 0, "forget_gate": 0, "localized_parameters": 0}
def local_parameter( value, *, concatenated_qkv: bool = False, tp_size: int | None = None ): if not isinstance(value, DTensor): return value source = value.to_local() if concatenated_qkv: if tp_size is None: raise RuntimeError("QKV convolution localization lacks its TP size") tp_rank = torch.distributed.get_rank(group=value.device_mesh.get_group()) source = _shard_concatenated_qkv_channels( source, tp_size=tp_size, tp_rank=tp_rank ) # A tensor materialized under inference mode has no version counter; # allocate a fresh ordinary tensor so downstream view ops are legal. with torch.inference_mode(False), torch.no_grad(): local = torch.empty(source.shape, dtype=source.dtype, device=source.device) local.copy_(source) counts["localized_parameters"] += 1 return torch.nn.Parameter(local, requires_grad=value.requires_grad)
for _, module in model.named_modules(): if getattr(module, "_glm53_linear_attention_tp_size", None) is None: continue if isinstance(module, torch.nn.Conv1d): counts["conv1d"] += 1 for name in ("weight", "bias"): value = module._parameters.get(name) if value is not None: module._parameters[name] = local_parameter( value, concatenated_qkv=True, tp_size=int(module._glm53_linear_attention_tp_size), ) if int(module.weight.shape[0]) != int(module.out_channels): raise RuntimeError( "localized QKV convolution weight channels differ: " f"weight={int(module.weight.shape[0])}, out_channels={int(module.out_channels)}" ) elif type(module).__name__ == "Glm5NextTextForgetGate": counts["forget_gate"] += 1 for name in ("dt_bias", "A_log"): value = module._parameters.get(name) if value is None: raise RuntimeError(f"linear-attention forget gate lacks {name}") module._parameters[name] = local_parameter(value) if ( counts["conv1d"] <= 0 or counts["conv1d"] != counts["forget_gate"] or counts["localized_parameters"] != counts["conv1d"] * 3 ): raise RuntimeError(f"linear-attention local-parameter census differs: {counts}") return counts
def verify_exllamav3_source(source: str | Path) -> Path: """Bind the runtime to the reviewed ExLlamaV3 commit without mutating it."""
root = Path(source).expanduser().resolve() if not (root / "exllamav3/modules/quant/exl3.py").is_file(): raise ValueError(f"not an ExLlamaV3 source checkout: {root}") head = subprocess.run( ["git", "rev-parse", "HEAD"], cwd=root, check=True, text=True, capture_output=True ).stdout.strip() if head != EXLLAMAV3_COMMIT: raise ValueError(f"ExLlamaV3 commit differs: expected {EXLLAMAV3_COMMIT}, found {head}") for command in (["git", "diff", "--quiet"], ["git", "diff", "--cached", "--quiet"]): if subprocess.run(command, cwd=root, check=False).returncode != 0: raise ValueError("reviewed ExLlamaV3 checkout has tracked modifications") return root
def _install_minimal_exllamav3_package(root: Path) -> None: """Expose only the reviewed EXL3 kernel path, not optional serving extras.
ExLlamaV3's top-level package eagerly imports FlashAttention and Formatron, neither of which is used by this Transformers adapter. Namespace parents let Python load ``modules.quant.exl3`` and its CUDA extension directly from the verified checkout without claiming those optional serving dependencies. """
package_root = root / "exllamav3" loaded = sys.modules.get("exllamav3") if loaded is not None: loaded_root = Path(str(getattr(loaded, "__file__", ""))).resolve().parent if loaded_root != package_root: raise RuntimeError(f"another ExLlamaV3 source is already imported: {loaded_root}") return unexpected = [name for name in sys.modules if name.startswith("exllamav3.")] if unexpected: raise RuntimeError(f"partial ExLlamaV3 import already exists: {unexpected[:3]}") package_paths = { "exllamav3": package_root, "exllamav3.modules": package_root / "modules", "exllamav3.modules.quant": package_root / "modules/quant", "exllamav3.model": package_root / "model", } for name, path in package_paths.items(): module = types.ModuleType(name) module.__file__ = str(path / "__init__.py") module.__package__ = name module.__path__ = [str(path)] sys.modules[name] = module config = types.ModuleType("exllamav3.model.config") config.__file__ = str(package_root / "model/config.py") config.__package__ = "exllamav3.model" config.Config = type("Config", (), {}) sys.modules[config.__name__] = config
def load_tensor_storage(model_root: str | Path) -> dict[str, Mapping[str, Any]]: root = Path(model_root).resolve() config = _read_json(root / "config.json") qcfg = config.get("quantization_config") storage_file = _read_json(root / "quantization_config.json") materialization = _read_json(root / "materialization-receipt.json") storage_abi = _read_json(root / "exl3-mcg-storage-abi.json") _verify_json_seal(materialization) storage_abi_sha = _verify_json_seal(storage_abi) bits = qcfg.get("bits") if isinstance(qcfg, Mapping) else None if bits not in (4, 6): raise ValueError("checkpoint does not declare uniform routed K4 or K6") if ( not isinstance(qcfg, Mapping) or qcfg.get("quant_method") != "exl3" or qcfg.get("version") != EXLLAMAV3_VERSION or qcfg.get("bits") != bits or qcfg.get("codebook") != "mcg" or qcfg.get("scope") != "glm53_routed_experts_only" or qcfg.get("non_routed_dtype_policy") != "official_source_native" or storage_file.get("quant_method") != "exl3" or storage_file.get("bits") != bits or storage_file.get("codebook") != "mcg" or materialization.get("schema") != materialization_receipt_schema_for_bits(bits) or materialization.get("bits") != bits or materialization.get("codec_family") != "exl3-mcg" or materialization.get("nonrouted_native_exact") is not True or materialization.get("main_and_mtp_complete") is not True or materialization.get("complete") is not True or materialization.get("storage_abi_receipt_sha256") != storage_abi_sha or materialization.get("config_sha256") != sha256_file(root / "config.json") or materialization.get("quantization_config_sha256") != sha256_file(root / "quantization_config.json") or storage_abi.get("schema") != "quant-pipeline.glm53-exl3-mcg-storage-abi.v1" or storage_abi.get("bits") != bits or storage_abi.get("storage_checkpoint_verified") is not True or storage_abi.get("serving_reader_qualified") is not False or storage_abi.get("qualified_tp_sizes") != [] ): raise ValueError("checkpoint does not declare the selective GLM-5.3 EXL3/MCG contract") storage = storage_file.get("tensor_storage") if not isinstance(storage, dict): raise ValueError("quantization_config.json has no tensor_storage map") expected_modules = { f"model.language_model.layers.{layer}.mlp.experts.{expert}.{projection}" for layer in MAIN_ROUTED_LAYERS for expert in range(NUM_EXPERTS) for projection in PROJECTIONS } expected_mtp_modules = { f"model.language_model.layers.{MTP_LAYER}.mlp.experts.{expert}.{projection}" for expert in range(NUM_EXPERTS) for projection in PROJECTIONS } observed_main = {name for name in storage if f".layers.{MTP_LAYER}." not in name} if observed_main != expected_modules or set(storage) != expected_modules | expected_mtp_modules: missing = len(expected_modules - observed_main) extra = len(observed_main - expected_modules) raise ValueError( f"main/MTP packed tensor-storage census differs: main_missing={missing}, main_extra={extra}" ) for module in expected_modules | expected_mtp_modules: row = storage[module] if not isinstance(row, Mapping): raise ValueError(f"invalid packed group: {module}") tensors = row.get("stored_tensors") if ( row.get("quant_format") != "exl3" or row.get("bits_per_weight") != bits or row.get("mcg_multiplier") != int("CBAC1FED", 16) or not isinstance(tensors, Mapping) or set(tensors) != {f"{module}.{suffix}" for suffix in ("trellis", "suh", "svh", "mcg")} ): raise ValueError(f"incomplete packed group: {module}") return storage
def _dtype(name: str): torch = _torch() table = { "torch.int16": torch.int16, "torch.int32": torch.int32, "torch.float16": torch.float16, "int16": torch.int16, "int32": torch.int32, "float16": torch.float16, } try: return table[name] except KeyError as error: raise ValueError(f"unsupported EXL3 storage dtype: {name}") from error
class PackedMCGLinear(_torch().nn.Module): """One packed projection; no dense routed weight is ever registered."""
def __init__(self, in_features: int, out_features: int, metadata: Mapping[str, Any], role: str): super().__init__() torch = _torch() self.in_features = int(in_features) self.out_features = int(out_features) self.role = role self._hf_quantized_needs_local_tp = True stored = metadata.get("stored_tensors") if not isinstance(stored, Mapping) or len(stored) != 4: raise ValueError("packed linear metadata is incomplete") suffix_rows = {name.rsplit(".", 1)[-1]: row for name, row in stored.items()} if set(suffix_rows) != {"trellis", "suh", "svh", "mcg"}: raise ValueError("packed linear suffix census differs") for suffix, row in suffix_rows.items(): shape = row.get("shape") if not isinstance(shape, list) or any(isinstance(v, bool) or not isinstance(v, int) for v in shape): raise ValueError(f"invalid {suffix} shape metadata") tensor = torch.empty(tuple(shape), dtype=_dtype(str(row.get("dtype"))), device="meta") self.register_parameter(suffix, torch.nn.Parameter(tensor, requires_grad=False)) trellis_words = int(suffix_rows["trellis"]["shape"][-1]) if trellis_words not in (64, 96): raise ValueError(f"packed trellis rate differs: {trellis_words} words") self.bits = trellis_words // 16 self._inner = None self._inner_signature: tuple[int, ...] | None = None
@property def weight(self): # Some Transformers paths inspect .weight.dtype. A meta scalar does not # hold routed values and is deliberately not a registered parameter. return _torch().empty((), dtype=_torch().float16, device="meta")
def local_tensors(self) -> dict[str, Any]: try: from torch.distributed.tensor import DTensor except ImportError: DTensor = () result = {} for name in ("trellis", "suh", "svh", "mcg"): value = self._parameters[name] result[name] = value.to_local() if isinstance(value, DTensor) else value return result
def validate_loaded(self, *, tp_size: int) -> None: torch = _torch() tensors = self.local_tensors() if any(value.is_meta for value in tensors.values()): raise RuntimeError("packed projection was not loaded from checkpoint") if ( tensors["trellis"].dtype != torch.int16 or tensors["suh"].dtype != torch.float16 or tensors["svh"].dtype != torch.float16 or tensors["mcg"].dtype != torch.int32 or int(tensors["mcg"].reshape(-1)[0].item()) != MCG_MARKER_SIGNED_INT32 ): raise RuntimeError("packed projection dtype or MCG marker differs") local_in = self.in_features // tp_size if self.role == "row" else self.in_features local_out = self.out_features // tp_size if self.role == "col" else self.out_features expected = { "trellis": (local_in // 16, local_out // 16, self.bits * 16), "suh": (local_in,), "svh": (local_out,), } for name, shape in expected.items(): if tuple(tensors[name].shape) != shape: raise RuntimeError( f"{self.role} TP{tp_size} K{self.bits} {name} shape differs: " f"{tuple(tensors[name].shape)} != {shape}" )
def _ensure_inner(self): tensors = self.local_tensors() signature = tuple(tensors[name].data_ptr() for name in ("trellis", "suh", "svh", "mcg")) if self._inner is None or signature != self._inner_signature: cls = importlib.import_module("exllamav3.modules.quant.exl3").LinearEXL3 self._inner = cls( config=None, in_features=int(tensors["suh"].numel()), out_features=int(tensors["svh"].numel()), trellis=tensors["trellis"], suh=tensors["suh"], svh=tensors["svh"], mcg=tensors["mcg"], out_dtype=_torch().float16, transformers_fix=True, ) self._inner_signature = signature return self._inner
def forward(self, hidden_states): output = self._ensure_inner().forward( hidden_states.half(), {}, out_dtype=_torch().float32 ) # Column-parallel gate/up values re-enter the BF16 model immediately. # Keep row-parallel down-projection partials in FP32 until the expert # container has accumulated them and performed its single TP reduction. return output if self.role == "row" else output.to(_torch().bfloat16)
class _PackedExpert(_torch().nn.Module): def __init__(self, metadata: Mapping[str, Mapping[str, Any]]): super().__init__() self.gate_proj = PackedMCGLinear(HIDDEN_SIZE, INTERMEDIATE_SIZE, metadata["gate_proj"], "col") self.up_proj = PackedMCGLinear(HIDDEN_SIZE, INTERMEDIATE_SIZE, metadata["up_proj"], "col") self.down_proj = PackedMCGLinear(INTERMEDIATE_SIZE, HIDDEN_SIZE, metadata["down_proj"], "row")
class PackedTP2Experts(_torch().nn.ModuleList): """Exact eager GLM-5.3 expert dispatch over TP-sharded EXL3 projections.
The historical class name is retained for checkpoint/runtime compatibility; instances are rate-aware and support the sealed K4/TP2 and K6/TP4 plans. """
def __init__(self, storage: Mapping[str, Mapping[str, Any]], module_path: str): experts = [] for expert in range(NUM_EXPERTS): experts.append( _PackedExpert( { projection: storage[f"{module_path}.{expert}.{projection}"] for projection in PROJECTIONS } ) ) super().__init__(experts) self.num_experts = NUM_EXPERTS self.swiglu_limit = SWIGLU_LIMIT rates = { getattr(expert, projection).bits for expert in self for projection in PROJECTIONS } if len(rates) != 1: raise ValueError(f"mixed routed rates are forbidden: {sorted(rates)}") self.bits = rates.pop() self.tp_size = target_tp_size_for_bits(self.bits)
def forward(self, hidden_states, top_k_index, top_k_weights): torch = _torch() import torch.nn.functional as F
if top_k_index.shape[-1] != TOP_K: raise RuntimeError("GLM-5.3 packed runtime received non-top8 routing") final = torch.zeros( hidden_states.shape, dtype=torch.float32, device=hidden_states.device ) with torch.no_grad(): mask = F.one_hot(top_k_index, num_classes=self.num_experts).permute(2, 1, 0) hit = torch.greater(mask.sum(dim=(-1, -2)), 0).nonzero().flatten().tolist() for expert_idx in hit: top_k_pos, token_idx = torch.where(mask[expert_idx]) expert = self[expert_idx] gate = expert.gate_proj(hidden_states[token_idx]).clamp(max=self.swiglu_limit) up = expert.up_proj(hidden_states[token_idx]).clamp( min=-self.swiglu_limit, max=self.swiglu_limit ) current = expert.down_proj(F.silu(gate) * up) current = current * top_k_weights[token_idx, top_k_pos, None] final.index_add_(0, token_idx, current.to(final.dtype)) if torch.distributed.is_initialized() and torch.distributed.get_world_size() > 1: torch.distributed.all_reduce(final) return final.to(hidden_states.dtype)
def validate_loaded(self) -> int: count = 0 for expert in self: for projection in PROJECTIONS: getattr(expert, projection).validate_loaded(tp_size=self.tp_size) count += 1 return count
def _install_tp_styles() -> None: torch = _torch() from torch.distributed.tensor import Replicate, Shard, distribute_tensor from transformers.distributed.tensor_parallel import ALL_PARALLEL_STYLES, TensorParallelLayer
class _PackedColwise(TensorParallelLayer): def should_use_local_tensors(self, module): return True
def shard_param(self, module, param, mesh): value = module._parameters.get(param) if value is None: return placement = Shard(1) if param == "trellis" else Shard(0) if param == "svh" else Replicate() module._parameters[param] = torch.nn.Parameter( distribute_tensor(value, mesh, [placement], src_data_rank=None), requires_grad=False )
class _PackedRowwise(TensorParallelLayer): def should_use_local_tensors(self, module): return True
def shard_param(self, module, param, mesh): value = module._parameters.get(param) if value is None: return placement = Shard(0) if param in {"trellis", "suh"} else Replicate() module._parameters[param] = torch.nn.Parameter( distribute_tensor(value, mesh, [placement], src_data_rank=None), requires_grad=False )
def transform_output_post_forward(self, module, output, mesh): # PackedTP2Experts combines all selected expert partials in FP32 # and issues one reduction per layer. Reducing every expert here # is both slower and introduces repeated BF16 rounding. return output
class _LinearAttentionModule(TensorParallelLayer): def install_forward(self, module, mesh): _localize_linear_attention_attributes(module, int(mesh.size())) return module
class _LinearAttentionConv1d(TensorParallelLayer): def should_use_local_tensors(self, module): return True
def validate_param(self, module, param, mesh, parameter_name=None): value = module._parameters.get(param) if value is not None and param not in {"weight", "bias"}: raise ValueError(f"unexpected conv1d parameter: {parameter_name or param}") if value is not None: _divide_exact( int(value.shape[0]), 3 * int(mesh.size()), name="conv1d QKV parameter channels" )
def shard_param(self, module, param, mesh): value = module._parameters.get(param) if value is None: return module._parameters[param] = torch.nn.Parameter( # Load the small tensor replicated, then select the matching # head slice independently from Q, K, and V after checkpoint # loading. A plain Shard(0) would split across QKV regions. distribute_tensor(value, mesh, [Replicate()], src_data_rank=None), requires_grad=value.requires_grad, )
def install_forward(self, module, mesh): _localize_depthwise_conv1d_attributes(module, int(mesh.size())) return super().install_forward(module, mesh)
class _LinearAttentionForgetGate(TensorParallelLayer): def should_use_local_tensors(self, module): return True
def validate_param(self, module, param, mesh, parameter_name=None): value = module._parameters.get(param) if value is not None and param not in {"dt_bias", "A_log"}: raise ValueError(f"unexpected forget-gate parameter: {parameter_name or param}") if value is not None: _divide_exact(int(value.shape[0]), int(mesh.size()), name=f"forget-gate {param}")
def shard_param(self, module, param, mesh): value = module._parameters.get(param) if value is None: return module._parameters[param] = torch.nn.Parameter( distribute_tensor(value, mesh, [Shard(0)], src_data_rank=None), requires_grad=value.requires_grad, )
def install_forward(self, module, mesh): _localize_forget_gate_attributes(module, int(mesh.size())) return super().install_forward(module, mesh)
ALL_PARALLEL_STYLES["glm53_exl3_colwise"] = _PackedColwise() ALL_PARALLEL_STYLES["glm53_exl3_rowwise"] = _PackedRowwise() ALL_PARALLEL_STYLES["glm53_linear_attention"] = _LinearAttentionModule() ALL_PARALLEL_STYLES["glm53_linear_attention_conv1d"] = _LinearAttentionConv1d() ALL_PARALLEL_STYLES["glm53_linear_attention_forget_gate"] = _LinearAttentionForgetGate()
def _replace_experts(model, storage: Mapping[str, Mapping[str, Any]]) -> list[str]: replaced: list[str] = [] for name, module in tuple(model.named_modules()): if type(module).__name__ != "Glm5NextTextExperts": continue match = _LAYER_PATH.search(name) if match is None or int(match.group(1)) not in MAIN_ROUTED_LAYERS: raise ValueError(f"unexpected GLM-5.3 experts module: {name}") parent_name, child = name.rsplit(".", 1) parent = model.get_submodule(parent_name) setattr(parent, child, PackedTP2Experts(storage, name)) replaced.append(name) expected = [f"model.language_model.layers.{layer}.mlp.experts" for layer in MAIN_ROUTED_LAYERS] if replaced != expected: raise ValueError(f"GLM-5.3 expert replacement census differs: {replaced}") return replaced
def packed_runtime_census(model) -> dict[str, Any]: containers = [(name, module) for name, module in model.named_modules() if isinstance(module, PackedTP2Experts)] expected_paths = [f"model.language_model.layers.{layer}.mlp.experts" for layer in MAIN_ROUTED_LAYERS] if [name for name, _ in containers] != expected_paths: raise RuntimeError("loaded packed expert-container census differs") matrices = sum(module.validate_loaded() for _, module in containers) rates = {module.bits for _, module in containers} if len(rates) != 1: raise RuntimeError(f"mixed packed expert rates are forbidden: {sorted(rates)}") bits = rates.pop() forbidden = [ name for name, _ in model.named_parameters() if ".mlp.experts." in name and name.endswith(".weight") ] if forbidden: raise RuntimeError(f"routed BF16 fallback parameters exist: {forbidden[:3]}") if matrices != EXPECTED_MAIN_MATRIX_COUNT: raise RuntimeError("packed routed matrix census differs") return { "main_routed_layers": list(MAIN_ROUTED_LAYERS), "expert_count_per_layer": NUM_EXPERTS, "packed_matrix_count": matrices, "bits": bits, "tp_size": target_tp_size_for_bits(bits), "bf16_routed_weight_parameter_count": 0, "swiglu_limit": SWIGLU_LIMIT, "router": { "scoring": "sigmoid", "selection": "noaux_tc", "top_k": TOP_K, "norm_topk_prob": True, "routed_scaling_factor": ROUTED_SCALING_FACTOR, }, "mtp_layer_45": "stored_but_not_executed", }
def patch_transformers(*, exllamav3_source: str | Path) -> None: """Register the custom quantizer and DTensor styles before from_pretrained."""
root = verify_exllamav3_source(exllamav3_source) if str(root) not in sys.path: sys.path.insert(0, str(root)) _install_minimal_exllamav3_package(root) transformers = importlib.import_module("transformers") if transformers.__version__ != TRANSFORMERS_VERSION: raise RuntimeError( f"custom GLM-5.3 runtime requires Transformers {TRANSFORMERS_VERSION}; found {transformers.__version__}" ) _install_tp_styles() from transformers.quantizers.auto import AUTO_QUANTIZATION_CONFIG_MAPPING, AUTO_QUANTIZER_MAPPING from transformers.quantizers.base import HfQuantizer from transformers.utils.quantization_config import QuantizationConfigMixin
class Glm53Exl3Config(QuantizationConfigMixin): quant_method = "exl3"
def __init__(self, **kwargs): for key, value in kwargs.items(): setattr(self, key, value)
def to_dict(self): return dict(self.__dict__, quant_method="exl3")
class Glm53Exl3Quantizer(HfQuantizer): requires_calibration = False
def validate_environment(self, **kwargs): torch = _torch() if not torch.cuda.is_available(): raise RuntimeError("GLM-5.3 packed runtime requires CUDA") bits = int(getattr(self.quantization_config, "bits", 0)) tp_size = target_tp_size_for_bits(bits) if int(os.environ.get("WORLD_SIZE", "0")) != tp_size: raise RuntimeError( f"GLM-5.3 packed K{bits} runtime requires torchrun WORLD_SIZE={tp_size}" )
def update_dtype(self, dtype): return _torch().bfloat16
def update_tp_plan(self, config): text = config.get_text_config() validate_glm53_text_config(text) text.base_model_tp_plan = augment_glm53_tp_plan(text.base_model_tp_plan) return config
def update_ep_plan(self, config): distributed = getattr(config, "distributed_config", None) if getattr(distributed, "enable_expert_parallel", False): raise ValueError("custom packed runtime supports tensor parallelism only; expert parallelism must be disabled") return config
def _process_model_before_weight_loading(self, model, **kwargs): validate_glm53_text_config(model.config.get_text_config()) storage = load_tensor_storage(model.name_or_path) self.replaced_paths = _replace_experts(model, storage) return model
def _process_model_after_weight_loading(self, model, **kwargs): model._glm53_linear_attention_tp_census = ( _finalize_linear_attention_local_parameters(model) ) model._glm53_packed_tp2_census = packed_runtime_census(model) return model
@property def is_trainable(self): return False
def is_serializable(self, safe_serialization=None): return False
existing_config = AUTO_QUANTIZATION_CONFIG_MAPPING.get("exl3") existing_quantizer = AUTO_QUANTIZER_MAPPING.get("exl3") if existing_config not in (None, Glm53Exl3Config) or existing_quantizer not in (None, Glm53Exl3Quantizer): raise RuntimeError("another EXL3 Transformers integration is already registered") AUTO_QUANTIZATION_CONFIG_MAPPING["exl3"] = Glm53Exl3Config AUTO_QUANTIZER_MAPPING["exl3"] = Glm53Exl3Quantizer
def build_runtime_receipt( *, rank_reports: Sequence[Mapping[str, Any]], runtime_module: str | Path, exllamav3_source: str | Path, reference: Mapping[str, Any] | None, generation_verified: bool, bits: int, tp_size: int | None = None,) -> dict[str, Any]: """Seal qualification evidence; incomplete evidence produces qualified=false."""
expected_tp = target_tp_size_for_bits(bits) tp_size = expected_tp if tp_size is None else tp_size if tp_size != expected_tp: raise ValueError(f"K{bits} qualification requires TP{expected_tp}, not TP{tp_size}") reasons: list[str] = [] if len(rank_reports) != tp_size or [row.get("rank") for row in rank_reports] != list(range(tp_size)): reasons.append(f"rank census is not exactly TP{tp_size} ranks 0..{tp_size - 1}") for row in rank_reports: if ( row.get("world_size") != tp_size or row.get("bits") != bits or row.get("packed_matrix_count") != EXPECTED_MAIN_MATRIX_COUNT or row.get("bf16_routed_weight_parameter_count") != 0 or not isinstance(row.get("peak_cuda_bytes"), int) or row.get("peak_cuda_bytes", 0) <= 0 or not isinstance(row.get("steady_cuda_bytes"), int) or row.get("steady_cuda_bytes", 0) <= 0 or not isinstance(row.get("device"), str) or row.get("generated_token_count", 0) < 2 ): reasons.append(f"rank {row.get('rank')} load/census/memory evidence is incomplete") if not generation_verified: reasons.append("prefill plus multi-step generation was not verified") reference_complete = ( isinstance(reference, Mapping) and reference.get("passed") is True and _HASH.fullmatch(str(reference.get("sha256", ""))) is not None and isinstance(reference.get("input_ids_shape"), list) and isinstance(reference.get("shape"), list) and isinstance(reference.get("max_abs_error"), (int, float)) and isinstance(reference.get("mean_abs_error"), (int, float)) and isinstance(reference.get("max_abs_tolerance"), (int, float)) and isinstance(reference.get("mean_abs_tolerance"), (int, float)) and reference["max_abs_error"] <= reference["max_abs_tolerance"] and reference["mean_abs_error"] <= reference["mean_abs_tolerance"] ) if not reference_complete: reasons.append(f"full-logit parity against decoded-K{bits} reference did not pass") qualified = not reasons verify_exllamav3_source(exllamav3_source) body = { "schema": runtime_schema_for_bits(bits), "runtime_kind": "custom_transformers_glm53_with_exllamav3_ext", "stock_vllm_compatible": False, "stock_exllamav3_model_compatible": False, "transformers_version": TRANSFORMERS_VERSION, "exllamav3_version": EXLLAMAV3_VERSION, "exllamav3_commit": EXLLAMAV3_COMMIT, "runtime_module_sha256": sha256_file(Path(runtime_module)), "bits": bits, "tp_size": tp_size, "expert_parallel": False, "native_nonrouted_policy": "official_bf16_tensor_parallel", "routed_policy": f"packed_exl3_mcg_k{bits}_no_dense_fallback", "packed_projection_numeric_policy": "fp16_input_fp32_row_accumulation_single_reduce_then_bf16", "main_packed_matrix_count": EXPECTED_MAIN_MATRIX_COUNT, "mtp_layer_45": "stored_but_not_executed", "rank_reports": [dict(row) for row in rank_reports], "reference_logit_parity": dict(reference) if isinstance(reference, Mapping) else None, "generation_verified": bool(generation_verified), "qualified": qualified, "failure_reasons": reasons, } return _seal(body)
def build_tp2_runtime_receipt( *, rank_reports: Sequence[Mapping[str, Any]], runtime_module: str | Path, exllamav3_source: str | Path, reference: Mapping[str, Any] | None, generation_verified: bool,) -> dict[str, Any]: """Backward-compatible K4/TP2 receipt entrypoint."""
normalized = [dict(row, bits=row.get("bits", 4)) for row in rank_reports] return build_runtime_receipt( rank_reports=normalized, runtime_module=runtime_module, exllamav3_source=exllamav3_source, reference=reference, generation_verified=generation_verified, bits=4, tp_size=2, )123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100from __future__ import annotations
import dataclassesimport reimport tomllibfrom pathlib import Pathfrom typing import Any
from .core.artifacts import canonical_json, sha256_bytes
@dataclasses.dataclass(frozen=True)class ModelSpec: model_id: str revision: str family: str local_path: str = "" trust_remote_code: bool = False
@dataclasses.dataclass(frozen=True)class CorpusSpec: input_jsonl: str tokenizer_id: str window_tokens: int = 2048 seed: int = 20260823 fit_windows: int = 32 conditional_fit_windows: int = 16 selection_windows: int = 16 confirmation_windows: int = 16 final_windows: int = 25 minimum_domains: int = 4
@dataclasses.dataclass(frozen=True)class CodecSpec: bits: tuple[int, ...] = (2, 3, 4, 5) group_size: int = 128 symmetric: bool = True
@dataclasses.dataclass(frozen=True)class ObjectiveSpec: path_nodes: int = 5 fisher_rank: int = 32 bootstrap_samples: int = 2000 reanchor_every_layers: int = 4
@dataclasses.dataclass(frozen=True)class ExperimentSpec: name: str output_dir: str model: ModelSpec corpus: CorpusSpec codec: CodecSpec = CodecSpec() objective: ObjectiveSpec = ObjectiveSpec()
@property def digest(self) -> str: return sha256_bytes(canonical_json(self))
@classmethod def load(cls, path: str | Path) -> "ExperimentSpec": with Path(path).open("rb") as handle: raw: dict[str, Any] = tomllib.load(handle) allowed = {"name", "output_dir", "model", "corpus", "codec", "objective"} unknown = set(raw) - allowed if unknown: raise ValueError(f"unknown top-level keys: {sorted(unknown)}") codec = raw.get("codec", {}) if "bits" in codec: codec["bits"] = tuple(int(x) for x in codec["bits"]) spec = cls( name=raw["name"], output_dir=raw["output_dir"], model=ModelSpec(**raw["model"]), corpus=CorpusSpec(**raw["corpus"]), codec=CodecSpec(**codec), objective=ObjectiveSpec(**raw.get("objective", {})), ) spec.validate() return spec
def validate(self) -> None: if not self.name or not re.fullmatch(r"[0-9a-f]{40}", self.model.revision): raise ValueError("name and a 40-hex immutable model commit are required") roles = ( self.corpus.fit_windows, self.corpus.conditional_fit_windows, self.corpus.selection_windows, self.corpus.confirmation_windows, self.corpus.final_windows, ) if min(roles) < 1 or self.corpus.window_tokens < 16 or self.corpus.minimum_domains < 1: raise ValueError("all corpus roles and window_tokens must be positive") if sorted(set(self.codec.bits)) != list(self.codec.bits): raise ValueError("codec bits must be unique and sorted") if min(self.codec.bits) < 2 or max(self.codec.bits) > 8: raise ValueError("the reference codec supports 2..8 bits")1234567891011121314151617#!/usr/bin/env bashset -euo pipefail
IMAGE="${1:-verdictai/glm53-flash-exl3-k4:r19-sm120-tp2-ep2-dcp2-v84-dflash2@sha256:0f1cdcc8891f1cc3a444121eb61d366289a1cbba285f0892dcbb24bc94961692}"
case "${IMAGE}" in *@sha256:*) ;; *) echo "Use an immutable IMAGE@sha256:DIGEST reference." >&2 exit 2 ;;esac
docker pull "${IMAGE}" >/dev/nulldocker image inspect "${IMAGE}" --format '{{json .Config.Labels}}' | python3 -m json.tooldocker run --rm --entrypoint /bin/sh "${IMAGE}" \ -c 'exec cat /opt/glm53/PROVENANCE.json' | python3 -m json.tool1234567891011121314151617181920212223242526272829303132333435363738394041#!/usr/bin/env python3"""Seal the mean and dispersion of exactly five cold GLM-5.3 K4 KLD runs."""
from __future__ import annotations
import argparseimport jsonfrom pathlib import Path
from quant_pipeline.core.artifacts import sha256_file, write_jsonfrom quant_pipeline.publication.glm53_k4_postmtp import build_five_run_kld_receipt
def main() -> int: parser = argparse.ArgumentParser(description=__doc__) parser.add_argument("--kld-report", type=Path, action="append", required=True) parser.add_argument("--output", type=Path, required=True) parser.add_argument("--execute", action="store_true") args = parser.parse_args() if len(args.kld_report) != 5: raise ValueError("pass exactly five --kld-report paths") reports = [] for path in args.kld_report: resolved = path.resolve() value = json.loads(resolved.read_text(encoding="utf-8")) if not isinstance(value, dict): raise ValueError(f"KLD report is not an object: {resolved}") reports.append((value, sha256_file(resolved))) receipt = build_five_run_kld_receipt(reports) print(json.dumps({"dry_run": not args.execute, **receipt}, sort_keys=True), flush=True) if not args.execute: return 0 output = args.output.resolve() if output.exists(): raise FileExistsError(output) write_json(output, receipt) return 0
if __name__ == "__main__": raise SystemExit(main())123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146#!/usr/bin/env python3"""Seal fail-closed K4/TP2 qualification from actual-runtime teacher KLD."""
from __future__ import annotations
import argparseimport copyimport jsonfrom pathlib import Path
from quant_pipeline.core.artifacts import canonical_json, sha256_bytes, write_jsonfrom quant_pipeline.publication.glm53_k4_postmtp import REFERENCE_PANEL_SCHEMA, read_sealedfrom quant_pipeline.runtime.glm53_tp2_exl3 import GLM53_TP2_RUNTIME_SCHEMA
SCHEMA = "quant-pipeline.glm53-custom-transformers-exl3-mcg-tp2-runtime-kld-qualified.v1"KLD_SCHEMA = "quant-pipeline.glm53-custom-tp2-runtime-window-kld.v1"
def _read_sealed(path: Path, schema: str, field: str) -> dict: value = json.loads(path.read_text(encoding="utf-8")) body = copy.deepcopy(value) digest = body.pop(field, None) if value.get("schema") != schema or digest != sha256_bytes(canonical_json(body)): raise ValueError(f"sealed {schema} receipt differs: {path}") return value
def main() -> int: parser = argparse.ArgumentParser(description=__doc__) parser.add_argument("--runtime-receipt", type=Path, required=True) parser.add_argument("--runtime-kld-report", type=Path, required=True) parser.add_argument("--reference-receipt", type=Path, required=True) parser.add_argument("--materialization-receipt", type=Path, required=True) parser.add_argument("--output", type=Path, required=True) args = parser.parse_args()
runtime = _read_sealed(args.runtime_receipt.resolve(), GLM53_TP2_RUNTIME_SCHEMA, "receipt_sha256") kld = _read_sealed(args.runtime_kld_report.resolve(), KLD_SCHEMA, "report_sha256") reference = read_sealed( args.reference_receipt.resolve(), REFERENCE_PANEL_SCHEMA, "receipt_sha256" ) materialization = _read_sealed( args.materialization_receipt.resolve(), "quant-pipeline.glm53-k4-materialization-receipt.v1", "receipt_sha256", ) parity = runtime.get("reference_logit_parity", {}) ranks = runtime.get("rank_reports", []) reasons = [] if ( runtime.get("bits") != 4 or runtime.get("tp_size") != 2 or runtime.get("generation_verified") is not True or runtime.get("main_packed_matrix_count") != 36288 or len(ranks) != 2 or [row.get("rank") for row in ranks] != [0, 1] or any(row.get("packed_matrix_count") != 36288 for row in ranks) or any(row.get("bf16_routed_weight_parameter_count") != 0 for row in ranks) or any(row.get("generated_token_count", 0) < 2 for row in ranks) ): reasons.append("packed TP2 load, generation, or rank census is incomplete") if ( parity.get("rank_output_identical") is not True or len(set(parity.get("rank_output_sha256", []))) != 1 or not isinstance(parity.get("observed_logits_artifact"), dict) ): reasons.append("full runtime logits are not retained and identical across TP ranks") if ( parity.get("sha256") != reference.get("sha256") or parity.get("input_ids_shape") != reference.get("input_shape") or parity.get("shape") != reference.get("logit_shape") ): reasons.append("runtime evaluation is not bound to the sealed decoded reference window") if ( kld.get("runtime_receipt_sha256") != runtime["receipt_sha256"] or kld.get("runtime_logits_sha256") != parity.get("observed_logits_artifact", {}).get("sha256") or kld.get("runtime_rank_output_identical") is not True or kld.get("window_id") != reference.get("window_id") or kld.get("token_ids_sha256") != reference.get("token_ids_sha256") or kld.get("prediction_positions") != reference.get("prediction_positions") or kld.get("max_mean_kld") != 0.06 or kld.get("mean_kld_gate_passed") is not True or float(kld.get("summary", {}).get("mean", float("inf"))) >= 0.06 ): reasons.append("actual-runtime BF16-teacher KLD gate did not pass below 0.06") if ( materialization.get("bits") != 4 or materialization.get("complete") is not True or materialization.get("main_and_mtp_complete") is not True or materialization.get("nonrouted_native_exact") is not True ): reasons.append("materialized K4 main/MTP checkpoint is incomplete")
receipt = { "schema": SCHEMA, "bits": 4, "tp_size": 2, "qualification_basis": "actual_runtime_teacher_kld_plus_cross_rank_identity_and_generation", "materialization_receipt_sha256": materialization["receipt_sha256"], "raw_runtime_receipt_sha256": runtime["receipt_sha256"], "runtime_module_sha256": runtime["runtime_module_sha256"], "exllamav3_commit": runtime["exllamav3_commit"], "generation_verified": runtime.get("generation_verified"), "rank_reports": ranks, "rank_output_identical": parity.get("rank_output_identical"), "rank_output_sha256": parity.get("rank_output_sha256"), "runtime_logits_artifact": parity.get("observed_logits_artifact"), "decoded_reference": { "receipt_sha256": reference["receipt_sha256"], "sha256": reference["sha256"], "raw_parity_passed": parity.get("passed"), "max_abs_error": parity.get("max_abs_error"), "mean_abs_error": parity.get("mean_abs_error"), "max_abs_tolerance": parity.get("max_abs_tolerance"), "mean_abs_tolerance": parity.get("mean_abs_tolerance"), }, "teacher_runtime_kld": { "report_sha256": kld["report_sha256"], "teacher_receipt_sha256": kld["teacher_receipt_sha256"], "window_id": kld["window_id"], "prediction_positions": kld["prediction_positions"], "mean": kld["summary"]["mean"], "p95": kld["summary"]["p95"], "max": kld["summary"]["max"], "top1_agreement": kld["top1_agreement"], "threshold": 0.06, "passed": kld["mean_kld_gate_passed"], }, "raw_decoded_parity_is_not_the_qualification_basis": True, "stock_vllm_compatible": False, "stock_exllamav3_model_compatible": False, "qualified": not reasons, "failure_reasons": reasons, "example_only": False, } receipt["receipt_sha256"] = sha256_bytes(canonical_json(receipt)) args.output.parent.mkdir(parents=True, exist_ok=True) write_json(args.output, receipt) print(json.dumps(receipt, indent=2, sort_keys=True)) return 0 if receipt["qualified"] else 2
if __name__ == "__main__": raise SystemExit(main())123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399#!/usr/bin/env python3"""Capture final-panel logits from independently decoded packed K4/K6 experts.
Launch with ``torchrun --nproc-per-node 4``. The official BF16 checkpoint isloaded with Transformers EP4, then only each rank's local main-model routedexpert parameters are replaced from hash-verified EXL3/MCG K4 payloads. TheMTP K4 surface must be complete and separately receipt-qualified even thoughthe standard causal-logit pass does not execute MTP. This is an offline KLDreader, not the final TP2 packed serving kernel."""
from __future__ import annotations
import argparseimport jsonimport osfrom pathlib import Pathimport reimport timefrom typing import Any
import numpy as np
from quant_pipeline.core.artifacts import ( canonical_json, prepare_empty_destination, sha256_bytes, sha256_file, write_json,)from quant_pipeline.campaign.glm53_direct_k4 import ( contract_bits, contract_schema_for_bits,)from quant_pipeline.evaluation.glm53_logits import load_panel_windowsfrom quant_pipeline.evaluation.glm53_packed_k4_reader import ( MAIN_ROUTED_LAYERS, install_local_main_experts, load_complete_surface, reader_identity, stored_encoder_closure,)
RELEASED_ARCHITECTURE = "Glm5NextForConditionalGeneration"RELEASED_MODEL_TYPE = "glm5_next"RELEASED_TEXT_MODEL_TYPE = "glm5_next_text"REVISION = re.compile(r"[0-9a-f]{40}")
def _sealed_json(path: Path, schema: str, field: str) -> dict[str, Any]: value = json.loads(path.read_text(encoding="utf-8")) body = dict(value) seal = body.pop(field, None) if ( not isinstance(value, dict) or value.get("example_only") is True or value.get("schema") != schema or seal != sha256_bytes(canonical_json(body)) ): raise ValueError(f"invalid sealed {schema}: {path}") return value
def _inventory(path: Path, revision: str) -> dict[str, Any]: value = _sealed_json(path, "quant-pipeline.glm-release-inventory.v1", "inventory_sha256") if ( value.get("model_revision") != revision or value.get("seal_mode") != "full-shard-sha256" or not value.get("shard_sha256") or any(re.fullmatch(r"[0-9a-f]{64}", str(item)) is None for item in value["shard_sha256"].values()) ): raise ValueError("student capture requires the exact full-hash BF16 inventory") return value
def _distributed_environment() -> tuple[int, int, int]: try: rank = int(os.environ["RANK"]) local_rank = int(os.environ["LOCAL_RANK"]) world_size = int(os.environ["WORLD_SIZE"]) except (KeyError, ValueError) as error: raise RuntimeError("launch with torchrun --nproc-per-node 4") from error if world_size != 4 or rank not in range(4) or local_rank not in range(4): raise RuntimeError("packed student capture is pinned to exactly four EP ranks") return rank, local_rank, world_size
def _tensor_device_type(value: Any) -> str: local = value.to_local() if hasattr(value, "to_local") else value return str(local.device.type)
def _is_mutated_routed_parameter(name: str) -> bool: return any( f"language_model.layers.{layer}.mlp.experts.{suffix}" in name for layer in MAIN_ROUTED_LAYERS for suffix in ("gate_up_proj", "down_proj") )
def main() -> int: parser = argparse.ArgumentParser() parser.add_argument("--model", type=Path, required=True) parser.add_argument("--model-revision", required=True) parser.add_argument("--inventory", type=Path, required=True) parser.add_argument("--direct-contract", type=Path, required=True) parser.add_argument("--packed-root", type=Path, required=True) parser.add_argument("--mtp-adapter-receipt", type=Path, required=True) parser.add_argument("--token-panel-receipt", type=Path, required=True) parser.add_argument("--roles", default="final") parser.add_argument("--attention-backend", default="eager") parser.add_argument("--output", type=Path, required=True) parser.add_argument("--execute", action="store_true") args = parser.parse_args() if REVISION.fullmatch(args.model_revision) is None: raise ValueError("model revision must be an immutable 40-hex commit")
model_root = args.model.resolve() config_path = model_root / "config.json" index_path = model_root / "model.safetensors.index.json" if not config_path.is_file() or not index_path.is_file(): raise FileNotFoundError("official model requires config.json and model.safetensors.index.json") config = json.loads(config_path.read_text(encoding="utf-8")) text_config = config.get("text_config", {}) if ( config.get("architectures") != [RELEASED_ARCHITECTURE] or config.get("model_type") != RELEASED_MODEL_TYPE or text_config.get("model_type") != RELEASED_TEXT_MODEL_TYPE or text_config.get("num_hidden_layers") != 45 or text_config.get("num_nextn_predict_layers") != 1 or text_config.get("n_routed_experts") != 288 or text_config.get("hidden_size") != 4096 or text_config.get("moe_intermediate_size") != 2048 ): raise ValueError("official GLM5Next main/MTP geometry differs") inventory = _inventory(args.inventory.resolve(), args.model_revision) if inventory.get("config_sha256") != sha256_file(config_path) or inventory.get("index_sha256") != sha256_file(index_path): raise ValueError("BF16 inventory does not bind the local config/index") raw_contract = json.loads(args.direct_contract.resolve().read_text(encoding="utf-8")) bits = int(raw_contract.get("rate", {}).get("bits", -1)) contract = _sealed_json( args.direct_contract.resolve(), contract_schema_for_bits(bits), "contract_sha256" ) if contract_bits(contract) != bits: raise ValueError("packed student contract rate differs") if contract.get("inventory_sha256") != inventory["inventory_sha256"]: raise ValueError("direct MCG contract targets another BF16 inventory") mtp_adapter = _sealed_json( args.mtp_adapter_receipt.resolve(), f"quant-pipeline.glm53-uniform-k{bits}-mtp-adapter-receipt.v1", "receipt_sha256", ) surface = load_complete_surface( root=args.packed_root.resolve(), contract=contract, mtp_adapter_receipt=mtp_adapter ) roles = tuple(role.strip() for role in args.roles.split(",") if role.strip()) panel_receipt, _, windows = load_panel_windows( args.token_panel_receipt.resolve(), roles=roles, vocab_size=int(text_config["vocab_size"]) ) module_path = Path(__file__).parents[1] / "src/quant_pipeline/evaluation/glm53_packed_k4_reader.py" identity = reader_identity(module_path, Path(__file__), bits=bits) checkpoint_identity = sha256_bytes( canonical_json( { "schema": f"quant-pipeline.glm53-packed-k{bits}-student-identity.v1", "inventory_sha256": inventory["inventory_sha256"], "contract_sha256": surface.contract_sha256, "main_layer_receipt_sha256": list(surface.main_layer_receipt_sha256), "mtp_adapter_receipt_sha256": surface.mtp_adapter_receipt_sha256, "mtp_pack_receipt_sha256": surface.mtp_pack_receipt_sha256, "packed_reader_abi_sha256": surface.packed_reader_abi_sha256, "bits": bits, "codebook": "MCG", "nonrouted_policy": "official_source_native", } ) ) plan = { "schema": f"quant-pipeline.glm53-packed-k{bits}-student-logit-capture-plan.v1", "model": str(model_root), "model_revision": args.model_revision, "inventory_sha256": inventory["inventory_sha256"], "contract_sha256": surface.contract_sha256, "checkpoint_identity_sha256": checkpoint_identity, "runtime_reader_sha256": identity["runtime_reader_sha256"], "packed_reader_abi_sha256": surface.packed_reader_abi_sha256, "token_panel_receipt_sha256": panel_receipt["receipt_sha256"], "roles": list(roles), "windows": len(windows), "prediction_positions": sum(window.prediction_positions for window in windows), "parallelism": "expert_parallel_world_size_4_contiguous_72_experts_per_rank", "reader_mode": identity["mode"], "final_tp2_serving_kernel": False, "main_routed_policy": f"decode_hash_verified_packed_k{bits}_mcg_to_bf16_local_ep_parameters", "mtp_policy": "complete_and_receipt_required_but_not_executed_by_standard_logits", "nonrouted_policy": "untouched_official_checkpoint_parameters", "stored_logits_dtype": "float32", "output": str(args.output.resolve()), "dry_run": not args.execute, } print(json.dumps(plan, sort_keys=True), flush=True) if not args.execute: return 0
rank, local_rank, world_size = _distributed_environment() import torch import torch.distributed as dist from safetensors.torch import save_file from transformers import AutoModelForImageTextToText, __version__ as transformers_version from transformers.distributed.configuration_utils import DistributedConfig
if tuple(int(part) for part in transformers_version.split(".")[:2]) < (5, 16): raise RuntimeError("packed GLM5Next EP reader requires transformers>=5.16") torch.cuda.set_device(local_rank) if not dist.is_initialized(): dist.init_process_group("nccl", device_id=torch.device("cuda", local_rank)) if dist.get_world_size() != 4: raise RuntimeError("initialized process group is not world size four") torch.backends.cuda.matmul.allow_tf32 = False torch.backends.cudnn.allow_tf32 = False torch.set_float32_matmul_precision("highest") torch.cuda.reset_peak_memory_stats() output_root = args.output.resolve() if rank == 0: prepare_empty_destination(output_root) (output_root / "logits").mkdir() write_json(output_root / "plan.json", plan | {"dry_run": False}) write_json(output_root / "reader-identity.json", identity) dist.barrier()
load_started = time.monotonic() distributed = DistributedConfig(tp_size=world_size, fsdp_size=1, pp_size=1, enable_expert_parallel=True) model = AutoModelForImageTextToText.from_pretrained( model_root, dtype=torch.bfloat16, distributed_config=distributed, local_files_only=True, low_cpu_mem_usage=True, attn_implementation=args.attention_backend, ).eval() for parameter in model.parameters(): parameter.requires_grad_(False) non_cuda = sorted( name for name, value in list(model.named_parameters()) + list(model.named_buffers()) if _tensor_device_type(value) != "cuda" ) if non_cuda: raise RuntimeError(f"student is not fully GPU resident: {non_cuda[:8]}") versions_before = {name: int(value._version) for name, value in model.named_parameters()} closure = None if rank == 0: closure = stored_encoder_closure( surface, layer=MAIN_ROUTED_LAYERS[0], expert=0, projection="gate_proj", device=torch.device("cuda", local_rank) ) install_started = time.monotonic() install = install_local_main_experts( model, surface, rank=rank, device=torch.device("cuda", local_rank) ) torch.cuda.synchronize(local_rank) versions_after = {name: int(value._version) for name, value in model.named_parameters()} unexpected = sorted( name for name, version in versions_before.items() if versions_after[name] != version and not _is_mutated_routed_parameter(name) ) if unexpected: raise RuntimeError(f"packed reader mutated non-routed official parameters: {unexpected[:8]}") install.update( { "gpu": torch.cuda.get_device_name(local_rank), "load_seconds": install_started - load_started, "install_seconds": time.monotonic() - install_started, "allocated_bytes": int(torch.cuda.memory_allocated(local_rank)), "reserved_bytes": int(torch.cuda.memory_reserved(local_rank)), "parameter_version_nonrouted_unchanged": True, } ) rank_installs: list[dict[str, Any] | None] = [None] * world_size dist.all_gather_object(rank_installs, install) closures: list[dict[str, Any] | None] = [None] * world_size dist.all_gather_object(closures, closure) if rank == 0: if sum(int(row["installed_matrix_count"]) for row in rank_installs if row) != len(MAIN_ROUTED_LAYERS) * 288 * 3: raise RuntimeError("EP4 rank installs do not close the complete main routed matrix census") backend = { "schema": f"quant-pipeline.glm53-packed-k{bits}-offline-reader-backend.v1", "architecture": RELEASED_ARCHITECTURE, "model_revision": args.model_revision, "inventory_sha256": inventory["inventory_sha256"], "checkpoint_identity_sha256": checkpoint_identity, "contract_sha256": surface.contract_sha256, "runtime_reader_sha256": identity["runtime_reader_sha256"], "packed_reader_abi_sha256": surface.packed_reader_abi_sha256, "transformers_version": transformers_version, "torch_version": torch.__version__, "cuda_runtime_version": torch.version.cuda, "attention_backend": args.attention_backend, "parallelism": plan["parallelism"], "reader_mode": identity["mode"], "final_tp2_serving_kernel": False, "main_routed_runtime_dtype": f"bfloat16 decoded from packed K{bits} payload", "nonrouted_runtime_dtype": "official source dtype, untouched", "mtp_standard_logits_executed": False, "mtp_pack_receipt_sha256": surface.mtp_pack_receipt_sha256, "stored_encoder_closure": next(item for item in closures if item is not None), "rank_installs": rank_installs, "allow_tf32": False, "active_tp_plan": getattr(model, "_tp_plan", None), "active_ep_plan": getattr(model, "_ep_plan", None), } backend["backend_identity_sha256"] = sha256_bytes(canonical_json(backend)) write_json(output_root / "backend.json", backend) else: backend = None backend_rows: list[dict[str, Any] | None] = [None] * world_size dist.all_gather_object(backend_rows, backend) backend = next(item for item in backend_rows if item is not None)
logit_records = [] capture_started = time.monotonic() input_device = torch.device("cuda", local_rank) for index, window in enumerate(windows): tokens = np.load(window.token_path, allow_pickle=False) mask = np.load(window.attention_mask_path, allow_pickle=False) causal_mask = np.asarray(mask[:-1], dtype=np.bool_) & np.asarray(mask[1:], dtype=np.bool_) ids = torch.from_numpy(np.asarray(tokens, dtype=np.int64)).unsqueeze(0).to(input_device) attention_mask = torch.from_numpy(np.asarray(mask, dtype=np.int64)).unsqueeze(0).to(input_device) with torch.inference_mode(): output_logits = model( input_ids=ids, attention_mask=attention_mask, use_cache=False, return_dict=True, ).logits[:, :-1, :] selected = output_logits[0, torch.from_numpy(causal_mask).to(input_device)] if selected.shape != (window.prediction_positions, int(text_config["vocab_size"])): raise RuntimeError("student logits differ from sealed panel geometry") if rank == 0: stored = selected.float().cpu().contiguous() logit_path = (output_root / "logits" / f"window-{index:04d}.safetensors").resolve() save_file( {"logits": stored}, logit_path, metadata={ "capture_role": "packed_student", "student_label": f"uniform-k{bits}", "window_id": window.window_id, "token_ids_sha256": window.token_sha256, "attention_mask_sha256": window.attention_mask_sha256, "checkpoint_identity_sha256": checkpoint_identity, "runtime_reader_sha256": identity["runtime_reader_sha256"], "backend_identity_sha256": backend["backend_identity_sha256"], }, ) logit_records.append( { "window_id": window.window_id, "document_id": window.document_id, "domain": window.domain, "role": window.role, "token_ids_sha256": window.token_sha256, "attention_mask_sha256": window.attention_mask_sha256, "prediction_positions": window.prediction_positions, "path": str(logit_path), "bytes": logit_path.stat().st_size, "sha256": sha256_file(logit_path), } ) del ids, attention_mask, output_logits, selected dist.barrier() if rank == 0: receipt = { "schema": "quant-pipeline.glm53-logit-capture.v1", "capture_role": "packed_student", "model_revision": args.model_revision, "checkpoint_identity_sha256": checkpoint_identity, "runtime_reader_sha256": identity["runtime_reader_sha256"], "token_panel_receipt_sha256": panel_receipt["receipt_sha256"], "backend_identity_sha256": backend["backend_identity_sha256"], "weight_dtype": f"EXL3/TR3 uniform-k{bits} offline-decoded to BF16", "logits_dtype": "float32", "kld_direction": "teacher_to_student", "prediction_positions": sum(window.prediction_positions for window in windows), "vocab_size": int(text_config["vocab_size"]), "logit_files": logit_records, "elapsed_seconds": time.monotonic() - capture_started, } receipt["receipt_sha256"] = sha256_bytes(canonical_json(receipt)) write_json(output_root / "capture-receipt.json", receipt) print(json.dumps({"ok": True, **receipt}, sort_keys=True), flush=True) dist.barrier() dist.destroy_process_group() return 0
if __name__ == "__main__": raise SystemExit(main())123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179#!/usr/bin/env python3"""Measure exact tokenwise KL(BF16 teacher || packed student) from sealed captures."""
from __future__ import annotations
import argparseimport ioimport jsonfrom pathlib import Pathimport time
import numpy as np
from quant_pipeline.core.artifacts import atomic_write, canonical_json, prepare_empty_destination, sha256_bytes, sha256_file, write_jsonfrom quant_pipeline.evaluation.glm53_logits import load_capture_receipt, summarize
FINAL_WINDOW_IDS = tuple(f"final-{index:04d}" for index in range(25))FINAL_PREDICTION_POSITIONS = 25 * 2047
def _record_map(receipt): return {row["window_id"]: row for row in receipt["logit_files"]}
def _load_slice(path: Path, start: int, stop: int): from safetensors import safe_open
with safe_open(path, framework="pt", device="cpu") as handle: return handle.get_slice("logits")[start:stop].clone()
def _gpu_token_kld(teacher, student, device): import torch
if teacher.shape != student.shape or teacher.ndim != 2: raise ValueError("teacher/student logit geometry mismatch") teacher64 = teacher.to(device=device, dtype=torch.float64, non_blocking=True) student64 = student.to(device=device, dtype=torch.float64, non_blocking=True) if not torch.isfinite(teacher64).all() or not torch.isfinite(student64).all(): raise ValueError("teacher/student logits must be finite") teacher_logp = torch.log_softmax(teacher64, dim=-1) student_logp = torch.log_softmax(student64, dim=-1) values = torch.sum(torch.exp(teacher_logp) * (teacher_logp - student_logp), dim=-1) matches = int(torch.count_nonzero(torch.argmax(teacher64, dim=-1) == torch.argmax(student64, dim=-1))) return values.cpu().numpy(), matches
def main() -> int: parser = argparse.ArgumentParser() parser.add_argument("--teacher-receipt", type=Path, required=True) parser.add_argument("--student-receipt", type=Path, required=True) parser.add_argument("--student-label", choices=("uniform-k4", "uniform-k6"), required=True) parser.add_argument("--chunk-positions", type=int, default=16) parser.add_argument("--device", default="cuda:0") parser.add_argument("--output", type=Path, required=True) parser.add_argument("--execute", action="store_true") args = parser.parse_args() if args.chunk_positions < 1: raise ValueError("chunk positions must be positive") teacher = load_capture_receipt(args.teacher_receipt.resolve(), expected_role="bf16_teacher") student = load_capture_receipt(args.student_receipt.resolve(), expected_role="packed_student") if teacher["token_panel_receipt_sha256"] != student["token_panel_receipt_sha256"]: raise ValueError("teacher and student captures use different sealed token panels") if teacher["vocab_size"] != student["vocab_size"]: raise ValueError("teacher and student vocabularies differ") if not student.get("runtime_reader_sha256"): raise ValueError("packed-student capture is not bound to an exact runtime reader") teacher_rows = _record_map(teacher) student_rows = _record_map(student) if set(teacher_rows) != set(student_rows): raise ValueError("teacher and student window sets differ") if ( tuple(sorted(teacher_rows)) != FINAL_WINDOW_IDS or any(row.get("role") != "final" for row in teacher_rows.values()) or any(row.get("role") != "final" for row in student_rows.values()) or sum(int(row.get("prediction_positions", -1)) for row in teacher_rows.values()) != FINAL_PREDICTION_POSITIONS ): raise ValueError("KLD qualification requires the sealed 25-window final panel only") for window_id, left in teacher_rows.items(): right = student_rows[window_id] fields = ("document_id", "domain", "role", "token_ids_sha256", "attention_mask_sha256", "prediction_positions") if any(left[field] != right[field] for field in fields): raise ValueError(f"student capture relabels sealed window {window_id}") plan = { "schema": "quant-pipeline.glm53-packed-student-kld-plan.v1", "teacher_receipt_sha256": teacher["receipt_sha256"], "student_receipt_sha256": student["receipt_sha256"], "student_label": args.student_label, "kld_direction": "teacher_to_student", "chunk_positions": args.chunk_positions, "compute_device": args.device, "output": str(args.output.resolve()), "dry_run": not args.execute, } print(json.dumps(plan, sort_keys=True), flush=True) if not args.execute: return 0
started = time.monotonic() import torch
device = torch.device(args.device) if device.type != "cuda" or not torch.cuda.is_available(): raise RuntimeError("packed-student KLD is pinned to an available CUDA device") torch.cuda.set_device(device) output = prepare_empty_destination(args.output.resolve()) token_values = [] top1_matches = 0 per_window = [] for window_id in sorted(teacher_rows): teacher_row = teacher_rows[window_id] student_row = student_rows[window_id] count = int(teacher_row["prediction_positions"]) values = np.empty(count, dtype=np.float64) for start in range(0, count, args.chunk_positions): stop = min(start + args.chunk_positions, count) teacher_logits = _load_slice(Path(teacher_row["path"]), start, stop) student_logits = _load_slice(Path(student_row["path"]), start, stop) if teacher_logits.shape != (stop - start, int(teacher["vocab_size"])) or student_logits.shape != teacher_logits.shape: raise ValueError(f"logit geometry mismatch in {window_id}") chunk_values, chunk_matches = _gpu_token_kld(teacher_logits, student_logits, device) values[start:stop] = chunk_values top1_matches += chunk_matches token_values.append(values) per_window.append( { "window_id": window_id, "document_id": teacher_row["document_id"], "domain": teacher_row["domain"], "role": teacher_row["role"], "summary": summarize(values), } ) all_values = np.concatenate(token_values) buffer = io.BytesIO() np.save(buffer, all_values, allow_pickle=False) token_path = output / "tokenwise-kld.npy" atomic_write(token_path, buffer.getvalue()) domains = {} for domain in sorted({row["domain"] for row in per_window}): indices = [index for index, row in enumerate(per_window) if row["domain"] == domain] domains[domain] = summarize(np.concatenate([token_values[index] for index in indices])) overall = summarize(all_values) report = { "schema": "quant-pipeline.glm53-packed-student-kld.v1", "teacher_receipt_sha256": teacher["receipt_sha256"], "student_receipt_sha256": student["receipt_sha256"], "student_label": args.student_label, "student_checkpoint_identity_sha256": student["checkpoint_identity_sha256"], "runtime_reader_sha256": student["runtime_reader_sha256"], "token_panel_receipt_sha256": teacher["token_panel_receipt_sha256"], "teacher_backend_identity_sha256": teacher["backend_identity_sha256"], "student_backend_identity_sha256": student["backend_identity_sha256"], "qualification_panel_final_only": True, "qualification_window_count": len(per_window), "kld_direction": "teacher_to_student", "metric": "tokenwise KL over exact jointly-valid causal prediction positions", "compute_device": str(device), "compute_dtype": "float64", "summary": overall, "per_domain": domains, "per_window": per_window, "top1_agreement": top1_matches / int(all_values.size), "mean_kld_lt_0_06": bool(overall["mean"] < 0.06), "tokenwise_kld_path": str(token_path.resolve()), "tokenwise_kld_bytes": token_path.stat().st_size, "tokenwise_kld_sha256": sha256_file(token_path), "elapsed_seconds": time.monotonic() - started, } report["report_sha256"] = sha256_bytes(canonical_json(report)) write_json(output / "kld-report.json", report) print(json.dumps({"ok": True, **report}, sort_keys=True), flush=True) return 0
if __name__ == "__main__": raise SystemExit(main())123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156#!/usr/bin/env python3"""Measure sealed teacher-to-custom-TP-runtime KLD on one qualification window."""
from __future__ import annotations
import argparseimport copyimport ioimport jsonfrom pathlib import Pathimport time
import numpy as np
from quant_pipeline.core.artifacts import ( atomic_write, canonical_json, prepare_empty_destination, sha256_bytes, sha256_file, write_json,)from quant_pipeline.evaluation.glm53_logits import load_capture_receipt, summarizefrom quant_pipeline.runtime.glm53_tp2_exl3 import GLM53_TP2_RUNTIME_SCHEMA
def _sealed_runtime(path: Path) -> dict: value = json.loads(path.read_text(encoding="utf-8")) body = copy.deepcopy(value) digest = body.pop("receipt_sha256", None) if ( value.get("schema") != GLM53_TP2_RUNTIME_SCHEMA or digest != sha256_bytes(canonical_json(body)) ): raise ValueError("custom TP2 runtime receipt seal differs") reference = value.get("reference_logit_parity", {}) if reference.get("rank_output_identical") is not True: raise ValueError("custom TP2 runtime logits are not identical across ranks") artifact = reference.get("observed_logits_artifact") if not isinstance(artifact, dict): raise ValueError("custom TP2 runtime receipt lacks retained logits") artifact_path = Path(artifact["path"]) if sha256_file(artifact_path) != artifact.get("sha256"): raise ValueError("retained custom TP2 logits hash differs") return value
def _load_slice(path: Path, start: int, stop: int): from safetensors import safe_open
with safe_open(path, framework="pt", device="cpu") as handle: return handle.get_slice("logits")[start:stop].clone()
def _gpu_token_kld(teacher, student, device): import torch
teacher64 = teacher.to(device=device, dtype=torch.float64, non_blocking=True) student64 = student.to(device=device, dtype=torch.float64, non_blocking=True) if teacher64.shape != student64.shape or teacher64.ndim != 2: raise ValueError("teacher/runtime logit geometry differs") if not torch.isfinite(teacher64).all() or not torch.isfinite(student64).all(): raise ValueError("teacher/runtime logits must be finite") teacher_logp = torch.log_softmax(teacher64, dim=-1) student_logp = torch.log_softmax(student64, dim=-1) values = torch.sum(torch.exp(teacher_logp) * (teacher_logp - student_logp), dim=-1) matches = int( torch.count_nonzero(torch.argmax(teacher64, dim=-1) == torch.argmax(student64, dim=-1)) ) return values.cpu().numpy(), matches
def main() -> int: parser = argparse.ArgumentParser() parser.add_argument("--teacher-receipt", type=Path, required=True) parser.add_argument("--runtime-receipt", type=Path, required=True) parser.add_argument("--window-id", required=True) parser.add_argument("--chunk-positions", type=int, default=64) parser.add_argument("--device", default="cuda:0") parser.add_argument("--max-mean-kld", type=float, default=0.06) parser.add_argument("--output", type=Path, required=True) args = parser.parse_args() if args.chunk_positions < 1 or args.max_mean_kld <= 0: raise ValueError("chunk positions and KLD threshold must be positive")
teacher = load_capture_receipt(args.teacher_receipt.resolve(), expected_role="bf16_teacher") runtime = _sealed_runtime(args.runtime_receipt.resolve()) matches = [row for row in teacher["logit_files"] if row["window_id"] == args.window_id] if len(matches) != 1: raise ValueError(f"teacher window census differs for {args.window_id}") teacher_row = matches[0] runtime_artifact = runtime["reference_logit_parity"]["observed_logits_artifact"] teacher_path = Path(teacher_row["path"]) runtime_path = Path(runtime_artifact["path"]) count = int(teacher_row["prediction_positions"]) vocab_size = int(teacher["vocab_size"])
import torch
device = torch.device(args.device) if device.type != "cuda" or not torch.cuda.is_available(): raise RuntimeError("runtime KLD requires an available CUDA device") torch.cuda.set_device(device) started = time.monotonic() values = np.empty(count, dtype=np.float64) top1_matches = 0 for start in range(0, count, args.chunk_positions): stop = min(start + args.chunk_positions, count) teacher_logits = _load_slice(teacher_path, start, stop) runtime_logits = _load_slice(runtime_path, start, stop) expected = (stop - start, vocab_size) if teacher_logits.shape != expected or runtime_logits.shape != expected: raise ValueError("teacher/runtime qualification-window geometry differs") chunk_values, chunk_matches = _gpu_token_kld(teacher_logits, runtime_logits, device) values[start:stop] = chunk_values top1_matches += chunk_matches
output = prepare_empty_destination(args.output.resolve()) buffer = io.BytesIO() np.save(buffer, values, allow_pickle=False) token_path = output / "tokenwise-kld.npy" atomic_write(token_path, buffer.getvalue()) summary = summarize(values) report = { "schema": "quant-pipeline.glm53-custom-tp2-runtime-window-kld.v1", "teacher_receipt_sha256": teacher["receipt_sha256"], "runtime_receipt_sha256": runtime["receipt_sha256"], "runtime_raw_decoded_parity_passed": runtime["reference_logit_parity"]["passed"], "runtime_rank_output_identical": True, "window_id": args.window_id, "token_ids_sha256": teacher_row["token_ids_sha256"], "prediction_positions": count, "vocab_size": vocab_size, "teacher_logits_sha256": sha256_file(teacher_path), "runtime_logits_sha256": runtime_artifact["sha256"], "kld_direction": "bf16_teacher_to_custom_tp2_runtime", "metric": "tokenwise KL over the sealed qualification window", "compute_device": str(device), "compute_dtype": "float64", "summary": summary, "top1_agreement": top1_matches / count, "max_mean_kld": args.max_mean_kld, "mean_kld_gate_passed": bool(summary["mean"] < args.max_mean_kld), "tokenwise_kld_path": str(token_path), "tokenwise_kld_bytes": token_path.stat().st_size, "tokenwise_kld_sha256": sha256_file(token_path), "elapsed_seconds": time.monotonic() - started, } report["report_sha256"] = sha256_bytes(canonical_json(report)) write_json(output / "kld-report.json", report) print(json.dumps(report, indent=2, sort_keys=True)) return 0 if report["mean_kld_gate_passed"] else 2
if __name__ == "__main__": raise SystemExit(main())123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220#!/usr/bin/env python3"""Qualify the custom packed GLM-5.3 K4/TP2 or K6/TP4 text runtime.
This script never upgrades the materializer's storage receipt. It writes aseparate runtime receipt and qualifies only when the complete packed load,multi-token generation, and explicit full-logit reference tolerance all pass."""
from __future__ import annotations
import argparseimport hashlibimport jsonfrom pathlib import Path
from quant_pipeline.core.artifacts import sha256_file, write_jsonfrom quant_pipeline.runtime.glm53_tp2_exl3 import ( build_runtime_receipt, packed_runtime_census, patch_transformers, target_tp_size_for_bits,)from quant_pipeline.publication.glm53_k4_postmtp import validate_reference_tolerances
def _args() -> argparse.Namespace: parser = argparse.ArgumentParser() parser.add_argument("--model", type=Path, required=True) parser.add_argument("--bits", type=int, choices=(4, 6)) parser.add_argument("--exllamav3-source", type=Path, required=True) parser.add_argument("--reference-panel", type=Path, required=True) parser.add_argument("--max-abs-tolerance", type=float, required=True) parser.add_argument("--mean-abs-tolerance", type=float, required=True) parser.add_argument("--max-new-tokens", type=int, default=4) parser.add_argument("--observed-logits-output", type=Path) parser.add_argument("--output", type=Path, required=True) return parser.parse_args()
def _reference_panel(path: Path): import torch
if path.suffix != ".safetensors": raise ValueError("reference panel must be safetensors") from safetensors import safe_open from safetensors.torch import load_file
tensors = load_file(str(path), device="cpu") required = {"input_ids", "logits"} if not required <= set(tensors) or set(tensors) - required - {"attention_mask", "prediction_indices"}: raise ValueError("reference panel has an unsupported tensor set") if tensors["input_ids"].dtype not in (torch.int64, torch.int32): raise ValueError("reference input_ids must be an integer tensor") with safe_open(path, framework="pt", device="cpu") as handle: metadata = handle.metadata() or {} return tensors, metadata
def _reference_error(value, observed): value = value.float() observed = observed.detach().float().cpu() if tuple(value.shape) != tuple(observed.shape): raise ValueError(f"reference shape differs: {tuple(value.shape)} != {tuple(observed.shape)}") error = (observed - value).abs() return float(error.max()), float(error.mean()), observed
def main() -> int: args = _args() config = json.loads((args.model / "config.json").read_text(encoding="utf-8")) declared_bits = config.get("quantization_config", {}).get("bits") if declared_bits not in (4, 6): raise ValueError("model config does not declare uniform routed K4 or K6") bits = declared_bits if args.bits is None else args.bits if bits != declared_bits: raise ValueError(f"requested K{bits} differs from checkpoint K{declared_bits}") tp_size = target_tp_size_for_bits(bits) if args.max_new_tokens < 2: raise ValueError("qualification requires at least two decode steps") if args.max_abs_tolerance < 0 or args.mean_abs_tolerance < 0: raise ValueError("parity tolerances must be nonnegative")
patch_transformers(exllamav3_source=args.exllamav3_source)
import torch import torch.distributed as dist from transformers import Glm5NextForConditionalGeneration from transformers.distributed import DistributedConfig
if not dist.is_initialized(): dist.init_process_group("nccl") rank = dist.get_rank() world_size = dist.get_world_size() torch.cuda.set_device(rank) torch.cuda.reset_peak_memory_stats(rank)
panel, panel_metadata = _reference_panel(args.reference_panel) validate_reference_tolerances( panel_metadata, max_abs=args.max_abs_tolerance, mean_abs=args.mean_abs_tolerance, ) attention_backend = panel_metadata.get("attention_backend") if attention_backend not in {"eager", "sdpa"}: raise ValueError("reference panel lacks its measured attention backend")
model = Glm5NextForConditionalGeneration.from_pretrained( args.model, dtype=torch.bfloat16, distributed_config=DistributedConfig( tp_size=tp_size, tp_plan="auto", enable_expert_parallel=False ), attn_implementation=attention_backend, local_files_only=True, ) device = torch.device("cuda", rank) input_ids = panel["input_ids"].to(device) attention_mask = panel.get("attention_mask") if attention_mask is not None: attention_mask = attention_mask.to(device)
with torch.inference_mode(): output = model(input_ids=input_ids, attention_mask=attention_mask, use_cache=False) generated = model.generate( input_ids=input_ids, attention_mask=attention_mask, do_sample=False, max_new_tokens=args.max_new_tokens, ) observed_logits = output.logits prediction_indices = panel.get("prediction_indices") if prediction_indices is not None: if prediction_indices.dtype not in (torch.int64, torch.int32) or prediction_indices.ndim != 1: raise ValueError("reference prediction_indices must be one integer vector") observed_logits = observed_logits[:, :-1, :][0].index_select( 0, prediction_indices.to(device=device, dtype=torch.int64) ) max_abs, mean_abs, observed_cpu = _reference_error(panel["logits"], observed_logits) observed_sha256 = hashlib.sha256(memoryview(observed_cpu.numpy())).hexdigest() rank_output_sha256 = [None] * world_size dist.all_gather_object(rank_output_sha256, observed_sha256) rank_output_identical = len(set(rank_output_sha256)) == 1 observed_artifact = None if rank == 0 and args.observed_logits_output is not None: from safetensors.torch import save_file
args.observed_logits_output.parent.mkdir(parents=True, exist_ok=True) save_file( {"logits": observed_cpu.contiguous()}, args.observed_logits_output, metadata={ "capture_role": "packed_tp_runtime", "bits": str(bits), "tp_size": str(tp_size), "reference_panel_sha256": sha256_file(args.reference_panel), "raw_tensor_sha256": observed_sha256, }, ) observed_artifact = { "path": str(args.observed_logits_output.resolve()), "sha256": sha256_file(args.observed_logits_output), "raw_tensor_sha256": observed_sha256, "bytes": args.observed_logits_output.stat().st_size, } reference = { "path": str(args.reference_panel.resolve()), "sha256": sha256_file(args.reference_panel), "input_ids_shape": list(input_ids.shape), "shape": list(observed_logits.shape), "reference_schema": panel_metadata.get("schema"), "reference_checkpoint_identity_sha256": panel_metadata.get("checkpoint_identity_sha256"), "reference_runtime_reader_sha256": panel_metadata.get("runtime_reader_sha256"), "attention_backend": attention_backend, "max_abs_error": max_abs, "mean_abs_error": mean_abs, "max_abs_tolerance": args.max_abs_tolerance, "mean_abs_tolerance": args.mean_abs_tolerance, "rank_output_sha256": rank_output_sha256, "rank_output_identical": rank_output_identical, "observed_logits_artifact": observed_artifact, "passed": max_abs <= args.max_abs_tolerance and mean_abs <= args.mean_abs_tolerance, } census = packed_runtime_census(model) local = { "rank": rank, "world_size": world_size, "bits": bits, "device": torch.cuda.get_device_name(rank), "peak_cuda_bytes": int(torch.cuda.max_memory_allocated(rank)), "steady_cuda_bytes": int(torch.cuda.memory_allocated(rank)), "packed_matrix_count": census["packed_matrix_count"], "bf16_routed_weight_parameter_count": census["bf16_routed_weight_parameter_count"], "generated_token_count": int(generated.shape[-1] - input_ids.shape[-1]), } reports = [None] * world_size dist.all_gather_object(reports, local) qualified = False if rank == 0: receipt = build_runtime_receipt( rank_reports=reports, runtime_module=Path(__file__).parents[1] / "src/quant_pipeline/runtime/glm53_tp2_exl3.py", exllamav3_source=args.exllamav3_source, reference=reference, generation_verified=all(row["generated_token_count"] == args.max_new_tokens for row in reports), bits=bits, tp_size=tp_size, ) args.output.parent.mkdir(parents=True, exist_ok=True) write_json(args.output, receipt) print(json.dumps(receipt, indent=2, sort_keys=True)) qualified = bool(receipt["qualified"]) qualified_rows = [None] * world_size dist.all_gather_object(qualified_rows, qualified if rank == 0 else None) qualified = next(value for value in qualified_rows if value is not None) dist.barrier() return 0 if qualified else 2
if __name__ == "__main__": raise SystemExit(main())123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687#!/usr/bin/env python3"""Run text generation with the selective packed GLM-5.3 K4/TP2 or K6/TP4 runtime."""
from __future__ import annotations
import argparseimport jsonimport osfrom pathlib import Path
from quant_pipeline.runtime.glm53_tp2_exl3 import ( packed_runtime_census, patch_transformers, target_tp_size_for_bits,)
def main() -> int: parser = argparse.ArgumentParser(description=__doc__) parser.add_argument("--model", type=Path, required=True) parser.add_argument("--exllamav3-source", type=Path, required=True) parser.add_argument("--prompt", required=True) parser.add_argument("--max-new-tokens", type=int, default=128) parser.add_argument("--attention-backend", choices=("eager", "sdpa"), default="eager") args = parser.parse_args() if args.max_new_tokens < 1: raise ValueError("max-new-tokens must be positive") try: rank = int(os.environ["RANK"]) local_rank = int(os.environ["LOCAL_RANK"]) world_size = int(os.environ["WORLD_SIZE"]) except (KeyError, ValueError) as error: raise RuntimeError("launch with torchrun --nproc-per-node=2 for K4 or 4 for K6") from error
config = json.loads((args.model / "config.json").read_text(encoding="utf-8")) bits = int(config.get("quantization_config", {}).get("bits", 0)) expected_tp = target_tp_size_for_bits(bits) if world_size != expected_tp or rank not in range(world_size) or local_rank not in range(world_size): raise RuntimeError(f"packed K{bits} requires exactly TP{expected_tp}") patch_transformers(exllamav3_source=args.exllamav3_source)
import torch import torch.distributed as dist from transformers import AutoTokenizer, Glm5NextForConditionalGeneration from transformers.distributed import DistributedConfig
torch.cuda.set_device(local_rank) if not dist.is_initialized(): dist.init_process_group("nccl") tokenizer = AutoTokenizer.from_pretrained(args.model, local_files_only=True) model = Glm5NextForConditionalGeneration.from_pretrained( args.model, dtype=torch.bfloat16, distributed_config=DistributedConfig( tp_size=world_size, tp_plan="auto", enable_expert_parallel=False ), attn_implementation=args.attention_backend, local_files_only=True, ).eval() census = packed_runtime_census(model) encoded = tokenizer(args.prompt, return_tensors="pt") encoded = {name: value.to(torch.device("cuda", local_rank)) for name, value in encoded.items()} with torch.inference_mode(): generated = model.generate( **encoded, do_sample=False, max_new_tokens=args.max_new_tokens, ) if rank == 0: print( json.dumps( { "bits": bits, "tp_size": world_size, "packed_matrix_count": census["packed_matrix_count"], "text": tokenizer.decode(generated[0], skip_special_tokens=True), }, ensure_ascii=False, ) ) dist.barrier() dist.destroy_process_group() return 0
if __name__ == "__main__": raise SystemExit(main())123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138#!/usr/bin/env bashset -euo pipefail
IMAGE="${IMAGE:-verdictai/glm53-flash-exl3-k4:r19-sm120-tp2-v44@sha256:15192e3930b4ae5558271ebe7d1a5a02da6dcc5a6c292c44e79a3fb8c883b5e1}"MODEL="${MODEL:-/home/brandonmusic/models/GLM-5.3-Flash-EXL3-4bpw}"DCP="${DCP:-2}"PORT="${PORT:-8012}"GPU_DEVICES="${GPU_DEVICES:-0,1}"PROFILE="${PROFILE:-daily}"case "${PROFILE}" in daily) # Accuracy-first daily profile. FP8 is the cache regime that passes the # repeated BF16-teacher KLD gate on this runtime. PROFILE_CACHE=fp8_ds_mla PROFILE_MAX_MODEL_LEN=435456 PROFILE_MAX_NUM_BATCHED_TOKENS=2048 PROFILE_MAX_NUM_SEQS=1 PROFILE_GPU_MEMORY_UTILIZATION=0.986 ;; long500k) # Qualified single-request 500K profile. The smaller prefill chunk halves # KPool's transient logits matrix at extreme context length. PROFILE_CACHE=nvfp4_ds_mla PROFILE_MAX_MODEL_LEN=499968 PROFILE_MAX_NUM_BATCHED_TOKENS=1024 PROFILE_MAX_NUM_SEQS=1 PROFILE_GPU_MEMORY_UTILIZATION=0.985 ;; *) echo "PROFILE must be daily or long500k" >&2 exit 2 ;;esacCACHE="${CACHE:-${PROFILE_CACHE}}"NAME="${NAME:-glm53-flash-exl3-k4-${PROFILE}-${CACHE}-dcp${DCP}}"
# FP8 MLA stores a wider physical cache row than NVFP4 MLA. The measured FP8# ceiling is 435,456 tokens at 0.986 utilization; 499,968 is qualified only# with NVFP4 MLA KV.if [[ "${PROFILE}" == "long500k" && "${CACHE}" != "nvfp4_ds_mla" ]]; then echo "PROFILE=long500k requires CACHE=nvfp4_ds_mla" >&2 exit 2fiMAX_MODEL_LEN="${MAX_MODEL_LEN:-${PROFILE_MAX_MODEL_LEN}}"MAX_NUM_BATCHED_TOKENS="${MAX_NUM_BATCHED_TOKENS:-${PROFILE_MAX_NUM_BATCHED_TOKENS}}"MAX_NUM_SEQS="${MAX_NUM_SEQS:-${PROFILE_MAX_NUM_SEQS}}"GPU_MEMORY_UTILIZATION="${GPU_MEMORY_UTILIZATION:-${PROFILE_GPU_MEMORY_UTILIZATION}}"MTP_TOKENS="${MTP_TOKENS:-3}"PREFIX_CACHING="${PREFIX_CACHING:-0}"B12X_DCP_A2A="${B12X_DCP_A2A:-1}"DIRECT_DCP_A2A="${DIRECT_DCP_A2A:-}"B12X_MLA_CKV_GATHER="${B12X_MLA_CKV_GATHER:-0}"EXL3_PREFILL_BLOCK_M="${VLLM_EXL3_PREFILL_BLOCK_M:-}"
if [[ "${DCP}" != "1" && "${DCP}" != "2" ]]; then echo "DCP must be 1 or 2" >&2 exit 2fiif [[ "${PREFIX_CACHING}" != "0" && "${PREFIX_CACHING}" != "1" ]]; then echo "PREFIX_CACHING must be 0 or 1" >&2 exit 2ficase "${CACHE}" in nvfp4_ds_mla) ATTENTION_BACKEND=B12X_MLA_SPARSE ;; fp8_ds_mla) ATTENTION_BACKEND=FLASHINFER_MLA_SPARSE_SM120 ;; *) echo "CACHE must be nvfp4_ds_mla or fp8_ds_mla" >&2 exit 2 ;;esac
NVFP4_ENV_ARGS=()if [[ "${CACHE}" == "nvfp4_ds_mla" ]]; then NVFP4_ENV_ARGS+=(-e VLLM_B12X_GLM_NOPE_NVFP4=1)fi
EXTRA_ARGS=()if [[ "${MTP_TOKENS}" != "0" ]]; then EXTRA_ARGS+=(--speculative-config "{\"method\":\"mtp\",\"num_speculative_tokens\":${MTP_TOKENS},\"draft_sample_method\":\"probabilistic\"}")fiif [[ "${ENFORCE_EAGER:-0}" == "1" ]]; then EXTRA_ARGS+=(--enforce-eager)fiif [[ "${PREFIX_CACHING}" == "1" ]]; then EXTRA_ARGS+=(--enable-prefix-caching)else EXTRA_ARGS+=(--no-enable-prefix-caching)fi
DIRECT_DCP_ARGS=()if [[ -n "${DIRECT_DCP_A2A}" ]]; then DIRECT_DCP_ARGS+=(-e "VLLM_USE_DIRECT_DCP_A2A=${DIRECT_DCP_A2A}")fi
EXL3_PREFILL_BLOCK_ARGS=()if [[ -n "${EXL3_PREFILL_BLOCK_M}" ]]; then EXL3_PREFILL_BLOCK_ARGS+=(-e "VLLM_EXL3_PREFILL_BLOCK_M=${EXL3_PREFILL_BLOCK_M}")fi
docker rm -f "${NAME}" >/dev/null 2>&1 || trueexec docker run --name "${NAME}" \ --init --gpus "\"device=${GPU_DEVICES}\"" --ipc=host --shm-size 32g \ -p "${PORT}:${PORT}" \ -e VLLM_ENGINE_READY_TIMEOUT_S=3600 \ "${NVFP4_ENV_ARGS[@]}" \ -e "VLLM_USE_B12X_DCP_A2A=${B12X_DCP_A2A}" \ -e "VLLM_B12X_MLA_CKV_GATHER=${B12X_MLA_CKV_GATHER}" \ "${DIRECT_DCP_ARGS[@]}" \ "${EXL3_PREFILL_BLOCK_ARGS[@]}" \ -e OMP_NUM_THREADS=2 \ -e NCCL_IB_DISABLE=1 \ -e NCCL_P2P_LEVEL=4 \ -e NCCL_PROTO=LL,LL128,Simple \ -v "${MODEL}:/model:ro" \ -v "${GLM53_CACHE_PATH:-/home/brandonmusic/.cache/glm53-exl3-k4}:/root/.cache" \ --entrypoint vllm \ "${IMAGE}" serve /model \ --served-model-name GLM-5.3-Flash-EXL3-4bpw \ --host 0.0.0.0 --port "${PORT}" \ --language-model-only \ --tensor-parallel-size 2 \ --decode-context-parallel-size "${DCP}" \ --dcp-comm-backend a2a \ --dtype bfloat16 \ --load-format safetensors \ --moe-backend b12x \ --attention-backend "${ATTENTION_BACKEND}" \ --kv-cache-dtype "${CACHE}" \ --max-model-len "${MAX_MODEL_LEN}" \ --max-num-batched-tokens "${MAX_NUM_BATCHED_TOKENS}" \ --max-num-seqs "${MAX_NUM_SEQS}" \ --gpu-memory-utilization "${GPU_MEMORY_UTILIZATION}" \ --enable-chunked-prefill \ --generation-config /model \ --reasoning-parser glm45 \ --disable-custom-all-reduce \ "${EXTRA_ARGS[@]}" \ "$@"123456789101112131415161718192021222324252627282930313233{ "backend": "tokenizers", "clean_up_tokenization_spaces": false, "do_lower_case": false, "eos_token": "<|endoftext|>", "extra_special_tokens": [ "<|endoftext|>", "[MASK]", "[gMASK]", "[sMASK]", "<sop>", "<eop>", "<|system|>", "<|user|>", "<|assistant|>", "<|observation|>", "<|begin_of_image|>", "<|end_of_image|>", "<|begin_of_video|>", "<|end_of_video|>", "<|begin_of_audio|>", "<|end_of_audio|>", "<|begin_of_transcription|>", "<|end_of_transcription|>" ], "is_local": true, "model_max_length": 1048576, "model_specific_special_tokens": {}, "pad_token": "<|endoftext|>", "padding_side": "left", "remove_space": false, "tokenizer_class": "TokenizersBackend"}.gitattributes+3
LICENSEAdded+270
MANIFEST.jsonAdded+1
PROVENANCE.mdAdded+28
README.mdAdded+108
SHA256SUMSAdded+328
THIRD_PARTY_LICENSES/B12X-APACHE-2.0.txtAdded+201
THIRD_PARTY_NOTICES.mdAdded+37
chat_template.jinjaAdded+210
compose.yamlAdded+72
config.jsonAdded+300
docs/HISTORICAL_MODEL_CARD_2026-08-27.mdAdded+299
exl3-mcg-storage-abi.jsonAdded+1
generation_config.jsonAdded+12
materialization-receipt.jsonAdded+1
processor_config.jsonAdded+44
provenance/source-model-revision.jsonAdded+1
quantization/recipe.jsonAdded+1
receipts/checkpoint.jsonAdded+1
results/README.mdAdded+70
results/five-cold-run-kld.jsonAdded+1
results/materialization-receipt.jsonAdded+1
results/run-1-kld-report.jsonAdded+1
results/run-2-kld-report.jsonAdded+1
results/run-3-kld-report.jsonAdded+1
results/run-4-kld-report.jsonAdded+1
results/run-5-kld-report.jsonAdded+1
results/tp2-runtime-qualified.jsonAdded+1
results/tp2-runtime-window-kld.jsonAdded+1
runtime-results-v44.jsonAdded+164
runtime/compose.sm120-tp2.yamlAdded+81
runtime/provenance-v75.jsonAdded+30
runtime/scripts/qualify_glm53_custom_tp2_runtime.pyAdded+220
runtime/scripts/run_glm53_custom_tp_runtime.pyAdded+87
runtime/serve-glm53-sm120-tp2.shAdded+56
runtime/src/quant_pipeline/__init__.pyAdded+4
runtime/src/quant_pipeline/cli.pyAdded+358
runtime/src/quant_pipeline/runtime/__init__.pyAdded+19
runtime/src/quant_pipeline/runtime/glm53_tp2_exl3.pyAdded+991
runtime/src/quant_pipeline/spec.pyAdded+100
runtime/verify-provenance.shAdded+17
scripts/aggregate_glm53_five_run_kld.pyAdded+41
scripts/build_glm53_tp2_runtime_kld_receipt.pyAdded+146
scripts/capture_glm53_packed_k4_student_logits_ep4.pyAdded+399
scripts/measure_glm53_packed_student_kld.pyAdded+179
scripts/measure_glm53_tp_runtime_window_kld.pyAdded+156
scripts/qualify_glm53_custom_tp2_runtime.pyAdded+220
scripts/run_glm53_custom_tp_runtime.pyAdded+87
serve-glm53-sm120-tp2.shAdded+138
tokenizer_config.jsonAdded+33