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

gguf-py: fixed local detection of gguf package #11180

Merged
merged 3 commits into from
Jan 11, 2025

Conversation

VJHack
Copy link
Contributor

@VJHack VJHack commented Jan 10, 2025

The local detection of gguf python package was broken after #11116 in all python files inside gguf-py/gguf/scripts after it had been moved. This impacted users if they didn't have gguf installed from PyPI.

The fix updated the relative path to gguf-py and the root level gguf package.

@github-actions github-actions bot added the python python script changes label Jan 10, 2025
@VJHack
Copy link
Contributor Author

VJHack commented Jan 10, 2025

@LostRuins You mentioned that there were 8 files where this change needed to be made. I only found 5 of them.

The impact was only on the files in the scripts directory from what I can tell. Can you point me to where the other files are?

@VJHack VJHack marked this pull request as ready for review January 10, 2025 20:42
@VJHack VJHack changed the title gguf-py: Fixed local detection of gguf pacakge gguf-py: fixed local detection of gguf pacakge Jan 10, 2025
@VJHack VJHack changed the title gguf-py: fixed local detection of gguf pacakge gguf-py: fixed local detection of gguf package Jan 10, 2025
Copy link
Collaborator

@compilade compilade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The impact was only on the files in the scripts directory from what I can tell.

I agree, the other files were not moved and so their relative path insert for the local gguf-py should be unnaffected.

@LostRuins
Copy link
Collaborator

Yeah only the scripts folder should be affected, sorry. I just estimated based on a quick code search

image

@ggerganov ggerganov merged commit c05e8c9 into ggml-org:master Jan 11, 2025
4 checks passed
tinglou pushed a commit to tinglou/llama.cpp that referenced this pull request Feb 13, 2025
* updated path to gguf package for non-installed setups

* added reader.py to readme

* Bumped gguf version to 0.15.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python python script changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants