Skip to content

Commit 26a929a

Browse files
committed
fix(voxcpm): pin setuptools
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
1 parent 2ff0ad4 commit 26a929a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

backend/python/voxcpm/install.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ else
99
fi
1010

1111
installRequirements
12-
12+
13+
if [ "x${USE_PIP}" == "xtrue" ]; then
14+
pip install "setuptools<70.0.0"
15+
else
16+
uv pip install "setuptools<70.0.0"
17+
fi
1318
# Apply patch to fix PyTorch compatibility issue in voxcpm
1419
# This fixes the "Dimension out of range" error in scaled_dot_product_attention
1520
# by changing .contiguous() to .unsqueeze(0) in the attention module

0 commit comments

Comments
 (0)