From 5fcafc3d1e530aed28fb298bf36583f0814884f5 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Fri, 9 Aug 2024 11:07:38 +0200 Subject: [PATCH] fix(diffusers): allow pre-releases for requirements Signed-off-by: Ettore Di Giacinto --- backend/python/diffusers/install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backend/python/diffusers/install.sh b/backend/python/diffusers/install.sh index 36443ef1..b0b46a86 100755 --- a/backend/python/diffusers/install.sh +++ b/backend/python/diffusers/install.sh @@ -11,4 +11,9 @@ 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