mirror of
https://github.com/deepseek-ai/DeepInfer.git
synced 2026-10-28 23:07:09 +08:00
DEEPINFER_NEURON_CTX_BUCKETS: the model runner sets the step's context limit to the smallest bucket that holds every sequence, and the dense kv_ca_index / indexer logits are sized to it instead of max_model_len (one more set of attention graphs a bucket). Prefill cost scaled with the limit: a 128-token chunk ~9 s at 16384 against ~5.3 s at 4352. Host tiny check: same tokens as without buckets up to near ties. 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 | ||