Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions backend/python/voxcpm/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion backend/python/voxcpm/requirements-cpu.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ torch
torchaudio
soundfile
numpy
voxcpm
voxcpm>=1.5.0
torchcodec
Loading