mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 07:04:53 +08:00
[Misc] refactor function name (#23029)
Signed-off-by: Andy Xie <andy.xning@gmail.com>
This commit is contained in:
parent
b2fd0b81e0
commit
08d5f7113a
@ -268,7 +268,7 @@ class CpuPlatform(Platform):
|
||||
DEFAULT_MAX_NUM_BATCHED_TOKENS)
|
||||
|
||||
@classmethod
|
||||
def get_allowed_cpu_memory_node_list(
|
||||
def get_allowed_cpu_core_node_list(
|
||||
cls) -> tuple[list[int], list[LogicalCPUInfo]]:
|
||||
assert platform.system() == "Linux"
|
||||
|
||||
|
||||
@ -132,7 +132,7 @@ class CPUWorker(Worker):
|
||||
"""
|
||||
|
||||
allowed_numa_nodes, logical_cpu_list = \
|
||||
CpuPlatform.get_allowed_cpu_memory_node_list()
|
||||
CpuPlatform.get_allowed_cpu_core_node_list()
|
||||
assert len(allowed_numa_nodes) >= self.parallel_config.world_size, (
|
||||
f"No enough allowed NUMA nodes to bind threads of "
|
||||
f"{self.parallel_config.world_size} CPUWorkers. "
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user