Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
v-chen_data committed Nov 29, 2024
1 parent dd39ec3 commit 8d1bd92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/algorithms/test_algorithms_train.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_algorithm_trains(alg_cls: type[Algorithm]):
trainer = Trainer(
model=model,
train_dataloader=dataloader,
max_duration='1ba',
max_duration='2ba',
algorithms=alg_cls(**alg_kwargs),
)
trainer.fit()
Expand All @@ -34,5 +34,5 @@ def test_algorithm_trains(alg_cls: type[Algorithm]):
'GyroDropout is implemented to be applied on Event.FIT_START, so is not compatible with multiple calls to fit.',
)

# fit again for another epoch
# fit again for another batch
trainer.fit(duration='1ba')

0 comments on commit 8d1bd92

Please sign in to comment.