Skip to content

Commit

Permalink
update: test_gsam_optimizers
Browse files Browse the repository at this point in the history
  • Loading branch information
kozistr committed Jan 24, 2023
1 parent 1eb28b3 commit a29fd3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_optimizers.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def closure():
@pytest.mark.parametrize('adaptive', ADAPTIVE_FLAGS)
def test_gsam_optimizers(adaptive):
if not torch.cuda.is_available():
return True
pytest.skip(f'there\'s no cuda. skip test.')

(x_data, y_data), model, loss_fn = build_environment()

Expand Down

0 comments on commit a29fd3d

Please sign in to comment.