Skip to content

Commit

Permalink
Don't delete weights path
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasjansson committed Oct 11, 2024
1 parent 9359a41 commit 3285317
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,9 +474,6 @@ def clean_up():
if OUTPUT_DIR.exists():
shutil.rmtree(OUTPUT_DIR)

if WEIGHTS_PATH.exists():
shutil.rmtree(WEIGHTS_PATH)


def download_huggingface_lora(hf_lora_url: str, output_path: str):
if (
Expand Down

0 comments on commit 3285317

Please sign in to comment.