mirror of
https://github.com/mudler/LocalAI.git
synced 2026-04-01 05:36:49 -04:00
fix(voxcpm): Force using a recent voxcpm version to kick the dependency solver (#9150)
fix(voxcpm): Allow packages to be fetched from all indexes Signed-off-by: Richard Palethorpe <io@richiejp.com>
This commit is contained in:
committed by
GitHub
parent
d3f629f183
commit
cf84db36ec
@@ -8,6 +8,15 @@ else
|
||||
source $backend_dir/../common/libbackend.sh
|
||||
fi
|
||||
|
||||
# The PyTorch CPU/CUDA indexes mirror common packages (e.g. requests) with
|
||||
# limited, often outdated version sets. uv's default "first-index" strategy
|
||||
# locks to the first index that carries a package, so it can pick e.g.
|
||||
# requests==2.28.1 from the PyTorch index instead of a newer version from
|
||||
# PyPI. voxcpm's transitive deps (datasets>=3 → requests>=2.32.2) need the
|
||||
# PyPI versions. "unsafe-best-match" is safe here because we control both
|
||||
# indexes and there is no dependency confusion risk.
|
||||
export UV_INDEX_STRATEGY=unsafe-best-match
|
||||
|
||||
installRequirements
|
||||
|
||||
if [ "x${USE_PIP}" == "xtrue" ]; then
|
||||
|
||||
@@ -3,5 +3,5 @@ torch
|
||||
torchaudio
|
||||
soundfile
|
||||
numpy
|
||||
voxcpm
|
||||
voxcpm>=1.5.0
|
||||
torchcodec
|
||||
Reference in New Issue
Block a user