-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Update python verions #13574
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
Open
robbiemu
wants to merge
20
commits into
ggml-org:master
Choose a base branch
from
robbiemu:update_python_verions
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Update python verions #13574
Changes from 15 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
91b5d14
Updates Python and torch versions
robbiemu c99863b
Updates torchvision dependency
robbiemu ef77f28
Updates NumPy dependency to version 2.1 or higher
robbiemu c278aff
pyright-based changes for tools/mtmd/legacy-models/convert_image_enc…
robbiemu a6ab097
Fixes type annotation for numpy arrays
robbiemu eb7cef1
Updates type hints for numpy compatibility
robbiemu 150f157
Better fix than earlier for quants.py
robbiemu 822c83c
Several types in numpy 2.2+ are defined as typeAliases with no underl…
robbiemu 4cfda13
revert change from NDArray in this file
robbiemu 2f3854c
Updates pyright configuration
robbiemu eb6499c
Revert tools/mtmd/ to match master
robbiemu ba079d3
Revert "Revert tools/mtmd/ to match master"
robbiemu 1434730
reverting change to legacy-models script
robbiemu afd66e9
Excludes legacy models from type checking
robbiemu 6ee8253
Configures pyright to ignore invalid type forms
robbiemu d49b004
Uses `np.dtype` for NumPy type hints in GGUF reader
robbiemu a5c74dd
reverting removal of DTypeLike changes
robbiemu 3400755
Fixes byteorder check and removes unrequested exclusion tests
robbiemu 4802d01
reverting unnecessary changes in gguf-py/gguf as of numpy 2.2.6
robbiemu 0570f17
pyrightconfig.json
robbiemu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
-r ./requirements-convert_legacy_llama.txt | ||
--extra-index-url https://download.pytorch.org/whl/cpu | ||
torch~=2.2.1 | ||
torch>=2.5.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
-r ./requirements-convert_legacy_llama.txt | ||
--extra-index-url https://download.pytorch.org/whl/cpu | ||
torch~=2.2.1 | ||
torch>=2.5.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
numpy~=1.26.4 | ||
numpy>=2.1 | ||
sentencepiece~=0.2.0 | ||
transformers>=4.45.1,<5.0.0 | ||
gguf>=0.1.0 | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
numpy~=1.26.4 | ||
numpy>=2.1 | ||
PySide6~=6.9.0 | ||
gguf>=0.16.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
-r ../../requirements/requirements-convert_legacy_llama.txt | ||
--extra-index-url https://download.pytorch.org/whl/cpu | ||
pillow~=10.2.0 | ||
torch~=2.2.1 | ||
torchvision~=0.17.1 | ||
torch>=2.5 | ||
torchvision>=0.20.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
aiohttp~=3.9.3 | ||
pytest~=8.3.3 | ||
huggingface_hub~=0.23.2 | ||
numpy~=1.26.4 | ||
numpy>=2.1 | ||
openai~=1.55.3 | ||
prometheus-client~=0.20.0 | ||
requests~=2.32.3 | ||
requests>=2.28.1 | ||
wget~=3.2 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.