Archived
engine: the KV plan split, the host mirror, and --kv-resident bring-up
This commit is contained in:
1 parent
cce687bf2c
commit
a9e627b7ca
44 files changed
+3118
-51
No files matched your search
@@ -1,4 +1,4 @@
|
||||
/* abi_layout_table.h -- every abi/ struct's size and field offsets at RAD_ABI_VERSION 27 and
|
||||
/* abi_layout_table.h -- every abi/ struct's size and field offsets at RAD_ABI_VERSION 30 and
|
||||
* RAD_FORMAT_VER 2, as { type, field, offset, size } rows ("" is the struct itself). A snapshot
|
||||
* of the headers on x86-64 Linux, which abi_layout_test.cpp holds the layout to; regenerate it
|
||||
* from the test's printout only together with a version bump. */
|
||||
@@ -15,9 +15,10 @@
|
||||
{ "RadArchProbe", "gen_video", 64, 4 },
|
||||
{ "RadArchProbe", "kv_quant_ok", 68, 4 },
|
||||
{ "RadArchProbe", "chain_pays", 72, 4 },
|
||||
{ "RadArchProbe", "control_vector_ok", 76, 4 },
|
||||
{ "RadArchProbe", "tp_attn_rows_ok", 80, 4 },
|
||||
{ "RadArchProbe", "state_f16_ok", 84, 4 },
|
||||
{ "RadArchProbe", "kv_stream_ok", 76, 4 },
|
||||
{ "RadArchProbe", "control_vector_ok", 80, 4 },
|
||||
{ "RadArchProbe", "tp_attn_rows_ok", 84, 4 },
|
||||
{ "RadArchProbe", "state_f16_ok", 88, 4 },
|
||||
{ "RadArgs", "", 0, 64 },
|
||||
{ "RadArgs", "t", 0, 8 },
|
||||
{ "RadArgs", "n_t", 8, 4 },
|
||||
@@ -106,10 +107,12 @@
|
||||
{ "RadBuildCtx", "max_mixed_tok", 96, 8 },
|
||||
{ "RadBuildCtx", "kv_quant", 104, 4 },
|
||||
{ "RadBuildCtx", "attn_prefill_fp8", 108, 4 },
|
||||
{ "RadBuildCtx", "cvec", 112, 8 },
|
||||
{ "RadBuildCtx", "tp_attn_rows", 120, 4 },
|
||||
{ "RadBuildCtx", "state_dtype", 124, 4 },
|
||||
{ "RadBuildCtx", "draft_coupling", 128, 4 },
|
||||
{ "RadBuildCtx", "kv_resident_blocks", 112, 8 },
|
||||
{ "RadBuildCtx", "kv_stream_ok", 120, 4 },
|
||||
{ "RadBuildCtx", "cvec", 128, 8 },
|
||||
{ "RadBuildCtx", "tp_attn_rows", 136, 4 },
|
||||
{ "RadBuildCtx", "state_dtype", 140, 4 },
|
||||
{ "RadBuildCtx", "draft_coupling", 144, 4 },
|
||||
{ "RadAudioGenBatch", "", 0, 344 },
|
||||
{ "RadAudioGenBatch", "n_lane", 0, 8 },
|
||||
{ "RadAudioGenBatch", "lane", 8, 8 },
|
||||
@@ -463,7 +466,7 @@
|
||||
{ "RadGeneratorDecl", "chunk_bos", 364, 4 },
|
||||
{ "RadGeneratorDecl", "chunk_eos", 368, 4 },
|
||||
{ "RadGeneratorDecl", "cond_opts", 372, 4 },
|
||||
{ "RadKVGroupBatch", "", 0, 72 },
|
||||
{ "RadKVGroupBatch", "", 0, 80 },
|
||||
{ "RadKVGroupBatch", "group", 0, 4 },
|
||||
{ "RadKVGroupBatch", "slot_mapping", 8, 8 },
|
||||
{ "RadKVGroupBatch", "block_table", 16, 8 },
|
||||
@@ -473,6 +476,7 @@
|
||||
{ "RadKVGroupBatch", "state_index_pitch", 48, 8 },
|
||||
{ "RadKVGroupBatch", "block_size", 56, 8 },
|
||||
{ "RadKVGroupBatch", "max_blocks", 64, 8 },
|
||||
{ "RadKVGroupBatch", "stream", 72, 8 },
|
||||
{ "RadKVGroupDecl", "", 0, 56 },
|
||||
{ "RadKVGroupDecl", "kind", 0, 4 },
|
||||
{ "RadKVGroupDecl", "dtype", 4, 4 },
|
||||
@@ -481,6 +485,16 @@
|
||||
{ "RadKVGroupDecl", "head_dim", 24, 8 },
|
||||
{ "RadKVGroupDecl", "state_dim", 32, 16 },
|
||||
{ "RadKVGroupDecl", "conv_width", 48, 8 },
|
||||
{ "RadKVStream", "", 0, 72 },
|
||||
{ "RadKVStream", "host", 0, 8 },
|
||||
{ "RadKVStream", "res", 8, 8 },
|
||||
{ "RadKVStream", "slot_block", 16, 8 },
|
||||
{ "RadKVStream", "slot_state", 24, 8 },
|
||||
{ "RadKVStream", "ctl", 32, 8 },
|
||||
{ "RadKVStream", "block_bytes", 40, 8 },
|
||||
{ "RadKVStream", "host_layer_stride", 48, 8 },
|
||||
{ "RadKVStream", "slots", 56, 8 },
|
||||
{ "RadKVStream", "host_bytes", 64, 8 },
|
||||
{ "RadKernelInfo", "", 0, 168 },
|
||||
{ "RadKernelInfo", "name", 0, 8 },
|
||||
{ "RadKernelInfo", "op", 8, 8 },
|
||||
|
||||
Reference in new issue
Block a user