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
+13
-2
@@ -348,6 +348,8 @@ rad-kbench -m moe.rad --max-cases 1 --record data/kernels_moe.rkb
|
||||
| `--bench` | time each case that passes, on the same bytes |
|
||||
| `--bench-iters N`, `--bench-reps N` | launches per rep (20), timed reps (3) |
|
||||
| `--bench-warm-ms N` | untimed launches before each timed window (default 500) |
|
||||
| `--bench-flush MIB` | time cold: read MIB through the caches before every timed launch (256 empties an R9700's 8 MiB L2 and 64 MiB last level) and time each launch alone between two device events. Implies `--bench` |
|
||||
| `--timing-only` | time every device kernel and check nothing: no reference run, read-back, margins or fusion chain, host rows skipped. For comparing builds a checked run has already passed; refuses `--record`. Implies `--bench` |
|
||||
| `--report FILE` | write the markdown report |
|
||||
| `--analysis FILE` | splice in a fragment from `tools/kbench-analysis.sh` |
|
||||
| `--num-speculative-tokens N` | draft depth to declare at |
|
||||
@@ -365,8 +367,17 @@ running on the same box, pass something small explicitly:
|
||||
rad-kbench --home $RADIANCE_HOME --max-cases 1 --max-bytes 1024
|
||||
```
|
||||
|
||||
**`--bench` is cache-warm.** It cannot rank a bandwidth-bound kernel the way production runs it.
|
||||
Read the caveat the report prints about the GB/s column.
|
||||
**`--bench` is cache-warm.** Every launch of a timed window reuses one set of operands, so a weight
|
||||
that fits in the last-level cache is read from it after the first launch: a 52 MB bf16 decode weight
|
||||
times at 1.45 TB/s warm and at 565 GB/s, the card's DRAM rate, cold. The engine streams its weights
|
||||
cold every step. `--bench-flush 256` measures that; use it whenever the comparison is about how a
|
||||
kernel waits on memory. Its numbers are device time per launch and are not comparable with a warm
|
||||
run's, which divide a window's wall time by its launches.
|
||||
|
||||
**`--timing-only` runs the card hotter.** With no host-side check between cases the card is busy
|
||||
almost all of the run, and on the same binary its times come out 0.3-0.8% above a checked run's in
|
||||
total, compute-bound kernels 1-2%. Compare builds within one mode, interleaved; the ratio between
|
||||
two builds matched the checked mode's to within half a percent.
|
||||
|
||||
**`--max-cases`.** A 62-layer model presents the same kernel at the same shape sixty times and only
|
||||
the weights differ. The default of 4 is not a sample of anything interesting; `--max-cases 1` is
|
||||
|
||||
Reference in new issue
Block a user