suno-ai / bark

🔊 Text-Prompted Generative Audio Model
MIT License
35.52k stars 4.18k forks source link

AttributeError: module 'torch' has no attribute 'compiler' #524

Open MGW68 opened 8 months ago

MGW68 commented 8 months ago

I followed the install instructions. When I try starting with START_BARK_INFINITY.bat, this is the error I get.

Running command: "C:\Bark_Infinity\installer_files\conda\condabin\conda.bat" activate "C:\Bark_Infinity\installer_files\env" >nul && conda Running command: "C:\Bark_Infinity\installer_files\conda\condabin\conda.bat" activate "C:\Bark_Infinity\installer_files\env" >nul && python bark_webui.py Traceback (most recent call last): File "C:\Bark_Infinity\bark\bark_webui.py", line 14, in from bark_infinity import config File "C:\Bark_Infinity\bark\bark_infinity__init.py", line 1, in from .api import generate_audio, text_to_semantic, semantic_to_waveform, save_as_prompt File "C:\Bark_Infinity\bark\bark_infinity\api.py", line 30, in from .clonevoice import wav_to_semantics, generate_fine_from_wav, quick_clone File "C:\Bark_Infinity\bark\bark_infinity\clonevoice.py", line 33, in from bark_infinity.hubert.pre_kmeans_hubert import CustomHubert File "C:\Bark_Infinity\bark\bark_infinity\hubert\pre_kmeans_hubert.py", line 20, in from audiolm_pytorch.utils import curtail_to_multiple File "C:\Bark_Infinity\installer_files\env\lib\site-packages\audiolm_pytorch__init.py", line 8, in from audiolm_pytorch.audiolm_pytorch import AudioLM File "C:\Bark_Infinity\installer_files\env\lib\site-packages\audiolm_pytorch\audiolm_pytorch.py", line 23, in from audiolm_pytorch.soundstream import SoundStream File "C:\Bark_Infinity\installer_files\env\lib\site-packages\audiolm_pytorch\soundstream.py", line 20, in from vector_quantize_pytorch import GroupedResidualVQ File "C:\Bark_Infinity\installer_files\env\lib\site-packages\vector_quantize_pytorch__init__.py", line 2, in from vector_quantize_pytorch.residual_vq import ResidualVQ, GroupedResidualVQ File "C:\Bark_Infinity\installer_files\env\lib\site-packages\vector_quantize_pytorch\residual_vq.py", line 13, in from einx import get_at File "C:\Bark_Infinity\installer_files\env\lib\site-packages\einx\init.py", line 7, in from . import backend File "C:\Bark_Infinity\installer_files\env\lib\site-packages\einx\backend\init__.py", line 27, in _update() File "C:\Bark_Infinity\installer_files\env\lib\site-packages\einx\backend\init__.py", line 25, in _update backends.append(backend_factories[backend_name]()) File "C:\Bark_Infinity\installer_files\env\lib\site-packages\einx\backend_torch.py", line 127, in make_torch_backend einx.lru_cache.decorate_tracedfunctions(torch.compiler.allow_in_graph) AttributeError: module 'torch' has no attribute 'compiler' If there is an error, take note of it here.

crw123 commented 8 months ago

Hello, have you resolved the issue?

MGW68 commented 8 months ago

Hello, have you resolved the issue?

Never did get it to work by following the instructions. I just used Pinokio to install it, and it's working now.

rsxdalv commented 6 months ago

@JonathanFly This issue might have never went to the right repo.

rsxdalv commented 6 months ago

Hello, have you resolved the issue?

Seems like fferflo/einx was updated, so if you can just pip install ... the newer version it should resolve this problem.