Update save.py
This commit is contained in:
parent
28de27dd8d
commit
aa45208f5a
1 changed files with 2 additions and 2 deletions
|
|
@ -219,7 +219,7 @@ def unsloth_save_model(
|
|||
else:
|
||||
commit_description += " (Trained with Unsloth 2x faster)"
|
||||
pass
|
||||
|
||||
|
||||
model.push_to_hub(
|
||||
repo_id = save_directory,
|
||||
use_temp_dir = use_temp_dir,
|
||||
|
|
@ -492,7 +492,7 @@ def unsloth_save_model(
|
|||
for _ in range(3):
|
||||
torch.cuda.empty_cache()
|
||||
gc.collect()
|
||||
return save_directory
|
||||
return save_directory, username
|
||||
pass
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue