Skip to content

Commit 4428a6e

Browse files
committed
Update
[ghstack-poisoned]
1 parent 83f4285 commit 4428a6e

File tree

1 file changed

+1
-1
lines changed
  • torchrl/modules/llm/backends

1 file changed

+1
-1
lines changed

torchrl/modules/llm/backends/vllm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def make_vllm_worker(
202202
pipeline_parallel_size = 1
203203
node_id = 0
204204
pg = placement_group(
205-
[{"CPU": 1}, {"GPU": 1}] * torch.cuda.device_count(),
205+
[{"CPU": 1, "GPU": 1}] * torch.cuda.device_count(),
206206
strategy="SPREAD"
207207
if (pipeline_parallel_size and pipeline_parallel_size > 1)
208208
else "STRICT_PACK",

0 commit comments

Comments
 (0)