Archived
radiance 1.4.0
- Qwen3.8-Flash-Next on one card: the heat engine moves 64 experts a step (was 8), its copies and the prefill's expert staging run on the card's DMA engines instead of as copy kernels, and at decode the next layer's likeliest experts are copied onto the card ahead of its GEMMs. Against 1.3.0 at --tp 1: prefill +17-20% from 8K tokens up, throughput under load +16-20% - deploy/compose/flashnext-tp1.yaml: Qwen3.8-Flash-Next on one card and 64 GB of host RAM (4096-token prefill steps, 4 sequences, a 301K-token cache) - #61: --busy-prefill-chunk (default auto): a long prefill leaves the rest of the step to the requests decoding beside it and to new arrivals, instead of taking all of it (baKon) - LiquidAI's LFM2 and LFM2-VL, and d1's /v1/systemone (after zivius's PR #50) - a startup report: every option with its value and where it came from, the hardware, and what on it costs speed with the fix; /diagnostics serves it (behind the API key; without one, only to the same machine) - #69: a GPU memory fault names the buffer and kernel argument behind it and ends the server at once (exit status 70), instead of hanging or writing a core of tens of gigabytes - #64: a card without Resizable BAR is refused at startup, naming what to turn on, instead of crashing at the first launch - the image is built with ROCm 10.1 (the host's amdgpu driver must support it), with ROCm's libLLVM rebuilt so the same source compiles to the same kernels every time; a source build takes ROCm 10.1 or 7.2 - #71: the image ships curl, jq and a CA bundle, so --model <HF repo id> works in the container, and hfget.sh runs under its busybox (baKon) - --profile-ops shows how long each op's lane sat idle before it; cardclock.py skips an integrated GPU instead of stopping
This commit is contained in:
1 parent
d5b65cddc6
commit
dc339b4cd2
153 files changed
+12956
-1067
No files matched your search
@@ -10,8 +10,8 @@
|
||||
// the production configuration).
|
||||
//
|
||||
// `opt` is a bitmask of the optimisation steps, all of them on:
|
||||
// prefill 3955211 = f16 operands | mask skip | folded query scale | contiguous-k fragments
|
||||
// | prefetch 4 + scheduling barrier | dot2 row sum | block table in SGPRs
|
||||
// prefill 3954187 = f16 operands | mask skip | folded query scale | contiguous-k fragments
|
||||
// | prefetch 2 + scheduling barrier | dot2 row sum | block table in SGPRs
|
||||
// | wide K fetch | V prefetch across the m-tile loop | LDS-scoped barrier
|
||||
// decode 3429947 = the same, minus the wide K fetch (its K never reaches LDS), with the K
|
||||
// prefetch at 2 rather than 4, plus reading K straight from the paged cache
|
||||
@@ -50,7 +50,10 @@ extern "C" void r4d_attn_dims(int* head_dim, int* gqa, int* block_size, int* max
|
||||
// would need 68096 B > 65536, so the geometry stops at 48.
|
||||
#define P_NWARPS 24
|
||||
#define P_TILE 48
|
||||
#define P_OPT 3955211
|
||||
// K PREFETCH 2, NOT 4. Four fragments in flight hold more than the m-tile loop has to give at six
|
||||
// waves a SIMD, and the loop then spills: LLVM 22 to 36 bytes a lane and LLVM 24 to 48, which cost
|
||||
// LLVM 24 4% of the prefill. At 2 both compilers spill the same 20 bytes, outside the WMMA groups.
|
||||
#define P_OPT 3954187
|
||||
|
||||
// KVP: 0 = fp8 e4m3 cache, 1 = bf16 cache. Reached only through the two named wrappers below.
|
||||
template <int KVP>
|
||||
|
||||
Reference in new issue
Block a user