mirror of
https://github.com/mudler/LocalAI.git
synced 2026-02-14 08:31:10 -05:00
fix(voxcpm): pin setuptools (#8556)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
committed by
GitHub
parent
2ff0ad4190
commit
2fb9940b8a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user