Skip to content

Nightly torchaudio load_lib failure (windows, python 3.8, cuda 11.6 and 11.7) #2726

@izaitsevfb

Description

@izaitsevfb

🐛 Describe the bug

Reproduction steps:

conda install numpy pillow python=3.8
conda install pytorch torchvision torchaudio pytorch-cuda=11.6 -c pytorch-nightly -c nvidia
python

import torch
import torchaudio
Traceback (most recent call last):

[1082](https://github.com/pytorch/builder/actions/runs/3144504415/jobs/5112884720#step:3:1085) File "./test/smoke_test/smoke_test.py", line 5, in <module>

FileNotFoundError: Could not find module 'C:\Miniconda\Lib\site-packages\torchaudio\lib\libtorchaudio.pyd' (or one of its dependencies). Try using the full path with constructor syntax.

[1097](https://github.com/pytorch/builder/actions/runs/3144504415/jobs/5112884720#step:3:1100)Error: Process completed with exit code 1.

Observed in binary validation smoke test: https://github.com/pytorch/builder/actions/runs/3144504415/jobs/5112884720
Reproduced manually on CircleCI.

cc @weiwangmeta @atalman @malfet

Versions

UserWarning: CUDA initialization: The NVIDIA driver on your system is too old (found version 10010). Please update your GPU driver by downloading and installing a new version from the URL: http://www.nvidia.com/Download/index.aspx Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver. (Triggered internally at C:\cb\pytorch_1000000000000\work\c10\cuda\CUDAFunctions.cpp:109.)
  return torch._C._cuda_getDeviceCount() > 0
PyTorch version: 1.13.0.dev20220928
Is debug build: False
CUDA used to build PyTorch: 11.6
ROCM used to build PyTorch: N/A

OS: Microsoft Windows Server 2019 Datacenter
GCC version: Could not collect
Clang version: Could not collect
CMake version: version 3.22.1
Libc version: N/A

Python version: 3.8.13 (default, Mar 28 2022, 06:59:08) [MSC v.1916 64 bit (AMD64)] (64-bit runtime)
Python platform: Windows-10-10.0.17763-SP0
Is CUDA available: False
CUDA runtime version: 11.6.124
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\cudnn64_7.dll
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

Versions of relevant libraries:
[pip3] numpy==1.23.1
[pip3] torch==1.13.0.dev20220928
[pip3] torchaudio==0.13.0.dev20220928
[pip3] torchvision==0.14.0.dev20220928
[conda] blas                      1.0                         mkl
[conda] mkl                       2021.4.0           haa95532_640
[conda] mkl-service               2.4.0            py38h2bbff1b_0
[conda] mkl_fft                   1.3.1            py38h277e83a_0
[conda] mkl_random                1.2.2            py38hf11a4ad_0
[conda] numpy                     1.23.1           py38h7a0a035_0
[conda] numpy-base                1.23.1           py38hca35cd5_0
[conda] pytorch                   1.13.0.dev20220928 py3.8_cuda11.6_cudnn8_0    pytorch-nightly
[conda] pytorch-cuda              11.6                 h867d48c_0    pytorch-nightly
[conda] pytorch-mutex             1.0                        cuda    pytorch-nightly
[conda] torchaudio                0.13.0.dev20220928          pypi_0    pypi
[conda] torchvision               0.14.0.dev20220928          pypi_0    pypi

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions