Skip to content

Commit 6a8e04a

Browse files
committed
fix
Signed-off-by: Hemil Desai <hemild@nvidia.com>
1 parent edb4b45 commit 6a8e04a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/unit/models/automodel/test_automodel_train.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
import pytest
1919
import torch
2020

21+
try:
22+
import nemo_automodel # noqa: F401
23+
except ImportError:
24+
pytest.skip("nemo_automodel not available", allow_module_level=True)
25+
2126
from nemo_rl.distributed.batched_data_dict import BatchedDataDict
2227
from nemo_rl.models.automodel.data import (
2328
ProcessedInputs,

0 commit comments

Comments
 (0)