whn09 7d897aedb2 Neuron: skip the unused candidate-block source when the filter is vacuous (#26)
With runtime_max_model_len <= candidate_topk_blocks * candidate_block_size
every consumer already skips the candidate filter, so the source layer's block
top-k feeds nothing; below 16384 positions it is not even defined (fewer
blocks than candidate_topk_blocks, assert in _topk_candidate_block).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 16:23:28 +08:00
..
__init__.py initial commit 2026-10-20 12:09:42 +08:00
attn.py Neuron: one KV gather per chunk for dense attention; no layer_idx guards (#26) 2026-10-23 04:32:20 +08:00
builder.py initial commit 2026-10-20 12:09:42 +08:00
compress.py initial commit 2026-10-20 12:09:42 +08:00
containers.py initial commit 2026-10-20 12:09:42 +08:00
cross_layer.py initial commit 2026-10-20 12:09:42 +08:00
engram_metadata.py initial commit 2026-10-20 12:09:42 +08:00
engram_parameters.py initial commit 2026-10-20 12:09:42 +08:00
engram.py Neuron: full DeepSeek-V4.1-Flash load + decode region graphs at EP=64 (issues #21, #25) 2026-10-23 01:39:22 +08:00
hc_blocks.py initial commit 2026-10-20 12:09:42 +08:00
hc_lazy.py initial commit 2026-10-20 12:09:42 +08:00
hc.py Neuron: per-layer region graphs + vllm-neuron#71 NKI kernels (issues #10, #11, #13, #25) 2026-10-22 17:36:54 +08:00
heads.py initial commit 2026-10-20 12:09:42 +08:00
index_attn.py Neuron: skip the unused candidate-block source when the filter is vacuous (#26) 2026-10-23 16:23:28 +08:00
linear.py initial commit 2026-10-20 12:09:42 +08:00
mhc_modeling.py Neuron: per-layer region graphs + vllm-neuron#71 NKI kernels (issues #10, #11, #13, #25) 2026-10-22 17:36:54 +08:00
mhc_ops.py Neuron: per-layer region graphs + vllm-neuron#71 NKI kernels (issues #10, #11, #13, #25) 2026-10-22 17:36:54 +08:00
mla_attn.py initial commit 2026-10-20 12:09:42 +08:00
mlp.py Neuron: skip the vacuous candidate-block filter; mask padding rows in static MoE (#26) 2026-10-23 05:25:28 +08:00
moe.py initial commit 2026-10-20 12:09:42 +08:00
norm.py initial commit 2026-10-20 12:09:42 +08:00
rope.py initial commit 2026-10-20 12:09:42 +08:00
utils.py Neuron: one KV gather per chunk for dense attention; no layer_idx guards (#26) 2026-10-23 04:32:20 +08:00
yoco.py initial commit 2026-10-20 12:09:42 +08:00