Skip to content

Commit 08d5f71

Browse files
authored
[Misc] refactor function name (#23029)
Signed-off-by: Andy Xie <andy.xning@gmail.com>
1 parent b2fd0b8 commit 08d5f71

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vllm/platforms/cpu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def check_and_update_config(cls, vllm_config: VllmConfig) -> None:
268268
DEFAULT_MAX_NUM_BATCHED_TOKENS)
269269

270270
@classmethod
271-
def get_allowed_cpu_memory_node_list(
271+
def get_allowed_cpu_core_node_list(
272272
cls) -> tuple[list[int], list[LogicalCPUInfo]]:
273273
assert platform.system() == "Linux"
274274

vllm/v1/worker/cpu_worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def _get_autobind_cpu_ids(
132132
"""
133133

134134
allowed_numa_nodes, logical_cpu_list = \
135-
CpuPlatform.get_allowed_cpu_memory_node_list()
135+
CpuPlatform.get_allowed_cpu_core_node_list()
136136
assert len(allowed_numa_nodes) >= self.parallel_config.world_size, (
137137
f"No enough allowed NUMA nodes to bind threads of "
138138
f"{self.parallel_config.world_size} CPUWorkers. "

0 commit comments

Comments
 (0)