Skip to content

[Proteina-Complexa] Fresh UV env installs a torchaudio incompatible with torch → import crash #42

@xinyu-dev

Description

@xinyu-dev

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

  1. Build the UV env from scratch (build_uv_env.sh).
  2. Run complexa download (or anything importing torch/torchaudio).
  3. 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions