Skip to content

Commit

Permalink
test is not defined, should be 'self'
Browse files Browse the repository at this point in the history
  • Loading branch information
Caspar van Leeuwen committed Jul 25, 2024
1 parent a69e2d3 commit 4c5c3e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eessi/testsuite/tests/apps/PyTorch/PyTorch_torchvision.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def apply_setup_hooks(self):
hooks.set_compact_process_binding(self)

# Set OMP_NUM_THREADS based on the number of cores per task
test.env_vars["OMP_NUM_THREADS"] = self.num_cpus_per_task
self.env_vars["OMP_NUM_THREADS"] = self.num_cpus_per_task

@run_after('setup')
def set_ddp_options(self):
Expand Down

0 comments on commit 4c5c3e7

Please sign in to comment.