mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-01-24 12:34:28 +08:00
[MISC] tiny fixes (#13378)
This commit is contained in:
parent
45186834a0
commit
238dfc8ac3
@ -109,7 +109,7 @@ class ExecutorBase(ABC):
|
||||
"""
|
||||
# NOTE: This is logged in the executor because there can be >1 workers.
|
||||
logger.info("# %s blocks: %d, # CPU blocks: %d",
|
||||
vllm.platforms.current_platform.dispatch_key,
|
||||
vllm.platforms.current_platform.device_name,
|
||||
num_gpu_blocks, num_cpu_blocks)
|
||||
max_concurrency = (num_gpu_blocks * self.cache_config.block_size /
|
||||
self.model_config.max_model_len)
|
||||
|
||||
@ -327,7 +327,7 @@ class Platform:
|
||||
"""
|
||||
Get device specific communicator class for distributed communication.
|
||||
"""
|
||||
return "vllm.distributed.device_communicator.base_device_communicator.DeviceCommunicatorBase" # noqa
|
||||
return "vllm.distributed.device_communicators.base_device_communicator.DeviceCommunicatorBase" # noqa
|
||||
|
||||
|
||||
class UnspecifiedPlatform(Platform):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user