docs: identify short prompt verifier coverage in KAR arm
This commit is contained in:
+4
-3
@@ -37,9 +37,10 @@ scope, artifact identity and remaining packaging limits.
|
||||
## Experimental KAR expert integration, 2026-10-05
|
||||
|
||||
The pinned upstream commit remains unchanged. Local default-off
|
||||
`STRATA_NEXT_EXPERIMENTAL_KAR_EXPERTS` adds a native decode cache-miss callback,
|
||||
linked to the separate `gpu/kar` component. Resident native hits and prefill
|
||||
retain their IQ weights. The runtime requires explicit archive and precision
|
||||
`STRATA_NEXT_EXPERIMENTAL_KAR_EXPERTS` adds a native verifier cache-miss callback,
|
||||
linked to the separate `gpu/kar` component. Resident native hits and batched prefill
|
||||
retain their IQ weights; short prompt ingestion uses the verifier and therefore
|
||||
also exercises KAR misses. The runtime requires explicit archive and precision
|
||||
environment settings, validates the archive payload and expert geometry, and
|
||||
rejects unsupported pool/multi-device configurations. This is an experimental
|
||||
quality arm, not full compressed-model residency or a qualified speedup.
|
||||
|
||||
+5
-4
@@ -10,7 +10,7 @@ one F32 matrix scratch buffer is reused for decode, multiply, SiLU and down
|
||||
projection. Allocations happen in `open`, with a fixed geometry cap and GPU
|
||||
headroom check. Its own stream/event controls ownership and completion.
|
||||
|
||||
The component has an opt-in native decode cache-miss adapter described below.
|
||||
The component has an opt-in native verifier cache-miss adapter described below.
|
||||
It has no LRU scheduler, and staging waits for its own upload.
|
||||
Its F32 activation arithmetic differs from native quantized expert arithmetic.
|
||||
No default, model quality or speed claim follows from its oracle passing.
|
||||
@@ -43,7 +43,7 @@ for compressed weights and 6,758,400 bytes for matrix/activation scratch;
|
||||
CUDA context overhead is excluded. This is one expert component, not full-model
|
||||
serving or a comparison with the original IQ3 expert.
|
||||
|
||||
### Experimental native decode misses
|
||||
### Experimental native verifier misses
|
||||
|
||||
Build the engine with `STRATA_NEXT_EXPERIMENTAL_KAR_EXPERTS=ON` and
|
||||
`STRATA_NEXT_KAR_DIR` pointing to this directory. This option is off by default
|
||||
@@ -57,8 +57,9 @@ Large archives can take minutes to verify; configure an appropriate worker
|
||||
startup deadline. Keep both model and archive unchanged for the worker's life.
|
||||
|
||||
The adapter requires the native pack, expert pool and a single GPU. It computes
|
||||
only native decode-window misses. Native resident hits, prefill, dense weights,
|
||||
PLE and MTP retain their existing paths. It sets the PCIe miss fraction to zero;
|
||||
native verifier-window misses, including short prompt ingestion and decode.
|
||||
Native resident hits, batched prefill, dense weights, PLE and MTP retain their
|
||||
existing paths. It sets the PCIe miss fraction to zero;
|
||||
use `--pcie-frac 0` in the comparison baseline as well. This is a mixed precision
|
||||
experimental arm, not full KAR model residency. Each missed expert is staged
|
||||
and computed serially on the component's own nonblocking CUDA stream. Its
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
namespace strata::kar {
|
||||
|
||||
// Experimental native decode cache-miss arm. Prefill and cache hits retain
|
||||
// Experimental native verifier cache-miss arm. Batched prefill and cache hits retain
|
||||
// the native IQ weights. Not a full compressed-model serving implementation.
|
||||
class ExpertMiss {
|
||||
public:
|
||||
|
||||
@@ -71,7 +71,7 @@ bool ExpertMiss::open(const char* path,uint32_t layers,uint32_t experts,uint32_t
|
||||
}
|
||||
if(!p->resident.open(hidden,ff,level,8,error))return false;
|
||||
p->input.resize(size_t(hidden)*8);p->output.resize(size_t(hidden)*8);
|
||||
std::fprintf(stderr,"strata KAR experimental: native decode misses only, level=%u, compressed=%llu scratch=%llu; quality not qualified\n",
|
||||
std::fprintf(stderr,"strata KAR experimental: native verifier misses (short prompt and decode), level=%u, compressed=%llu scratch=%llu; quality not qualified\n",
|
||||
level,(unsigned long long)p->resident.resident_bytes(),(unsigned long long)p->resident.scratch_bytes());
|
||||
impl_=std::move(p);return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user