]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
py : fix requirements check '==' -> '~=' (#8982)
authorGeorgi Gerganov <redacted>
Mon, 12 Aug 2024 08:02:01 +0000 (11:02 +0300)
committerGitHub <redacted>
Mon, 12 Aug 2024 08:02:01 +0000 (11:02 +0300)
* py : fix requirements check '==' -> '~='

* cont : fix the fix

* ci : run on all requirements.txt

.github/workflows/python-check-requirements.yml
examples/llava/requirements.txt

index 4e0374fc63d95e2443678bcf6818535d4cf24ceb..46e80aecd0a0cd9d44847d120e2bc9c0026dfc77 100644 (file)
@@ -6,15 +6,13 @@ on:
       - '.github/workflows/python-check-requirements.yml'
       - 'scripts/check-requirements.sh'
       - 'convert*.py'
-      - 'requirements.txt'
-      - 'requirements/*.txt'
+      - '**/requirements*.txt'
   pull_request:
     paths:
       - '.github/workflows/python-check-requirements.yml'
       - 'scripts/check-requirements.sh'
       - 'convert*.py'
-      - 'requirements.txt'
-      - 'requirements/*.txt'
+      - '**/requirements*.txt'
 
 concurrency:
   group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
index dfe5fbe62cea67559572f33efe4847d4fc7121a4..cbcbf26c9b4e92e52af4dd581a8c45579c6d0ba1 100644 (file)
@@ -2,4 +2,4 @@
 --extra-index-url https://download.pytorch.org/whl/cpu
 pillow~=10.2.0
 torch~=2.2.1
-torchvision==0.17.1
+torchvision~=0.17.1