mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-24 17:16:20 +08:00
[Bugfix]: Fix TypeError: 'float' object cannot be interpreted as an integer (#19283)
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
This commit is contained in:
parent
2d8476e465
commit
d77f7fb871
@ -407,7 +407,7 @@ class CoreEngineActorManager:
|
||||
# For now, each DP rank can only be assigned to one node
|
||||
# TODO(rui): support allocating a single DP rank
|
||||
# to multiple nodes
|
||||
available_engine_count = node_resources["GPU"] // world_size
|
||||
available_engine_count = int(node_resources["GPU"]) // world_size
|
||||
if node_ip == dp_master_ip:
|
||||
assert available_engine_count >= local_engine_count, (
|
||||
"Not enough resources to allocate DP ranks "
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user