unsloth icon indicating copy to clipboard operation
unsloth copied to clipboard

llama-quantize on WINDOWS WSL error fix - edit save.py (gguf saving breaks)

Open everythingisc00l opened this issue 9 months ago • 2 comments

After this, i found solution for gguf saving errors if user working on local machine (not Collab where everything with this issue is fine) https://github.com/unslothai/unsloth/issues/748#issuecomment-2646417175

Снимок экрана 2025-02-09 201114 GGUF saving breaks fixed. just added .exe format to codelines in save.py

WSL ubuntu in windows 11.

@danielhanchen @shimmyshimmer

everythingisc00l avatar Feb 09 '25 17:02 everythingisc00l

Oh wait Windows machines uses ".exe" - Linux machines do not - would you be able to add a check for linux and windows platforms? I can do it as well! Thanks for the PR!

danielhanchen avatar Feb 10 '25 13:02 danielhanchen

Oh wait Windows machines uses ".exe" - Linux machines do not - would you be able to add a check for linux and windows platforms? I can do it as well! Thanks for the PR!

Yea, i can add this, give me more time

everythingisc00l avatar Feb 10 '25 14:02 everythingisc00l

Fantastic work and neat PR - also thanks for fixing the trailing spaces and stuff :) Good work!

danielhanchen avatar Feb 16 '25 10:02 danielhanchen