mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 10:35:01 +00:00
fix(diffusers): pin torch and torchvision (#1592)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
63ee689f21
commit
0c0bc18c94
2 changed files with 3 additions and 8 deletions
|
@ -11,9 +11,4 @@ if [ "x${BUILD_PROFILE}" == "xintel" ]; then
|
||||||
EXTRA_PIP_INSTALL_FLAGS+=" --upgrade --index-strategy=unsafe-first-match"
|
EXTRA_PIP_INSTALL_FLAGS+=" --upgrade --index-strategy=unsafe-first-match"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# hipblas builds from nightly that needs pre-releases to work
|
|
||||||
if [ "x${BUILD_PROFILE}" == "xhipblas" ]; then
|
|
||||||
EXTRA_PIP_INSTALL_FLAGS+=" --prerelease=allow"
|
|
||||||
fi
|
|
||||||
|
|
||||||
installRequirements
|
installRequirements
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--extra-index-url https://download.pytorch.org/whl/nightly/rocm6.1/
|
--extra-index-url https://download.pytorch.org/whl/rocm6.0
|
||||||
torch
|
torch==2.3.1+rocm6.0
|
||||||
torchvision
|
torchvision==0.18.1+rocm6.0
|
||||||
diffusers
|
diffusers
|
||||||
opencv-python
|
opencv-python
|
||||||
transformers
|
transformers
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue