Skip to content

Commit

Permalink
run test on cpu
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt committed Mar 29, 2024
1 parent 4c712a2 commit b3b693e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def test_evaluate_script(tmp_path, fake_checkpoint_dir, monkeypatch):
fn_kwargs = dict(
checkpoint_dir=fake_checkpoint_dir,
out_dir=output_dir,
device="cpu"
)
stdout = StringIO()
with redirect_stdout(stdout), mock.patch("sys.argv", ["evaluate.py"]):
Expand Down

0 comments on commit b3b693e

Please sign in to comment.