[KV Offload] Expose data-parallel topology to offloading backends (#51879)

Signed-off-by: Ziqi Fan <ziqif@nvidia.com>
This commit is contained in:
Ziqi Fan
2026-08-12 20:27:26 -07:00
committed by GitHub
parent 6e502b62cb
commit f9a0f629bd
8 changed files with 23 additions and 1 deletions
+4
View File
@@ -48,6 +48,10 @@ class OffloadingParallelConfig:
dcp_size: int
# Data parallel replica index of this engine.
data_parallel_index: int
# Number of data parallel replicas.
data_parallel_size: int
# Local rank of the data parallel group, set only in SPMD mode.
data_parallel_rank_local: int | None
# True when the bytes that will be persisted for a block are portable
# across parallelism configurations: for the direct layout, concatenating
# the block's data across all workers in rank order yields the same bytes