We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9eb7c8f commit 56c5b5eCopy full SHA for 56c5b5e
tests/unit_tests/test_provisioner.py
@@ -158,11 +158,10 @@ async def test_get_proc_mesh_respects_cuda_visible_devices(self):
158
159
# Note - this can run even on CPU because with_gpus just sets environment
160
# variables.
161
- config = ProcessConfig(num_procs=2, with_gpus=True, num_hosts=None)
162
_ = await provisioner.get_proc_mesh(
163
- num_procs=config.procs,
164
- with_gpus=config.with_gpus,
165
- num_hosts=config.hosts,
+ num_procs=2,
+ with_gpus=True,
+ num_hosts=None,
166
)
167
# Verify GPUs were allocated from available set
168
remaining_available = local_gpu_manager.get_available_gpus()
0 commit comments