rsxdalv / tts-generation-webui

TTS Generation Web UI (Bark, MusicGen + AudioGen, Tortoise, RVC, Vocos, Demucs, SeamlessM4T, MAGNet, StyleTTS2, MMS)
https://rsxdalv.github.io/tts-generation-webui/
MIT License
1.71k stars 183 forks source link

Mac M1 - Error during installation of tts-generation-webui related to missing symbols in torchaudio library #387

Open ToanTruongAnh opened 4 days ago

ToanTruongAnh commented 4 days ago

While trying to install and run the tts-generation-webui, I follow fresh install. here is the full log. Please help, I'm new to this. Thanks. fullLog tts-generation-webui-main.txt

rsxdalv commented 4 days ago

Thank you for the full log. It seems like the some things installed correctly so the error is not yet obvious and I'll research more. Could you also run the installer_scripts/diagnostics.sh please?

On Sat, Oct 5, 2024, 1:58 PM Toan Truong Anh @.***> wrote:

While trying to install and run the tts-generation-webui, I follow fresh install. here is the full log. Please help, I'm new to this. Thanks. fullLog tts-generation-webui-main.txt https://github.com/user-attachments/files/17265858/fullLog.tts-generation-webui-main.txt

— Reply to this email directly, view it on GitHub https://github.com/rsxdalv/tts-generation-webui/issues/387, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTRXIZDN5AR2YKWVQ25SMLZZ7A3ZAVCNFSM6AAAAABPNHX25GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU3DOOBWGEYDSNA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ToanTruongAnh commented 4 days ago

Sure, I run the diagnostic.sh and here the result: diagnostic.txt But in the terminal I also see this error: Generating diagnostic... /Users/yuki/Downloads/tts-generation-webui-main/installer_scripts/diagnostic_inner.sh: line 27: /Users/yuki/Downloads/tts-generation-webui-main/installer_scripts/activate.sh: No such file or directory Diagnostic generated.

rsxdalv commented 4 days ago

Thanks, I was able to see multiple problems in the installation script, so I should be able to prevent issues for more users in the future.

To validate if the new method will work, could you please run conda_env_bash.sh and do (venv) conda install -y -k --force-reinstall pytorch=2.3.1 torchvision=2.3.1 torchaudio cpuonly -c pytorch

If that also fails, maybe pip installation will get the matching pytorch & torchvision build: (venv) pip install torch=2.3.1 torchvision=2.3.1 torchaudio

ToanTruongAnh commented 3 days ago

Hi @rsxdalv , i followed the steps, but change the command "conda install -y -k --force-reinstall pytorch=2.3.1 torchvision=2.3.1 torchaudio cpuonly -c pytorch" to "conda install -y -k --force-reinstall pytorch=2.3.1 torchvision=0.18.1 torchaudio=2.3.1 cpuonly -c pytorch" as the torchvision 0.18.1 is a match version for it. Is it correct? Also here is the full log log_after change to 2.3.1 tts-generation-webui-main.txt I still got the error.

rsxdalv commented 3 days ago

Conda skipped the reinstall because the packages were already "2.3.1". I will need to make the command more specific to force the reinstall. As for torch vision, it should detect the right version automatically but either 0.18.1 or nothing should be fine.

On Sun, Oct 6, 2024, 7:28 AM Toan Truong Anh @.***> wrote:

Hi @rsxdalv https://github.com/rsxdalv , i followed the steps, but change the command "conda install -y -k --force-reinstall pytorch=2.3.1 torchvision=2.3.1 torchaudio cpuonly -c pytorch" to "conda install -y -k --force-reinstall pytorch=2.3.1 torchvision=0.18.1 torchaudio=2.3.1 cpuonly -c pytorch" as the torchvision 0.18.1 is a match version for it. Is it correct? Also here is the full log log_after change to 2.3.1 tts-generation-webui-main.txt https://github.com/user-attachments/files/17268191/log_after.change.to.2.3.1.tts-generation-webui-main.txt I still got the error.

— Reply to this email directly, view it on GitHub https://github.com/rsxdalv/tts-generation-webui/issues/387#issuecomment-2395289105, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTRXIYZD2HOEVPVK6DBMHDZ2C36DAVCNFSM6AAAAABPNHX25GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJVGI4DSMJQGU . You are receiving this because you were mentioned.Message ID: @.***>