• Nikita Shulga's avatar
    Fix CUDA build logic for _torchaudio.so (#1737) · e3c082b7
    Nikita Shulga authored
    It's wrong to depend on `${TORCH_LIBRARIES}` as it pulls in explicit
    `libcuda.so.1` dependency, which violates the assumption that GPU
    accelerated libraries should be loadable with no NVIDIA drivers installed
    
    Instead, make it depend on `torch` target, which includes all necessary
    Torch C++ API dependences
    e3c082b7
CMakeLists.txt 863 Bytes