Skip to content

Commit

Permalink
fix(diffusers): pin torch and torchvision (#1592)
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Di Giacinto <[email protected]>
  • Loading branch information
mudler committed Aug 10, 2024
1 parent 63ee689 commit 0c0bc18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
5 changes: 0 additions & 5 deletions backend/python/diffusers/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,4 @@ if [ "x${BUILD_PROFILE}" == "xintel" ]; then
EXTRA_PIP_INSTALL_FLAGS+=" --upgrade --index-strategy=unsafe-first-match"
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
6 changes: 3 additions & 3 deletions backend/python/diffusers/requirements-hipblas.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--extra-index-url https://download.pytorch.org/whl/nightly/rocm6.1/
torch
torchvision
--extra-index-url https://download.pytorch.org/whl/rocm6.0
torch==2.3.1+rocm6.0
torchvision==0.18.1+rocm6.0
diffusers
opencv-python
transformers
Expand Down

0 comments on commit 0c0bc18

Please sign in to comment.