A fresh .venv built from build_uv_env.sh installs torchaudio 2.11.0 against torch 2.7.0. The ABI mismatch throws OSError: undefined symbol: torch_library_impl on first import, which crashes the very first complexa download.
Severity: High · Status: workaround verified; upstream open
Steps to reproduce
- Build the UV env from scratch (
build_uv_env.sh).
- Run
complexa download (or anything importing torch/torchaudio).
- →
OSError: undefined symbol: torch_library_impl.
Fix
Pin a compatible torchaudio:
uv pip install --torch-backend=cu126 --reinstall-package torchaudio "torchaudio==2.7.0"
build_uv_env.sh should pin torchaudio==2.7.0.
Environment
- NVIDIA A100 80GB PCIe · driver 565.57.01 · CUDA 12.7
- Repo: branch
dev @ 916eaae
- Runtime: UV (
.venv + env.sh)
A fresh
.venvbuilt frombuild_uv_env.shinstallstorchaudio 2.11.0againsttorch 2.7.0. The ABI mismatch throwsOSError: undefined symbol: torch_library_implon first import, which crashes the very firstcomplexa download.Severity: High · Status: workaround verified; upstream open
Steps to reproduce
build_uv_env.sh).complexa download(or anything importing torch/torchaudio).OSError: undefined symbol: torch_library_impl.Fix
Pin a compatible torchaudio:
build_uv_env.shshould pintorchaudio==2.7.0.Environment
dev@916eaae.venv+env.sh)