mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-05 07:48:45 +00:00
prefill: wording of the fused-only floor line and of its Strix Halo settings row
The engine line printed when a fused-only layer set takes the lower chunk floor now reads: "prefill: prompt pieces of N tokens or more read on the fused kernels, as long prompts do. STRATA_PREFILL_STREAM_MIN=1024 keeps the old rule." The STRATA_PREFILL_STREAM_MIN row of docs/STRIX_HALO.md says that a UD-Q4_K_XL set on Windows takes 64 by itself, other sets keep 1,024, and a smaller N is opt-in. No behaviour change.
This commit is contained in:
1 parent
6239e233a8
commit
f33e9fa7b8
2 files changed
+2
-3
No files matched your search
+1
-1
@@ -153,7 +153,7 @@ measured there.
|
||||
|
||||
| Switch | What it does |
|
||||
| --- | --- |
|
||||
| `STRATA_PREFILL_STREAM_MIN=N` | `STRATA_PF_FUSED=1` reaches only chunks of N tokens or more (1,024 by default, the floor measured on a discrete card). With every expert in unified memory nothing streams and MMQ is the slow part, so a smaller N (128) speeds up an agent's turn (a tool result of about 1,000 tokens on a cached conversation: 3.1 to 6.0 s at 1,024 against 0.9 to 2.5 s at 128). |
|
||||
| `STRATA_PREFILL_STREAM_MIN=N` | `STRATA_PF_FUSED=1` reaches only chunks of N tokens or more (1,024 by default, the floor measured on a discrete card). On Windows a UD-Q4_K_XL set takes 64 by itself (prompt pieces of 96 to 1,000 tokens read 3.6 to 4.4 times sooner); other sets keep 1,024, and a smaller N is opt-in. |
|
||||
| `STRATA_PF_FUSED_KQ=1` | A UD-Q4_K_XL or other K-quant pack takes the fused experts only with this as well. |
|
||||
| `STRATA_PF_F16=1` (gfx11 only) | Runs the covered prompt experts on the F16 matrix cores instead of the int8 ones. It rounds differently from the int8 kernels. |
|
||||
| `STRATA_REFILL_PARTS=1` (exact; HIP and CUDA, a GGUF read in place) | Refills the expert-cache slots a prompt borrowed straight from the GGUF mapping instead of through an assembled 4 MB copy per expert. Only gfx1151 has measured it. |
|
||||
|
||||
@@ -383,8 +383,7 @@ inline int64_t default_stream_floor() {
|
||||
const int64_t v = strata::prefill::stream_floor_default(cls, cls && layers_all_fused_only());
|
||||
cached.store(v, std::memory_order_release);
|
||||
if (v != strata::prefill::kStreamFloorDefault)
|
||||
std::fprintf(stderr, "prefill: this layer set has no MMQ tile and the fused kernels take every layer: prompt chunks of %lld tokens or more read on them, as long prompts do "
|
||||
"(Windows gfx1151, UD-Q4_K_XL: 128 to 1,000 tokens 3.6 to 4.4 times sooner). STRATA_PREFILL_STREAM_MIN=1024 keeps the old rule.\n", (long long) v); // [DRAFT] wording: the owner's to word
|
||||
std::fprintf(stderr, "prefill: prompt pieces of %lld tokens or more read on the fused kernels, as long prompts do. STRATA_PREFILL_STREAM_MIN=1024 keeps the old rule.\n", (long long) v);
|
||||
return v;
|
||||
}
|
||||
inline int64_t stream_all_min() {
|
||||
|
||||
Reference in new issue
Block a user