Archived
docs: Qwen3.8-27B-DFLASH2-PARO-M2XFP4 is the model from now on; its SYCL op gap and plan
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018EpFgqQidSnH8zo7boVZC1
This commit is contained in:
1 parent
6174d5ee5c
commit
f98b4070cd
1 file changed
+29
@@ -478,6 +478,35 @@ ideas were tried:
|
||||
card is not waiting on the host; a graph would only trim launch gaps. Radiance's tape hooks
|
||||
(`tape_begin` / `tape_play` in device.h) are where it would go.
|
||||
|
||||
## Qwen3.8-27B-DFLASH2-PARO-M2XFP4: the model from now on (2026-10-23)
|
||||
|
||||
The user put `hugypufy/Qwen3.8-27B-DFLASH2-PARO-M2XFP4/Qwen3.8-27B-DFLASH2-PARO-M2XFP4.rad` in the
|
||||
library for testing and optimisation from now on (it is also the 19-22 GiB class Milestone B
|
||||
asked for). Copied to `/models/qwen3.8-27b-dflash2-paro-m2xfp4/`, `cmp` identical (19.64 GiB).
|
||||
|
||||
- qwen35 hybrid: 64 layers, n_embd 5120, gated DeltaNet in three layers of four, full attention
|
||||
every fourth (24 q / 4 kv heads, head_dim 256, imrope, rotary 64 of 256, attention output gate),
|
||||
n_ff 17408, vocab 248320; a 27-block bf16 vision tower; DFlash2 drafter (depth 7, block 8).
|
||||
- Weights: m2xfp4 (e2m1 codes, e8m0 per-32 scales, a u8 per-subgroup multiplier plane, learned
|
||||
Givens rotations applied to the activation by `givens_dense_quant`); `output.weight` fp8 128x128
|
||||
blocks; the drafter head u2 with zero points.
|
||||
- M2XFP4 is not in upstream radiance: merged `hugypufy/radiance` branch `m2xfp` (upstream PR #203,
|
||||
Apache-2.0, 8 commits on our base 9eaf10d) at the user's go-ahead, commit 6fbe59b, no conflicts.
|
||||
Its `kbench_m2xfp4` test loads libr4d, so it is now registered only in a HIP build (6174d5e).
|
||||
`ctest -LE 'gpu|oot'`: 84/89, the five known failures.
|
||||
- On the SYCL build the engine refuses to start, as it must: no device kernel for
|
||||
- linears: `gemm_nt_q` (m2xfp4; u2 for the drafter head), `givens_dense_quant`, `logits_gemm`
|
||||
(fp8 blocks), `gemm_nt_bias`
|
||||
- gated DeltaNet: `gdn_conv_prep`, `gdn_conv_update`, `gdn_kkt_solve`, `gdn_chunk_scan`,
|
||||
`gdn_recurrent_update`, `gdn_conv_recurrent_update`, `gdn_gated_rmsnorm`
|
||||
- attention and elementwise: `rope` mode imrope, `rope_table`, `sigmoid`, `mul`, `scatter_rows`
|
||||
- drafter: `dflash_conv`, `logit_rerank`; vision: `attn_dense`, `layernorm`, `grid_embed`
|
||||
|
||||
Plan: correctness-first libxe2 kernels for every op above, each held to libref by rad-kbench on
|
||||
this container (`-m`), until the model serves and is greedy-identical to the libref host backend
|
||||
(Milestone B); then the fast kernels (m2xfp4 GEMV/XMX, DeltaNet scan) under the KL bound, with
|
||||
BetterBench after each.
|
||||
|
||||
## Next steps
|
||||
|
||||
1. ~~Milestone B, part 2: `minicpm5-2b-fp8.rad`~~ **Dropped by the user (2026-10-23): "instead of the
|
||||
|
||||
Reference in new issue
Block a user