Update save.py warning message (#1425)
* Update README.md Llama 3.3 + Reddit * Update README.md Apple ML Cross Entropy * Update README.md Removing double citation * Update save.py warning message --------- Co-authored-by: Michael Han <107991372+shimmyshimmer@users.noreply.github.com>
This commit is contained in:
parent
104eeac1db
commit
47cee7fd7e
1 changed files with 1 additions and 1 deletions
|
|
@ -577,7 +577,7 @@ def unsloth_save_model(
|
|||
# max_ram = max(max_ram - W.nbytes, 0)
|
||||
else:
|
||||
# Save to Disk
|
||||
logger.warning_once("We will save to Disk and not RAM now.")
|
||||
logger.warning_once("\nWe will save to Disk and not RAM now.")
|
||||
filename = os.path.join(temporary_location, f"{name}.pt")
|
||||
torch.save(W, filename, pickle_module = pickle, pickle_protocol = pickle.HIGHEST_PROTOCOL,)
|
||||
# weights_only = True weirdly fails?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue