mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 23:08:36 +00:00
Merge branch 'f-ling32-prod' into f-ling32-prod-chunk12
This commit is contained in:
commit
04d8a4dec7
2 files changed
+326
-233
No files matched your search
+53
-7
@@ -10,7 +10,7 @@ debugging and are kept in `terminal/data/settings-register.json`.
|
||||
A number or a word is set like any environment variable, for example `STRATA_KVA=1`. In the Terminal, `strata launch --set NAME=value`
|
||||
puts it in the model's run configuration.
|
||||
|
||||
## Switches you can turn on (455)
|
||||
## Switches you can turn on (470)
|
||||
|
||||
Off unless you set them. The last column says where each one is described.
|
||||
|
||||
@@ -53,6 +53,7 @@ Off unless you set them. The last column says where each one is described.
|
||||
| `STRATA_DENSE_F32` | number | NVIDIA | [COMMUNITY_BENCHMARKS.md](COMMUNITY_BENCHMARKS.md), [OLDER_GPUS.md](OLDER_GPUS.md), [README.md](bench-results/2026-10-12-p40-sm61-kernels/README.md) |
|
||||
| `STRATA_DENSE_I8_TC` | number | NVIDIA and AMD | - |
|
||||
| `STRATA_DENSE_MMQ` | on / off | NVIDIA and AMD, Intel Arc | [AMD_HIP.md](AMD_HIP.md), [DETAILS.md](DETAILS.md), [prefill-ab.md](bench-results/2026-10-05-community-gfx1151/prefill-ab.md) |
|
||||
| `STRATA_DENSE_XMX` | on / off | Intel Arc | - |
|
||||
| `STRATA_DEQUANT_SIDE` | on / off | NVIDIA and AMD | [DETAILS.md](DETAILS.md) |
|
||||
| `STRATA_DETERMINISTIC` | on / off | NVIDIA and AMD | [DETERMINISTIC.md](DETERMINISTIC.md) |
|
||||
| `STRATA_DF2_GEMM_TC` | on / off | NVIDIA and AMD | - |
|
||||
@@ -133,13 +134,25 @@ Off unless you set them. The last column says where each one is described.
|
||||
| `STRATA_INK_ATTN_PROBE_MAXREC` | number | NVIDIA and AMD | - |
|
||||
| `STRATA_INK_ATTN_PROBE_MINCTX` | number | NVIDIA and AMD | - |
|
||||
| `STRATA_INK_ATTN_PROBE_NEEDLE` | on / off | NVIDIA and AMD | - |
|
||||
| `STRATA_INK_B70_KERNELS` | text | Intel Arc | - |
|
||||
| `STRATA_INK_B70_TURBO` | text | NVIDIA and AMD, Intel Arc | - |
|
||||
| `STRATA_INK_DF2_RING_PLAN` | on / off | NVIDIA and AMD | - |
|
||||
| `STRATA_INK_DFLASH2_FORCE` | on / off | NVIDIA and AMD | [MODELS.md](MODELS.md) |
|
||||
| `STRATA_INK_DYNAMIC_PINNED_MIB` | number | NVIDIA and AMD | [DETAILS.md](DETAILS.md) |
|
||||
| `STRATA_INK_ELASTIC_1M` | text | NVIDIA and AMD | [INKLING_SM120.md](INKLING_SM120.md) |
|
||||
| `STRATA_INK_ELASTIC_COMPACT_MAX_CTX` | number | NVIDIA and AMD | - |
|
||||
| `STRATA_INK_ELASTIC_DRAFT_HOST_PCT` | number | NVIDIA and AMD | - |
|
||||
| `STRATA_INK_ELASTIC_HEAT` | on / off | NVIDIA and AMD | - |
|
||||
| `STRATA_INK_ELASTIC_HOST_GIB` | number | AMD | - |
|
||||
| `STRATA_INK_FAST_KERNELS` | on / off | NVIDIA and AMD | [AMD_HIP.md](AMD_HIP.md) |
|
||||
| `STRATA_INK_GGUF_DP4A` | on / off | Intel Arc | - |
|
||||
| `STRATA_INK_INTELARC` | text | Intel Arc | [INTEL_ARC.md](INTEL_ARC.md) |
|
||||
| `STRATA_INK_INTELARC_BF16_SCONV` | on / off | Intel Arc | - |
|
||||
| `STRATA_INK_INTELARC_BMG_FAST` | text | Intel Arc | - |
|
||||
| `STRATA_INK_INTELARC_EXACT` | text | Intel Arc | - |
|
||||
| `STRATA_INK_INTELARC_FP8_KV` | text | Intel Arc | - |
|
||||
| `STRATA_INK_KV_FIRST` | on / off | NVIDIA and AMD | - |
|
||||
| `STRATA_INK_KV_FLOOR_MIB` | number | AMD | - |
|
||||
| `STRATA_INK_KV_K8V4` | on / off | NVIDIA and AMD | - |
|
||||
| `STRATA_INK_KV_PREALLOC` | on / off | NVIDIA and AMD | [INKLING_KV.md](INKLING_KV.md) |
|
||||
| `STRATA_INK_KV_RAM_MB` | number | NVIDIA and AMD | - |
|
||||
@@ -179,6 +192,7 @@ Off unless you set them. The last column says where each one is described.
|
||||
| `STRATA_INK_R9700_TGRAPH_WARM` | on / off | AMD | - |
|
||||
| `STRATA_INK_R9700_TREE_FP8_MOE` | text | AMD | - |
|
||||
| `STRATA_INK_RAM_CAP_MB` | number | NVIDIA and AMD | - |
|
||||
| `STRATA_INK_SLOT_CACHE_MIB` | number | NVIDIA and AMD | - |
|
||||
| `STRATA_INK_SM120_BEAM` | number | NVIDIA | - |
|
||||
| `STRATA_INK_SM120_BSPEC_KD` | number | NVIDIA and AMD | - |
|
||||
| `STRATA_INK_SM120_C64_DRAFT_K` | number | NVIDIA | - |
|
||||
@@ -226,6 +240,7 @@ Off unless you set them. The last column says where each one is described.
|
||||
| `STRATA_INK_STRIXHALO_ZEN5` | text | AMD | - |
|
||||
| `STRATA_INK_TAIL_SKIP` | on / off | NVIDIA and AMD, Intel Arc | [INKLING_TURBO.md](INKLING_TURBO.md), [INTEL_ARC.md](INTEL_ARC.md) |
|
||||
| `STRATA_INK_TC_ATTN_DEPTH` | on / off | NVIDIA and AMD | [INKLING_SM120.md](INKLING_SM120.md) |
|
||||
| `STRATA_INK_TC_ATTN_KV8` | on / off | NVIDIA and AMD | - |
|
||||
| `STRATA_INK_TC_ATTN_NBUF` | on / off | NVIDIA and AMD | [INKLING_SM120.md](INKLING_SM120.md) |
|
||||
| `STRATA_INK_TC_ATTN_SPLITS` | number | NVIDIA and AMD | - |
|
||||
| `STRATA_INK_TOPUP_MAXB` | number | AMD | - |
|
||||
@@ -472,7 +487,7 @@ Off unless you set them. The last column says where each one is described.
|
||||
| `STRATA_WATCHDOG_S` | text | NVIDIA and AMD, Intel Arc | [DETAILS.md](DETAILS.md) |
|
||||
| `STRATA_WDDM_BUDGET` | number | AMD, Intel Arc | [AMD_HIP.md](AMD_HIP.md) |
|
||||
|
||||
## Switches that go back to earlier behaviour (158)
|
||||
## Switches that go back to earlier behaviour (185)
|
||||
|
||||
These behaviours are on by default. Setting the switch returns the earlier behaviour; the notes in the register say which
|
||||
version made it the default.
|
||||
@@ -486,6 +501,8 @@ version made it the default.
|
||||
| `STRATA_BATCH_MTP_SERIAL` | on / off | NVIDIA and AMD | v0.2.16 | [BATCHING.md](BATCHING.md) |
|
||||
| `STRATA_CONVERT_THREADS` | number | NVIDIA and AMD | v0.2.17 | - |
|
||||
| `STRATA_DEFAULTS` | on / off | NVIDIA and AMD | v0.2.16 | [AMD_HIP.md](AMD_HIP.md), [BATCHING.md](BATCHING.md), [DETAILS.md](DETAILS.md) |
|
||||
| `STRATA_DENSE_GEMM_ESIMD` | on / off | Intel Arc | - | - |
|
||||
| `STRATA_DENSE_GEMM_PK` | on / off | Intel Arc | - | - |
|
||||
| `STRATA_DEQUANT_WIDE` | number | NVIDIA and AMD | v0.2.16 | [DETAILS.md](DETAILS.md), [OLDER_GPUS.md](OLDER_GPUS.md), [release-notes-0.2.7.md](release-notes-0.2.7.md) |
|
||||
| `STRATA_DF2_ATTN_TC` | on / off | NVIDIA and AMD | v0.2.19 | - |
|
||||
| `STRATA_DF2_CTX_BATCH` | on / off | NVIDIA and AMD | v0.2.19 | - |
|
||||
@@ -513,19 +530,43 @@ version made it the default.
|
||||
| `STRATA_IL_PAD` | number | NVIDIA and AMD | v0.2.16 | - |
|
||||
| `STRATA_INK_5090_DRAFTPOL` | text | NVIDIA | v0.2.24 | - |
|
||||
| `STRATA_INK_5090_PF_ATOMIC` | on / off | NVIDIA and AMD | v0.2.24 | - |
|
||||
| `STRATA_INK_B70_OFF` | text | Intel Arc | - | - |
|
||||
| `STRATA_INK_CHUNK_AUTO` | number | NVIDIA and AMD | v0.2.21 | - |
|
||||
| `STRATA_INK_DF2_NO_Q4_SCREEN` | on / off | Intel Arc | - | - |
|
||||
| `STRATA_INK_ELASTIC_COMPACT` | text | NVIDIA and AMD | - | - |
|
||||
| `STRATA_INK_ELASTIC_EXPERTS` | on / off | NVIDIA and AMD | - | [INKLING_KV.md](INKLING_KV.md) |
|
||||
| `STRATA_INK_ELASTIC_MACRO_HOST` | on / off | NVIDIA and AMD | - | - |
|
||||
| `STRATA_INK_ELASTIC_MULTI` | on / off | AMD | - | - |
|
||||
| `STRATA_INK_ELASTIC_STAGE` | on / off | AMD | - | - |
|
||||
| `STRATA_INK_EXACT_GRAPH` | on / off | NVIDIA and AMD | v0.2.21 | - |
|
||||
| `STRATA_INK_EXACT_ROWS` | on / off | AMD | v0.2.21 | - |
|
||||
| `STRATA_INK_GGUF_CHUNK256` | on / off | NVIDIA and AMD | v0.2.23 | - |
|
||||
| `STRATA_INK_GGUF_COMPACT` | on / off | NVIDIA and AMD | v0.2.23 | - |
|
||||
| `STRATA_INK_GGUF_SPEC` | on / off | NVIDIA and AMD | v0.2.23 | - |
|
||||
| `STRATA_INK_INTELARC_NO_Q8_UNEMBED` | on / off | Intel Arc | - | - |
|
||||
| `STRATA_INK_IQ4NL_TC` | on / off | NVIDIA and AMD | v0.2.23 | - |
|
||||
| `STRATA_INK_IQ_TC` | on / off | NVIDIA and AMD | v0.2.23 | - |
|
||||
| `STRATA_INK_IQ_TC_MASK` | number | NVIDIA and AMD | v0.2.23 | - |
|
||||
| `STRATA_INK_KEEP_MAPPED_PAGES` | on / off | NVIDIA and AMD | v0.2.21 | - |
|
||||
| `STRATA_INK_KV_VMM` | on / off | NVIDIA and AMD | v0.2.24 | [INKLING_KV.md](INKLING_KV.md) |
|
||||
| `STRATA_INK_LANE_PROBE_OLD` | on / off | NVIDIA and AMD | - | [INKLING_KV.md](INKLING_KV.md) |
|
||||
| `STRATA_INK_MOE_V1` | on / off | NVIDIA and AMD | v0.2.21 | - |
|
||||
| `STRATA_INK_NO_B70_DEFAULTS` | on / off | Intel Arc | - | - |
|
||||
| `STRATA_INK_NO_B70_KERNELS` | on / off | Intel Arc | - | - |
|
||||
| `STRATA_INK_NO_CAND` | on / off | NVIDIA and AMD | v0.2.21 | - |
|
||||
| `STRATA_INK_NO_DF2_XMX_SCR` | text | Intel Arc | - | - |
|
||||
| `STRATA_INK_NO_EXACT_XMX` | on / off | Intel Arc | - | - |
|
||||
| `STRATA_INK_NO_EXACT_XMX_ATTN` | on / off | Intel Arc | - | - |
|
||||
| `STRATA_INK_NO_GGUF_DP4A` | on / off | Intel Arc | - | - |
|
||||
| `STRATA_INK_NO_GRAPH_WARMUP` | on / off | Intel Arc | - | - |
|
||||
| `STRATA_INK_NO_PLD` | text | Intel Arc | - | - |
|
||||
| `STRATA_INK_NO_Q8_XMX` | text | Intel Arc | - | - |
|
||||
| `STRATA_INK_NO_QUEST` | text | Intel Arc | - | - |
|
||||
| `STRATA_INK_NO_SG32_MOE` | text | Intel Arc | - | - |
|
||||
| `STRATA_INK_NO_SPEC_TREE` | on / off | Intel Arc | - | - |
|
||||
| `STRATA_INK_NO_TURBO_CODA_SF4` | on / off | Intel Arc | - | - |
|
||||
| `STRATA_INK_NO_XMX_ATTN` | text | Intel Arc | - | - |
|
||||
| `STRATA_INK_NO_XMX_SPLITK` | text | Intel Arc | - | - |
|
||||
| `STRATA_INK_OOM_RETRY` | number | NVIDIA and AMD | v0.2.21 | - |
|
||||
| `STRATA_INK_PF_TILE` | on / off | NVIDIA and AMD | v0.2.21 | - |
|
||||
| `STRATA_INK_PIN_GB` | on / off | NVIDIA and AMD | v0.2.21 | - |
|
||||
@@ -541,6 +582,7 @@ version made it the default.
|
||||
| `STRATA_INK_SM120_PFQ` | on / off | NVIDIA | v0.2.23 | - |
|
||||
| `STRATA_INK_SPLIT` | on / off | NVIDIA and AMD | v0.2.21 | - |
|
||||
| `STRATA_INK_TIER` | on / off | NVIDIA and AMD | v0.2.21 | - |
|
||||
| `STRATA_INK_VRAM_GUARD` | on / off | NVIDIA and AMD | - | [INKLING_KV.md](INKLING_KV.md) |
|
||||
| `STRATA_IQ_MT_MIN` | on / off | NVIDIA and AMD, CPU | v0.2.16 | [BATCHING.md](BATCHING.md), [DETAILS.md](DETAILS.md), [OLDER_GPUS.md](OLDER_GPUS.md) |
|
||||
| `STRATA_KEEP_MAPPING` | on / off | NVIDIA and AMD | v0.2.16 | - |
|
||||
| `STRATA_KV_HOST_DMA` | on / off | NVIDIA and AMD, Intel Arc | v0.2.16 | [TROUBLESHOOTING.md](TROUBLESHOOTING.md) |
|
||||
@@ -638,7 +680,7 @@ version made it the default.
|
||||
| `STRATA_WDDM_SHARED_RESERVE_MIB` | number | NVIDIA and AMD | v0.2.17 | - |
|
||||
| `STRATA_XN_F16` | on / off | NVIDIA and AMD | v0.2.16 | [DETAILS.md](DETAILS.md) |
|
||||
|
||||
## Ling-3.2-Air options (23)
|
||||
## Ling-3.2-Air options (27)
|
||||
|
||||
These are command-line options and variables of `strata launch` and setup, not engine variables. Nothing here is on unless you ask,
|
||||
except the thinking default (off) and the memory tier (chosen for your computer when you say `auto`).
|
||||
@@ -656,16 +698,20 @@ except the thinking default (off) and the memory tier (chosen for your computer
|
||||
| `--vram-budget-gib / --ram-budget-gib / --turbo-ssd / --cpu-coexec` | passed to strata-ling32 only when given | engine-flag | opt-in |
|
||||
| `--map-experts` | maps the model file in place on a unified-memory PC that holds all of it (DGX Spark, Strix Halo): later starts take seconds | engine-flag | default |
|
||||
| `--tc 16 --tc-moe 128 --graph --mla-kernel simt` | the NVIDIA (CUDA) fast path, passed explicitly so a start never depends on an engine default that may move; the engine drops --tc-moe and --graph itself in tiers B and C. AMD and Mac engines get their own sets (the next entries) | engine-flag | default |
|
||||
| `STRATA_LING32_SOURCE` | a base URL that holds the Ling-3.2-Air files (the model is not published; nothing is built in) | env | opt-in |
|
||||
| `STRATA_LING32_SHOW` | 1 lists Ling-3.2-Air in the model list without a source or a file (the tests use it) | env | research |
|
||||
| `STRATA_LING32_SOURCE` | a base URL that holds the Ling-3.2-Air files (a model held as parts: parts+<base>; the model is not published; nothing is built in) | env | opt-in |
|
||||
| `STRATA_LING32_SHOW` | 1 lists Ling-3.2-Air in the model list without a source or a file (the tests use it); the release itself is the one word released in data/ling32-sources.json | env | research |
|
||||
| `--vision on/off/gpu/cpu` | pictures: on by default (the Vision shard Ling-3.2-Air-Vision.strata, 869 MB, is in the download set); off leaves the shard out; gpu / cpu name the picture encoder's device (the engine's --vision-device). A card of 24 GB or more reads on the card (about 1.6 GiB of its memory, freed when idle), a smaller one on the processor (about 1 GiB of RAM) | launcher-flag | default |
|
||||
| `--vision FILE` | the Vision shard the engine reads pictures with; setup writes it, serve takes it out when the engine does not say images=1 | engine-flag | default |
|
||||
| `--vision-device auto/cpu/gpu` | where the picture encoder runs (auto: the card from 24 GiB of device memory, the processor below); written only when --vision gpu/cpu is given | engine-flag | opt-in |
|
||||
| `--vision-max-pixels N` | big pictures are downscaled to about 1 megapixel (~1000 embeddings) on CPU-encoder backends: the CPU encoder's cost grows with the patches squared (a full-HD photo ~24 s, a 12 MP photo up to ~85 s on an M5 Max; 1 MP ~6 s). Setup writes it for the planned CPU encoder and serve adds it for SYCL and --vision-device cpu (or when the engine's --info --kv line says vision=cpu); a value the person gives wins. The Mac engine encodes on the GPU now (a full-HD photo 2 s instead of 22 s), so the Mac has no cap | engine-flag | default |
|
||||
| `--probe-cap` | asked once by setup on a Windows integrated GPU (Strix Halo): the engine allocates 1 GiB pieces until the driver refuses and frees them (a few seconds); the answer, gpu_alloc_cap_gib, is the cap the plan follows (card budget = min(free, cap - 4 GiB), RAM tier = available RAM - 9.5 GiB) | engine-flag | default |
|
||||
| `--mtp on/off` | the MTP sidecar (Ling-3.2-Air-MTP.strata, in the default download set, MIT): the model's own multi-token-prediction layer drafts several tokens per step and the model checks them in one pass, so the answers are the same. On by default in every tier when the sidecar is there, EXCEPT on a discrete card of 12 GB or less, where the file takes room the expert pool needs: off by default there, not downloaded, not counted by the planner (a machine with one shared memory pool, such as a Strix, a Spark or a Mac, keeps it on). `--mtp on` forces it, `--mtp off` always turns it off | launcher-flag | default |
|
||||
| `ling32_mtp (run config key)` | the sidecar's path in the run config; serve makes `--mtp FILE --spec mtp --spec-adaptive` from it at the start. Not kept in the arguments, because Control reads `--mtp <folder>` as Flash-Next's draft layer | launcher-flag | default |
|
||||
| `--mtp auto/on/off` | the MTP sidecar (Ling-3.2-Air-MTP.strata, in the default download set, MIT): the model's own multi-token-prediction layer drafts several tokens per step and the model checks them in one pass, so the answers are the same. auto (the default): the ENGINE decides at start whether the sidecar pays here (`--mtp-auto`): loaded when the whole model is on the card or in one memory pool, never in tier C, and in tier B only over a host-to-device link of 32 GB/s or more (it measures the link); the status line says which it chose. EXCEPT on a discrete card of 12 GB or less, where the file takes room the expert pool needs: off by default there, not downloaded, not counted by the planner. `--mtp on` forces it, `--mtp off` always turns it off | launcher-flag | default |
|
||||
| `ling32_mtp (run config key)` | the sidecar's path in the run config; serve makes `--mtp FILE` (forced) or `--mtp-auto FILE` (the engine decides) plus `--spec mtp --spec-adaptive` from it at the start. Not kept in the arguments, because Control reads `--mtp <folder>` as Flash-Next's draft layer | launcher-flag | default |
|
||||
| `ling32_mtp_mode (run config key)` | the word next to the sidecar's path: `auto` (the engine decides at start) or `on` (forced); no path = off | launcher-flag | default |
|
||||
| `ling32_plan_tier (run config key)` | the tier the launcher's plan gave: what `auto` does with an engine that cannot decide by itself (no mtp_auto=1 in its --info --kv line): the sidecar only in tier A or on one memory pool | launcher-flag | opt-in |
|
||||
| `ling32_spec_block (run config key)` | a ceiling for the adaptive K (the engine's default, the one measured, is 4) | launcher-flag | opt-in |
|
||||
| `--mtp FILE --spec mtp --spec-adaptive [--spec-block K]` | the engine's flags for the sidecar, written by serve at the start only when the file is there and the engine says mtp=1 in `--info FILE --kv`; INFO then says spec=mtp, STAT carries spec_accept, tok_per_verify and spec_k | engine-flag | default |
|
||||
| `--mtp-auto FILE --spec mtp --spec-adaptive` | the engine decides about the sidecar after its memory plan: tier A or one memory pool loads it, tier C never, tier B only over a measured host-to-device link of 32 GB/s or more (`tier store: host-to-device link moved N GB/s`); written by serve only when the engine says mtp_auto=1 in `--info FILE --kv`; the serve INFO line then carries h2d_gbps and spec=off/mtp | engine-flag | default |
|
||||
| `--graph (AMD fast path)` | the AMD (HIP, Windows and Linux) engine gets only --graph besides --ctx and --chunk: the NVIDIA-tuned --tc / --tc-moe / --mla-kernel are not repeated, the engine's own choice for AMD is the measured one | engine-flag | default |
|
||||
| `--mtp FILE --spec mtp (Mac)` | the Metal engine takes the MTP sidecar like the CUDA and HIP ones since its command line was aligned (L32-METAL f9fbc1d186): --mtp FILE --spec mtp --spec-adaptive, only when its --info FILE --kv says mtp=1; a Mac keeps the whole model in memory: no tiers, no pictures | engine-flag | default |
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user