zhaozhuoliang 0e36d808b5 perf: decouple the Engram buffer size from max_num_batched_tokens
The number of RDMA QPs DeepEP allocates for the Engram buffer is derived
from its max_num_tokens, which in turn comes from max_num_batched_tokens
(model_loader.py). Raising the QP count therefore required raising the
global batched-token budget, which also inflates the EP/MoE/CP buffers.

Add DEEPINFER_ENGRAM_MIN_PREFILLING_TOKENS as a lower bound applied only
to the Engram buffer, so a deployment can give Engram more QPs without
resizing the other buffers. Default 0 keeps the current behavior.
2026-10-27 20:37:03 +08:00
..
_C initial commit 2026-10-20 12:09:42 +08:00
distributed initial commit 2026-10-20 12:09:42 +08:00
engine initial commit 2026-10-20 12:09:42 +08:00
entrypoints initial commit 2026-10-20 12:09:42 +08:00
hugging_face initial commit 2026-10-20 12:09:42 +08:00
model_executor perf: decouple the Engram buffer size from max_num_batched_tokens 2026-10-27 20:37:03 +08:00
npu_ops initial commit 2026-10-20 12:09:42 +08:00
structure_output initial commit 2026-10-20 12:09:42 +08:00
ve initial commit 2026-10-20 12:09:42 +08:00
worker initial commit 2026-10-20 12:09:42 +08:00
__init__.py initial commit 2026-10-20 12:09:42 +08:00
attrdict.py initial commit 2026-10-20 12:09:42 +08:00
config.py initial commit 2026-10-20 12:09:42 +08:00
environ.py perf: decouple the Engram buffer size from max_num_batched_tokens 2026-10-27 20:37:03 +08:00
load_class.py initial commit 2026-10-20 12:09:42 +08:00
logger.py initial commit 2026-10-20 12:09:42 +08:00
model_config_loader.py initial commit 2026-10-20 12:09:42 +08:00
multimodal_tokens.py initial commit 2026-10-20 12:09:42 +08:00
platform.py initial commit 2026-10-20 12:09:42 +08:00
py.typed initial commit 2026-10-20 12:09:42 +08:00
sampling_params.py initial commit 2026-10-20 12:09:42 +08:00
sequence.py initial commit 2026-10-20 12:09:42 +08:00
shared_memory.py initial commit 2026-10-20 12:09:42 +08:00
testing.py initial commit 2026-10-20 12:09:42 +08:00
timer.py initial commit 2026-10-20 12:09:42 +08:00
utils.py initial commit 2026-10-20 12:09:42 +08:00