Download README.md from strata-engine/Ling-3.2-Air-Strata: direct link, hf CLI and curl.
- Browser
- Download file 19.5 kB
-
https://huggingface.co/strata-engine/Ling-3.2-Air-Strata/resolve/main/README.md
- Command line
-
hf download hf://strata-engine/Ling-3.2-Air-Strata/README.md
-
curl -L -o README.md https://huggingface.co/strata-engine/Ling-3.2-Air-Strata/resolve/main/README.md
license: mit
base_model: inclusionAI/Ling-3.2-air
base_model_relation: quantized
pipeline_tag: text-generation
tags:
- strata
- ling-3.2-air
- moe
- quantization
- mtp
Ling-3.2-Air for Strata
Run Ant Group's Ling-3.2-Air on your own computer. A 124B-parameter AI model that runs at home on one graphics card or a Mac. Free and open source. No account needed.
Get started · Speed · Accuracy · Files · Support Strata
Ling-3.2-Air is a free, open AI model from Ant Group, published under the name inclusionAI. It is very large: 124 billion parameters. But for each word it writes, it only uses a small part of itself, about 5.5 billion. Strata builds on that. It keeps the parts in use on your graphics card and the rest in your computer's memory. That is how a model this large can run at home.
It has been tested on graphics cards with 12 GB of memory and up, and on a Mac. By default it can work with up to 128K tokens of text at once, which is enough for long documents.
Get started
- Install Strata. Download the app for Windows, Linux or Mac. It needs no account.
- Choose Ling-3.2-Air. It is one download of 86.85 GB.
- Start chatting.
Ling-3.2-Air needs Strata 0.2.25 or newer.
Prefer the terminal?
Linux or Mac:
curl -fsSL --connect-timeout 15 --max-time 120 https://github.com/Niko1221/Strata/releases/latest/download/install.sh -o install.sh && sh install.sh
Windows PowerShell:
irm -TimeoutSec 120 https://github.com/Niko1221/Strata/releases/latest/download/install.ps1 | iex
On Windows, open a new terminal afterwards. Then run strata launch and follow the prompts.
Performance with Strata
Over 100 tokens a second on an RTX 5090, and up to 94.8 on an M5 Max MacBook. A token is a piece of a word: 100 tokens are roughly 75 English words. So every machine in the chart writes faster than most people read.
How to read the chart. Measured with Strata 0.2.25 on 11 machines.
- Each bar shows how fast the answer to a short question is written.
- The number on the right shows how fast the computer reads what you send it. It is the best result with long texts of 4K, 16K or 32K tokens.
- Bars with two parts: the lighter part is the extra speed from the optional draft file,
Ling-3.2-Air-MTP.strata. It is a small second download (under 1 GB) that makes answers faster. On NVIDIA cards with 24 GB or less it brings no gain, so Strata does not use it there. - Your PC matters too. The NVIDIA PCs in the chart have 128 GB of RAM or more. With 64 GB the model still runs, but slower: 6 to 21.8 tokens a second in these tests. The slot the graphics card sits in counts as well: the RTX 5070 was measured in a PCIe 5.0 slot, and an older or narrower slot is slower.
How speeds were measured, with every figure
Measured with the Strata 0.2.25 release candidate (engine 0.1.73) at its default settings, with 128K context. Each machine warms up first. Then five short answers of 256 tokens are timed. After that come long prompts of 4K, 16K and 32K tokens, each followed by an answer of 128 tokens. Every test runs three times and the middle result is shown. All speeds are in tokens per second. "Earlier build" marks a figure from a version just before the release candidate.
- Prompt speed is how fast the computer reads what you send it.
- Answers is how fast the answer is written. "Short prompts" means the five short answers. "After 4K / 16K / 32K" means the answer that follows a long prompt of that many tokens.
- The draft file is
Ling-3.2-Air-MTP.strata. Where a cell gives two speeds, it says which is with it and which is without. - PCIe slot is the slot on the motherboard that the graphics card sits in. A newer (4.0, 5.0) and wider (x16) slot moves data faster.
NVIDIA, in a PC with 128 GB of RAM or more. Rented machines, none with a power cap.
| Card | PCIe slot | Prompt speed at 4K / 16K / 32K | Answers after 4K / 16K / 32K | Answers, short prompts |
|---|---|---|---|---|
| RTX 5090 32 GB | 5.0 x16 | 2,041 / 3,139 / 2,935 (earlier build) | 106 / 103 / 104 (earlier build) | 113 with the draft file, 101 without (earlier build). Release-candidate check: 122 with, 105–108 without |
| RTX 4090 24 GB | 4.0 x16 | 1,075 / 2,505 / 2,368 | 53.0 / 52.1 / 56.9 | 58.4 |
| RTX 3090 24 GB | 4.0 x16 | 1,147 / 1,212 / 1,118 | 51.6 / 49.9 / 53.2 | 57.9 |
| RTX 5080 16 GB | 4.0 x16 | 1,034 / 1,981 / 1,837 | 46.7 / 46.7 / 49.4 | 50.1 |
| RTX 5070 Ti 16 GB | 4.0 x16 | 996 / 1,726 / 1,593 | 42.8 / 43.9 / 46.0 | 49.0 |
| RTX 5060 Ti 16 GB | 40.2 | |||
| RTX 5070 12 GB | 5.0 | 39 | ||
| Tesla V100 32 GB | 3.0 x16 | 413 at 4K (earlier build) | 34 (earlier build) |
For the RTX 5060 Ti and the RTX 5070, only the answer speed on short prompts is available.
NVIDIA, in a PC with 64 GB of RAM. Part of the model is read from the SSD while it answers.
| Card | Prompt speed at 4K / 16K / 32K | Answers, short prompts |
|---|---|---|
| RTX 4090 24 GB | 259 / 746 / 1,107 | 11.8 |
| RTX 5070 Ti 16 GB | 453 / 980 / 1,174 | 17.0 |
| RTX 5070 12 GB (PCIe 4.0) | 762 / 995 / 1,000 | 21.8 |
| RTX 5070 12 GB, in the Windows app on a 63 GB PC | about 340 on a 33,784-token prompt (100 s). 114,144 tokens read in 337 s | 6–8.5 |
Other platforms.
| Machine | Prompt speed | Answers | Notes |
|---|---|---|---|
| Apple M5 Max, 128 GB unified memory | 1,028 / 985 / 862 at 4K / 16K / 32K | Short prompts: 94.8 with the draft file, 75.9 without. After 4K / 16K / 32K: 84.5 / 78.4 / 65.4 | A MacBook. Speed drops 7–14% over a long run from heat, and the figures include that. |
| NVIDIA DGX Spark (GB10, 121 GB unified memory) | 1,068 at 4K | Short prompts: 50.4–51.7 with the draft file, 39.2 without. After 4K: 46.5 with, 37.9 without | The whole model is in memory. |
| AMD Radeon AI PRO R9700 32 GB (Linux) | 1,092 at 4K (earlier build) | Short prompts: 57.1 with the draft file, 45.2 without. At 32K: 50.2 with, 41.8 without | |
| AMD Strix Halo (Windows) | not measured | Short prompts: 42.6 with the draft file, 28.1 without. At 32K: 33.8 with, 23.8 without | |
| Intel Arc Pro B70 32 GB, in a PC with 32 GB of RAM | 250 at 4K, 311 at 16K | 14–21 | Most of the model streams from the SSD on this PC. |
Why the same card can be faster in one PC than in another. Most graphics cards cannot hold the whole model, so parts of it travel between the PC's memory and the card all the time. Two things set the pace:
- The slot the card sits in. A narrow (x8) or older (PCIe 3.0) slot slows answers down. The RTX 5070 figure of 39 is from a PCIe 5.0 slot.
- How much RAM the PC has. With less than about 70 GB, part of the model has to be read from the SSD, which is slower.
The optional draft file. With Ling-3.2-Air-MTP.strata, Strata quickly guesses the next few tokens and then checks the guesses with the full model. Right guesses are kept, and that saves time. "Accepted" is the share of guesses that passed the check. "Tokens per check" is how many tokens each check produced on average. These are separate runs, so the speeds differ a little from the tables above.
| Machine | Accepted | Tokens per check | Short answers, without and with |
|---|---|---|---|
| RTX 5090 (PCIe 5.0) | 0.82–0.83 | 1.79 | 101.1 and 112.6 (+11%). Release-candidate check: 105–108 and 122 |
| DGX Spark | 0.74 | 2.15 | 37.5 and 52.8 (+41%) |
| Apple M5 Max | 0.73 | 2.29 | 75.9 and 94.8 (+25%) |
| AMD Radeon AI PRO R9700 | 0.96 (in the app) | 45.2 and 57.1. At 4K: 42.4 and 51.4 | |
| AMD Strix Halo | 0.835 (in the app) | 28.1 and 42.6 |
Does Strata run it correctly?
Yes. In every test, Strata wrote the same answer as the reference. To make sure Strata makes no mistakes, the same model file was also run by a second program, written in Python and used as the reference. The two were then compared on NVIDIA, Apple, Intel and AMD hardware.
| Platform | Tested on | Same next word | Answers identical |
|---|---|---|---|
| NVIDIA | DGX Spark, fast path | 100.000% | 17 of 17 |
| NVIDIA, packaged build | DGX Spark | 100.000% | 16 of 16 |
| Apple | M5 Max | 99.893% | 17 of 17 |
| Intel | Arc Pro B70 | 100.000% | 16 of 16 |
| AMD | Strix Halo | 100.000% | 17 of 17 |
- Same next word is how often Strata and the reference pick the same next word, checked one word at a time.
- Answers identical is the number of test questions where the whole answer was exactly the same.
How this was measured
The reference is a program written in Python that runs the same SQ-96 file with 32-bit or 64-bit numbers. Two kinds of test were used:
- The short set: 16 or 17 prompts (chat, code, JSON, prose, tool calls and HTML), about 2,700 to 2,800 tokens checked in total.
- The long prompt: a document of 4K tokens, checked against the 64-bit reference.
For "Answers identical", both programs always took their first choice for the next word (greedy decoding), so the answers can be compared exactly. The builds tested are the 0.2.25 release candidate, except on Intel, which is a frozen build.
"Drift" is the average gap between Strata's predictions and the reference's (KL divergence). Zero means identical. The numbers are written in short form: 1.2e-6 is 0.0000012.
| Platform | Drift, short set | Long prompt: same next word | Long prompt: drift |
|---|---|---|---|
| NVIDIA CUDA (DGX Spark, fast path) | 1.2e-6 | 100.00% | 2.4e-8 |
| NVIDIA CUDA aarch64 (DGX Spark, packaged build) | 1.27e-6 | 100.000% | about 0 |
| Apple Metal (M5 Max, packaged build) | 1.01e-4 | 96.3% at 16K | 2.75e-2 at 16K |
| Intel SYCL (Arc Pro B70, frozen build) | 1.26e-6 | 100.00% | 2.26e-7 |
| AMD HIP (Strix Halo, packaged build) | 1.20e-6 | 100.000% | about 0 |
- Apple at 16K. Its long prompt was 16K tokens, and the result is in the normal range for that length. For comparison, the 32-bit reference itself scores 95.0% and 4.7e-2 against the 64-bit reference on the same text. On long prompts, tiny rounding differences can tip a close call between two experts.
- Intel, second long check. On the first 4,096 tokens of a 16K document: same next word 100.000%, drift 2.16e-7, and no position with a drift above 1e-3.
- RTX 5090. Identical tokens in all 22 jobs: without the draft file, in a repeat run, and with the draft file.
- AMD Radeon AI PRO R9700. Identical tokens with and without the draft file on short, 4K and 32K prompts.
- AMD Strix Halo. Identical on short and 4K prompts. At 32K, one near-tie can come out differently with the draft file on or off. Each mode gives the same answer every time.
Recommended settings
| Setting | Value |
|---|---|
temperature |
1.0 |
top_p |
0.95 |
top_k |
20 |
These are the settings the model's makers recommend, with thinking switched on.
Files
| File | Size |
|---|---|
Ling-3.2-Air-SQ-96.strata, the model |
86.85 GB (about 80.9 GiB) |
Ling-3.2-Air-MTP.strata, the optional draft file that makes answers faster |
about 0.93 to 0.99 GB |
What is inside the model file
The file has two parts. The part that every word uses takes 3.64 GiB. The rest, 76.83 GiB, is 20,480 "experts": small specialist blocks, of which the model picks a few for each word. They are stored at four levels of precision (2.95, 3.66, 4.36 or 5.77 MiB each).
Support Strata
Help keep local AI fast, independent, and open to everyone.
Strata is built independently and released free under the MIT license. Sponsoring on GitHub or buying a coffee directly funds new GPU kernels, model quantizations, and hardware testing.
Licence
- The model: Ling-3.2-Air is made by inclusionAI (Ant Group) and released under the MIT licence. The file here is a build of inclusionAI/Ling-3.2-air packed for Strata.
- The Strata engine: MIT.