Skip to content
Open
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/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ other MCP clients use, and pass it with `--mcp <file>` (or `STRATA_MCP`; the def
- `--kv turbo4` (CUDA) uses TurboQuant: each 128-value K/V block is signed-Walsh rotated, quantized with
4-bit Lloyd-Max centroids, and stored in about 28% of the f16 cache size. Q is rotated by the same transform
when the K cache is TurboQuant, and the attention output is de-rotated when the V cache is TurboQuant.
`--kv turbo4-3`, `turbo4-2`, `turbo3`, `turbo2` and `turbo3-2` select narrower K/V centroids.
`--kv turbo4-3`, `turbo4-2`, `turbo3`, `turbo2` and `turbo3-2` select narrower K/V centroids. All of them
currently use the same 4-bit nibble packing and cache size as `--kv turbo4`.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 High · Correctness · 1 of 2

The new claim that all turbo variants share turbo4's packing and cache size cannot be checked from this diff. If any of turbo4-3, turbo4-2, turbo3, turbo2 or turbo3-2 uses a different bit width or packing than turbo4, users sizing GPU memory from this doc will under- or over-allocate the KV cache. The diff gives no code or test evidence for the claim.

Prompt for your AI agent
File: docs/USAGE.md
Line: 149
Issue: The new claim that all turbo variants share turbo4's packing and cache size cannot be checked from this diff. If any of turbo4-3, turbo4-2, turbo3, turbo2 or turbo3-2 uses a different bit width or packing than turbo4, users sizing GPU memory from this doc will under- or over-allocate the KV cache. The diff gives no code or test evidence for the claim.
Make the smallest change that fixes this, add a test, and change nothing unrelated.

Reply /dismiss (optionally with a reason) if this isn't helpful - Aletheore won't raise it again on this repo.

- `--k TYPE` and `--v TYPE` set the two cache formats independently (CUDA). Either half may be `f16`, `q8`,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Low · Maintainability · 2 of 2

'Currently' is undated and has no version reference, so the statement will go stale without anyone noticing. When a later change gives turbo3 or turbo2 a packed narrower layout, this sentence stays in the docs and tells users the old cache size is still in effect, so the doc contradicts the code.

Prompt for your AI agent
File: docs/USAGE.md
Line: 150
Issue: 'Currently' is undated and has no version reference, so the statement will go stale without anyone noticing. When a later change gives turbo3 or turbo2 a packed narrower layout, this sentence stays in the docs and tells users the old cache size is still in effect, so the doc contradicts the code.
Make the smallest change that fixes this, add a test, and change nothing unrelated.

Reply /dismiss (optionally with a reason) if this isn't helpful - Aletheore won't raise it again on this repo.

`q4`, `q2`, `turbo4`, `turbo3` or `turbo2`; for example `--k f16 --v q4` or `--k turbo4 --v turbo3`.
A mixed layout allocates each half with its own word width. The Vulkan backend only supports symmetric
Expand Down
Loading