mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 18:45:00 +00:00
fix(python): move accelerate and GPU-specific libs to build-type (#3194)
Some of the dependencies in `requirements.txt`, even if generic, pulls down the line CUDA libraries. This changes moves mostly all GPU-specific libs to the build-type, and tries a safer approach. In `requirements.txt` now are listed only "first-level" dependencies, for instance, grpc, but libs-dependencies are moved down to the respective build-type `requirements.txt` to avoid any mixin. This should fix #2737 and #1592. Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
abcf0ff000
commit
61b5602111
79 changed files with 212 additions and 61 deletions
3
backend/python/parler-tts/requirements-cpu.txt
Normal file
3
backend/python/parler-tts/requirements-cpu.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
transformers
|
||||
accelerate
|
||||
torch
|
|
@ -1,3 +1,5 @@
|
|||
--extra-index-url https://download.pytorch.org/whl/cu118
|
||||
torch
|
||||
torchaudio
|
||||
torchaudio
|
||||
transformers
|
||||
accelerate
|
|
@ -1,2 +1,4 @@
|
|||
torch
|
||||
torchaudio
|
||||
torchaudio
|
||||
transformers
|
||||
accelerate
|
|
@ -1,3 +1,5 @@
|
|||
--extra-index-url https://download.pytorch.org/whl/rocm6.0
|
||||
torch
|
||||
torchaudio
|
||||
torchaudio
|
||||
transformers
|
||||
accelerate
|
|
@ -3,4 +3,6 @@ intel-extension-for-pytorch
|
|||
torch
|
||||
torchaudio
|
||||
optimum[openvino]
|
||||
setuptools==72.1.0 # https://github.com/mudler/LocalAI/issues/2406
|
||||
setuptools==72.1.0 # https://github.com/mudler/LocalAI/issues/2406
|
||||
transformers
|
||||
accelerate
|
|
@ -1,6 +1,4 @@
|
|||
accelerate
|
||||
grpcio==1.65.1
|
||||
protobuf
|
||||
git+https://github.com/huggingface/parler-tts.git@10016fb0300c0dc31a0fb70e26f3affee7b62f16
|
||||
certifi
|
||||
transformers
|
||||
certifi
|
Loading…
Add table
Add a link
Reference in a new issue