Skip to content

Commit 56c5b5e

Browse files
committed
fix broken tests
1 parent 9eb7c8f commit 56c5b5e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/unit_tests/test_provisioner.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,10 @@ async def test_get_proc_mesh_respects_cuda_visible_devices(self):
158158

159159
# Note - this can run even on CPU because with_gpus just sets environment
160160
# variables.
161-
config = ProcessConfig(num_procs=2, with_gpus=True, num_hosts=None)
162161
_ = await provisioner.get_proc_mesh(
163-
num_procs=config.procs,
164-
with_gpus=config.with_gpus,
165-
num_hosts=config.hosts,
162+
num_procs=2,
163+
with_gpus=True,
164+
num_hosts=None,
166165
)
167166
# Verify GPUs were allocated from available set
168167
remaining_available = local_gpu_manager.get_available_gpus()

0 commit comments

Comments
 (0)