Skip to content

Commit 1f3cba0

Browse files
committed
resolve bug
1 parent de21fd5 commit 1f3cba0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/overrides/test_data_parallel.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ def training_step(self, batch, batch_idx):
147147
model = TestModel().to(device)
148148
model.trainer = MagicMock()
149149
model.trainer._running_stage = RunningStage.TRAINING
150+
model.running_stage = RunningStage.TRAINING
150151
batch = torch.rand(2, 32).to(device)
151152
batch_idx = 0
152153

0 commit comments

Comments
 (0)