[Bugfix] Use DP index for dense DP weight updates and EC CPU region (#56950)

Signed-off-by: lxy-alexander <lxy_alexander@outlook.com>
Signed-off-by: aoshen02 <aoshen02@users.noreply.github.com>
Co-authored-by: aoshen02 <aoshen02@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: aoshen02 <aoshen@inferact.ai>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
Alexander Lee
2026-09-17 22:44:36 +08:00
committed by GitHub
co-authored by aoshen02 Claude Opus 5 aoshen02 mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent 861a299adc
commit 9e1cd262cb
4 changed files with 45 additions and 7 deletions
+1 -1
View File
@@ -1449,7 +1449,7 @@ class Worker(WorkerBase):
if isinstance(update_info, list):
parallel_config = self.vllm_config.parallel_config
local_update_info = update_info[
parallel_config.data_parallel_rank * parallel_config.world_size
parallel_config.data_parallel_index * parallel_config.world_size
+ self.rank
]
else: