Skip to content

Commit

Permalink
Can't combine generators with plus, so use chain
Browse files Browse the repository at this point in the history
  • Loading branch information
Caspar van Leeuwen committed May 7, 2024
1 parent 4ddfe23 commit 73b7e84
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eessi/testsuite/tests/apps/PyTorch/PyTorch_torchvision.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from itertools import chain

import reframe as rfm
import reframe.utility.sanity as sn
# Added only to make the linter happy
Expand All @@ -14,7 +16,7 @@ class EESSI_PyTorch_torchvision(rfm.RunOnlyRegressionTest):
parallel_strategy = parameter([None, 'ddp'])
compute_device = variable(str)
# Both torchvision and PyTorch-bundle modules have everything needed to run this test
module_name = parameter(find_modules('torchvision') + find_modules('PyTorch-bundle'))
module_name = parameter(chain(find_modules('torchvision'), find_modules('PyTorch-bundle')))

descr = 'Benchmark that runs a selected torchvision model on synthetic data'

Expand Down

0 comments on commit 73b7e84

Please sign in to comment.