Skip to content

Commit

Permalink
[DLMED] add @SkipIfBeforePyTorchVersion((1, 7))
Browse files Browse the repository at this point in the history
Signed-off-by: Nic Ma <nma@nvidia.com>
  • Loading branch information
Nic-Ma committed Feb 2, 2021
1 parent e87901a commit 46b3328
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_handler_classification_saver_dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
from ignite.engine import Engine

from monai.handlers import ClassificationSaver
from tests.utils import DistCall, DistTestCase
from tests.utils import DistCall, DistTestCase, SkipIfBeforePyTorchVersion


@SkipIfBeforePyTorchVersion((1, 7))
class DistributedHandlerClassificationSaver(DistTestCase):
@DistCall(nnodes=1, nproc_per_node=2)
def test_saved_content(self):
Expand Down

0 comments on commit 46b3328

Please sign in to comment.