Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/SETTINGS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ A number or a word is set like any environment variable, for example `STRATA_KVA
(`terminal/strata-<model>.json`), which the server passes to the engine. The Strata project's Terminal writes it there with
`strata launch --set NAME=value`.

## Switches you can turn on (347)
## Switches you can turn on (348)

Off unless you set them. The last column says where each one is described.

Expand Down Expand Up @@ -127,6 +127,7 @@ Off unless you set them. The last column says where each one is described.
| `STRATA_I8_MT` | number | Intel Arc | [INTEL_INT8_EXPERTS.md](INTEL_INT8_EXPERTS.md) |
| `STRATA_I8_WG` | number | Intel Arc | [INTEL_INT8_EXPERTS.md](INTEL_INT8_EXPERTS.md) |
| `STRATA_INK_FAST_CTRL` | on / off | NVIDIA | - |
| `STRATA_INK_PRESTAGE` | on / off | NVIDIA | [inkling.md](models/inkling.md) |
| `STRATA_IO_PF_AHEAD` | number | NVIDIA and AMD | [DETAILS.md](DETAILS.md) |
| `STRATA_IO_PF_GATE` | number | NVIDIA and AMD | [DETAILS.md](DETAILS.md), [release-notes-0.2.0.md](release-notes-0.2.0.md) |
| `STRATA_IO_PF_GATE_LO` | number | NVIDIA and AMD | [DETAILS.md](DETAILS.md) |
Expand Down
7 changes: 7 additions & 0 deletions docs/models/inkling.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,13 @@ by a kernel, so they no longer wait behind the experts copied over the bus. The
added. On an RTX 2070 Super 8 GB a 2,048-token prompt reads 6.5% faster with IQ4_NL (477 against 448 tokens/s) and
2.7% faster with UD-Q2_K_XL; 32,768 tokens read as fast as before. `STRATA_INK_KERNEL_TABLES=0` turns it off.

`STRATA_INK_PRESTAGE=1` (opt-in, NVIDIA, with the pinned copy of the experts that Linux makes): in a prompt of more
than one batch, the next layer's missing experts are copied while the card works on the current layer. The staging
buffer then holds two layers, and the expert cache gives up that VRAM (about 1 GB on IQ4_NL) for the read only and
takes it back after. The answers are the same. On an RTX 2070 Super 8 GB a 2,048-token IQ4_NL prompt reads 12.6%
faster (541 against 480 tokens/s); UD-Q2_K_XL at 2,048 tokens is 1.3% slower and IQ4_NL at 32,768 tokens 1.9%
slower, as the smaller cache costs more than the copies save.

On a laptop with an RTX 4070 Laptop (8 GB), a Core i7-14700HX and 32 GB of RAM, on Windows, UD-Q3_K_XL has 1,216 of
its 3,072 experts on the card and the rest are computed on the CPU. On a card that does not hold every expert, setup
gives Inkling 2 Mini three settings that read fewer bytes for each token: `--attn-requant q5_0` (the attention's
Expand Down
Loading
Loading