Open Eldiablozzz opened 1 year ago
had the same libtorchaudio.pyd error message when cuda was not installed on torch and torchaudio. after deinstalling torch and reinstalling i got it working with:
Windows 10 - CUDA 117 torch 2.01+cu117 torchaudio 2.02+cu117 torchvision 0.15.2+cu117
had the same libtorchaudio.pyd error message when cuda was not installed on torch and torchaudio. after deinstalling torch and reinstalling i got it working with:
Windows 10 - CUDA 117 torch 2.01+cu117 torchaudio 2.02+cu117 torchvision 0.15.2+cu117
Thanks already reinstalling it, funny thing is it writes as installed with cuda and still makes it cpu version.
I have everything installed without errors still i cant run it. This is the error i get when i run app.py: E:\audiocraft>python app.py Traceback (most recent call last): File "E:\audiocraft\app.py", line 11, in
from audiocraft.models import MusicGen
File "E:\audiocraft\audiocraft__init.py", line 8, in
from . import data, modules, models
File "E:\audiocraft\audiocraft\data__init__.py", line 8, in
from . import audio, audio_dataset
File "E:\audiocraft\audiocraft\data\audio.py", line 21, in
import torchaudio as ta
File "E:\Python\Python310\lib\site-packages\torchaudio__init__.py", line 1, in
from torchaudio import ( # noqa: F401
File "E:\Python\Python310\lib\site-packages\torchaudio_extension\ init.py", line 43, in
_load_lib("libtorchaudio")
File "E:\Python\Python310\lib\site-packages\torchaudio_extension\utils.py", line 61, in _load_lib
torch.ops.load_library(path)
File "E:\Python\Python310\lib\site-packages\torch_ops.py", line 643, in load_library
ctypes.CDLL(path)
File "E:\Python\Python310\lib\ctypes\ init.py", line 374, in init__
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'E:\Python\Python310\Lib\site-packages\torchaudio\lib\libtorchaudio.pyd' (or one of its dependencies). Try using the full path with constructor syntax.