fix(voxcpm): pin setuptools (#8556)

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto authored and GitHub committed 2026-02-13 23:44:35 +01:00
1 parent 2ff0ad4190
commit 2fb9940b8a
1 file changed
+6 -1
+6 -1
View File
@@ -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