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> |
||
|---|---|---|
| .. | ||
| eplb | ||
| input_metadata | ||
| layers | ||
| models | ||
| parallel_utils | ||
| __init__.py | ||
| layer_utils.py | ||
| model_loader.py | ||
| model_metadata_utils.py | ||
| model_output.py | ||
| sampling_inputs.py | ||
| utils.py | ||