mirror of
https://github.com/deepseek-ai/DeepInfer.git
synced 2026-10-28 23:07:09 +08:00
- When runtime_max_model_len <= candidate_topk_blocks * candidate_block_size, the candidate blocks hold every position, so the filter keeps them all and the dense indexer logits give the same top-k. On Neuron the candidate path gathers all candidate keys per query token: [128, 16384] rows a layer for a prompt chunk, the NEFF that still ran HBM out in rg16. - static_moe_forward takes the decode metadata's valid_token_mask: padding rows select no expert. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| mtp | ||
| v4_modules | ||
| vision_encoder | ||
| __init__.py | ||
| decoder_layer.py | ||
| deepseek_vl.py | ||
| deepseek.py | ||