Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add safetensors support to convert-lora-to-ggml.py #5062

Merged

Conversation

kuronekosaiko
Copy link
Contributor

Huggingface will save trained Lora in Safetensors format by default, Safetensors format can be easily loaded with safetensors.torch.load_file(path).

@slaren
Copy link
Collaborator

slaren commented Jan 21, 2024

Looks good, thanks.

@slaren slaren merged commit 05490fa into ggerganov:master Jan 21, 2024
17 checks passed
jordankanter pushed a commit to jordankanter/llama.cpp that referenced this pull request Feb 3, 2024
* add safetensors support to convert-lora-to-ggml.py

* Update convert-lora-to-ggml.py

Remove white space in line 69.
hodlen pushed a commit to hodlen/llama.cpp that referenced this pull request Apr 1, 2024
* add safetensors support to convert-lora-to-ggml.py

* Update convert-lora-to-ggml.py

Remove white space in line 69.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants