Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
awaelchli committed Mar 8, 2024
1 parent 2e918d5 commit 8782a4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_merge_lora.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def test_merge_lora(tmp_path, fake_checkpoint_dir):
lora_checkpoint_dir = tmp_path / "lora"
shutil.copytree(fake_checkpoint_dir, pretrained_checkpoint_dir)
shutil.copytree(fake_checkpoint_dir, lora_checkpoint_dir)
(lora_checkpoint_dir / "lit_model.pth").unlink() # should not already exist
shutil.rmtree(tmp_path / "checkpoints")

# Create a fake pretrained checkpoint
Expand Down

0 comments on commit 8782a4d

Please sign in to comment.