Update save.py
This commit is contained in:
parent
57e450fa2e
commit
f039eee50f
1 changed files with 1 additions and 0 deletions
|
|
@ -540,6 +540,7 @@ def unsloth_save_model(
|
|||
|
||||
# Save!
|
||||
save_location = save_pretrained_settings["save_directory"]
|
||||
print("USERNAME = ", username, "SAVE_LOCATION = ", save_location)
|
||||
if username != save_location:
|
||||
save_pretrained_settings["save_directory"] = f"{username}/{save_location.lstrip('/')}"
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue