Ling-3.2-Air SQ-96 draft upload (private)
Browse filesFiles changed (7)
- .gitattributes+4
- Ling-3.2-Air-MTP.strataAdded+3
- Ling-3.2-Air-SQ-96.strata.part-aaAdded+3
- Ling-3.2-Air-SQ-96.strata.part-abAdded+3
- Ling-3.2-Air-Vision.strataAdded+3
- README.mdAdded+89
- SHA256SUMSAdded+5
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 lines3334353637383932 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 -textLing-3.2-Air-MTP.strata filter=lfs diff=lfs merge=lfs -textLing-3.2-Air-SQ-96.strata.part-aa filter=lfs diff=lfs merge=lfs -textLing-3.2-Air-SQ-96.strata.part-ab filter=lfs diff=lfs merge=lfs -textLing-3.2-Air-Vision.strata filter=lfs diff=lfs merge=lfs -text
123version https://git-lfs.github.com/spec/v1oid sha256:049a033704ea10716521759387fafca84527fb1157e19cff478a3f7d5a34089dsize 990724096123version https://git-lfs.github.com/spec/v1oid sha256:9adcdc3d2a982a9f3b06773e894c10040dde9b917c98213577d009c470686c7csize 45097156608123version https://git-lfs.github.com/spec/v1oid sha256:002f4bd666538ce56e83c7f9c5b3437a7c16c89b36d458ecf523e7c0b0a5c56esize 41748299776123version https://git-lfs.github.com/spec/v1oid sha256:e09f3f9e259f23ef19c2f3a9a0043b19eade26eb491baebd623d02588fe02709size 8693514241234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889---license: otherbase_model: inclusionAI/Ling-3.2-airtags: - strata - ling-3.2-air - moe - quantization - kda - mla - mtp---
# inclusionAI Ling-3.2-Air: native Strata (`.strata` v1.0) quantization
DRAFT, private. Not for publication before the owner has read it: the licence line, the speed section and the platform list are marked below.
Strata's own quantization of [`inclusionAI/Ling-3.2-air`](https://huggingface.co/inclusionAI/Ling-3.2-air) (revision `ff099487f6f57165e6fa9386ad61fddfafc78b76`) in the native **`.strata` v1.0**container, for the Strata engine (`strata-ling32`, shipped with Strata 0.2.25). One build, **SQ-96**, that runs on a PC with an NVIDIA or AMD card and on Apple Silicon, from acard with a few GB of video memory up to one that holds the whole model. How much of the model sits in video memory, RAM or on the SSD is planned by Strata at the start.
---
## What the model is
- 42 layers: 35 KDA (kimi delta attention) layers and 7 absorbed-MLA layers.- A 512-expert mixture of experts with the ALF-LB router (8 groups of 64, top-4 groups, top-8 experts), routed experts rotated with a FWHT-128 transform before quantization, dense layers 0 and 1, and shared experts.- Chat template with a thinking switch (off unless asked for) and XML tool calls; pictures are read by the optional Vision file.- An optional multi-token-prediction sidecar (the upstream model's own MTP layer, re-encoded with Strata's codecs) drafts tokens that the engine verifies in one batch; greedy output is identical to a run without it.
---
## Files
| File | Size (bytes) | SHA-256 || :--- | ---: | :--- || `Ling-3.2-Air-SQ-96.strata` (as two parts, see below) | 86,845,456,384 (80.9 GiB) | `856c29768eda280d7a2b29e593e8c74188d6e4b34aab73bc698a47e14fb06be1` || `Ling-3.2-Air-Vision.strata` (optional: the picture reader) | 869,351,424 | `e09f3f9e259f23ef19c2f3a9a0043b19eade26eb491baebd623d02588fe02709` || `Ling-3.2-Air-MTP.strata` (optional: the MTP sidecar) | 990,724,096 | `049a033704ea10716521759387fafca84527fb1157e19cff478a3f7d5a34089d` || `SHA256SUMS` | | the sums of the three whole files and of each part |
**The model is stored as parts.** Hugging Face advises about 50 GB a file, so the model is `split -b 42G`: `Ling-3.2-Air-SQ-96.strata.part-aa` (42 GiB) and `.part-ab` (the rest). Strata downloadsthe parts one at a time, joins them and checks the pinned size and SHA-256 of the whole file. To join them by hand: `cat Ling-3.2-Air-SQ-96.strata.part-a? > Ling-3.2-Air-SQ-96.strata`(Windows: `copy /b part-aa + part-ab Ling-3.2-Air-SQ-96.strata`), then compare the SHA-256 with the table.
---
## How to use it
Install Strata 0.2.25 or later and choose Ling-3.2-Air; Strata fetches the files, plans the memory and starts the model. Disk: about 90 GB (the model 81 GiB, the sidecar 1 GB, the Vision file 1 GB).
Platforms (PLATFORM LIST TO BE CONFIRMED BEFORE PUBLISHING; only what was run is stated):
| Platform | Engine | State || :--- | :--- | :--- || NVIDIA, Windows and Linux (CUDA 12 and 13 packages) | `strata-ling32` | ran on Turing (sm_75), Ampere (sm_86) and Blackwell (sm_120) cards; other generations are built for but were not run || AMD, Windows and Linux (ROCm) | `strata-ling32` | ran on Radeon RX 9070 class (gfx1201) and Strix Halo (gfx1151); other cards are built for but were not run || Apple Silicon (macOS 15 or later) | `strata-ling32` (Metal) | runs on a Mac; best with 128 GB of memory or more, with less it may not load or be very slow || Intel GPUs | none yet | |
Memory tiers (planned automatically): **A** the whole model in video memory or in a unified memory pool, **B** the hot experts in video memory and the rest in RAM, **C** a warm part in RAM andthe rest read from an NVMe SSD (slow). `--mtp on|off` and `--tier` can override the plan.
---
## Quality
The engine was checked against float64 and float32 reference runs of this file (not against the original BF16 weights; the quantization error of SQ-96 against BF16 is a separate measurementand is NOT stated here yet):
- 19 short golden prompts (chat, code, JSON, prose, tool calls): top-1 agreement 100 %, mean KL at most 2.7e-5, greedy continuations identical (24 to 1500 tokens), no NaN.- A float64 reference on the first 1024 positions of a 4K-token prompt: top-1 100.00 %, KL about 6e-7.- With the MTP sidecar on, greedy output is identical to a plain run (16 of 16 golden prompts, draft lengths 1 to 4 and adaptive).
---
## Speed
TO BE FILLED from the speed tables (per platform and tier). No speed figure is claimed in this draft.
---
## Licence and attribution
Base model: [`inclusionAI/Ling-3.2-air`](https://huggingface.co/inclusionAI/Ling-3.2-air), under the terms in its own model card (THE LICENCE LINE IS TO BE CONFIRMED BEFORE PUBLISHING).The MTP sidecar is derived from that model's own MTP layer (layer 42), licensed MIT as declared in the base model card, and re-encoded with Strata's codecs.The quantization and the `.strata` v1.0 container are built with Strata Quant (`tools/squant`).12345856c29768eda280d7a2b29e593e8c74188d6e4b34aab73bc698a47e14fb06be1 Ling-3.2-Air-SQ-96.strata9adcdc3d2a982a9f3b06773e894c10040dde9b917c98213577d009c470686c7c Ling-3.2-Air-SQ-96.strata.part-aa002f4bd666538ce56e83c7f9c5b3437a7c16c89b36d458ecf523e7c0b0a5c56e Ling-3.2-Air-SQ-96.strata.part-abe09f3f9e259f23ef19c2f3a9a0043b19eade26eb491baebd623d02588fe02709 Ling-3.2-Air-Vision.strata049a033704ea10716521759387fafca84527fb1157e19cff478a3f7d5a34089d Ling-3.2-Air-MTP.strata.gitattributes+4
Ling-3.2-Air-MTP.strataAdded+3
Ling-3.2-Air-SQ-96.strata.part-aaAdded+3
Ling-3.2-Air-SQ-96.strata.part-abAdded+3
Ling-3.2-Air-Vision.strataAdded+3
README.mdAdded+89
SHA256SUMSAdded+5