From 9e92de51c61a47e5abb32d99b1930862473741d5 Mon Sep 17 00:00:00 2001 From: Roy Wang Date: Tue, 28 Apr 2026 15:52:54 +0800 Subject: [PATCH] [Bugfix] Exclude numa_bind fields from ParallelConfig DP hash (#41098) Signed-off-by: yasong --- vllm/config/parallel.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vllm/config/parallel.py b/vllm/config/parallel.py index afd0d1dd50..4f903eeefa 100644 --- a/vllm/config/parallel.py +++ b/vllm/config/parallel.py @@ -713,6 +713,14 @@ class ParallelConfig: "worker_extension_cls", "_api_process_count", "_api_process_rank", + # NUMA binding is per-rank host-side memory locality; it does + # not affect collective-communication semantics. When numa_bind + # is enabled with auto-detection, each DP rank stores its own + # NUMA node in numa_bind_nodes (see vllm/utils/numa_utils.py + # `_get_numa_node`), which would otherwise diverge the DP hash. + "numa_bind", + "numa_bind_nodes", + "numa_bind_cpus", } from vllm.config.utils import get_hash_factors, hash_factors