mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-08-12 22:31:11 +04:00
requirements: use stable torch packages on s390x (#26864)
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
--extra-index-url https://download.pytorch.org/whl/cpu
|
--extra-index-url https://download.pytorch.org/whl/cpu
|
||||||
torch
|
torch
|
||||||
torchvision
|
torchvision; platform_machine != "s390x"
|
||||||
transformers
|
transformers
|
||||||
huggingface-hub
|
huggingface-hub
|
||||||
accelerate
|
accelerate
|
||||||
|
|||||||
@@ -2,8 +2,4 @@
|
|||||||
--extra-index-url https://download.pytorch.org/whl/cpu
|
--extra-index-url https://download.pytorch.org/whl/cpu
|
||||||
|
|
||||||
## Embedding Gemma requires PyTorch 2.6.0 or later, bumped to 2.11.0 for compatibility
|
## Embedding Gemma requires PyTorch 2.6.0 or later, bumped to 2.11.0 for compatibility
|
||||||
torch==2.11.0; platform_machine != "s390x"
|
torch==2.11.0
|
||||||
|
|
||||||
# torch s390x packages can only be found from nightly builds
|
|
||||||
--extra-index-url https://download.pytorch.org/whl/nightly
|
|
||||||
torch>=0.0.0.dev0; platform_machine == "s390x"
|
|
||||||
|
|||||||
@@ -1,4 +1,2 @@
|
|||||||
-r ./requirements-convert_hf_to_gguf.txt
|
-r ./requirements-convert_hf_to_gguf.txt
|
||||||
--extra-index-url https://download.pytorch.org/whl/cpu
|
--extra-index-url https://download.pytorch.org/whl/cpu
|
||||||
# torch s390x packages can only be found from nightly builds
|
|
||||||
--extra-index-url https://download.pytorch.org/whl/nightly
|
|
||||||
|
|||||||
@@ -2,11 +2,5 @@
|
|||||||
--extra-index-url https://download.pytorch.org/whl/cpu
|
--extra-index-url https://download.pytorch.org/whl/cpu
|
||||||
pillow~=11.3.0
|
pillow~=11.3.0
|
||||||
|
|
||||||
## Embedding Gemma requires PyTorch 2.6.0 or later, bumped to 2.11.0 for compatibility
|
torch==2.11.0 # check_requirements: ignore "=="
|
||||||
torch==2.11.0; platform_machine != "s390x" # check_requirements: ignore "=="
|
|
||||||
torchvision==0.26.0; platform_machine != "s390x" # check_requirements: ignore "=="
|
torchvision==0.26.0; platform_machine != "s390x" # check_requirements: ignore "=="
|
||||||
|
|
||||||
# torch s390x packages can only be found from nightly builds
|
|
||||||
--extra-index-url https://download.pytorch.org/whl/nightly
|
|
||||||
torch>=0.0.0.dev0; platform_machine == "s390x" # check_requirements: ignore "=="
|
|
||||||
torchvision>=0.0.0.dev0; platform_machine == "s390x" # check_requirements: ignore "=="
|
|
||||||
|
|||||||
Reference in New Issue
Block a user