From 2fb9940b8ad63f03a033993048144fd632ea4604 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Fri, 13 Feb 2026 23:44:35 +0100 Subject: [PATCH] fix(voxcpm): pin setuptools (#8556) Signed-off-by: Ettore Di Giacinto --- backend/python/voxcpm/install.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/backend/python/voxcpm/install.sh b/backend/python/voxcpm/install.sh index ed1f3c707..a50b07dd2 100755 --- a/backend/python/voxcpm/install.sh +++ b/backend/python/voxcpm/install.sh @@ -9,7 +9,12 @@ else fi installRequirements - + +if [ "x${USE_PIP}" == "xtrue" ]; then + pip install "setuptools<70.0.0" +else + uv pip install "setuptools<70.0.0" +fi # Apply patch to fix PyTorch compatibility issue in voxcpm # This fixes the "Dimension out of range" error in scaled_dot_product_attention # by changing .contiguous() to .unsqueeze(0) in the attention module