Skip to content

Commit

Permalink
modified to use tmp_path
Browse files Browse the repository at this point in the history
  • Loading branch information
snarayan21 committed Sep 27, 2023
1 parent 3687be2 commit 7ad4c8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_training.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ def set_correct_cwd():
os.chdir('..')


def test_train_gauntlet(set_correct_cwd: Any):
def test_train_gauntlet(set_correct_cwd: Any, tmp_path: pathlib.Path):
"""Test training run with a small dataset."""
dataset_name = create_c4_dataset_xsmall('cpu-gauntlet')
dataset_name = create_c4_dataset_xsmall(tmp_path)
test_cfg = gpt_tiny_cfg(dataset_name, 'cpu')
test_cfg.icl_tasks = ListConfig([
DictConfig({
Expand Down

0 comments on commit 7ad4c8d

Please sign in to comment.