Closed B1ack3ye closed 8 months ago
Hi, thanks for the report. Are other tabs working at all? Opus should work, it worked before, right?
The other tabs work, as far as I have tested.
Opus should work, but I have also tested it with .wav & .mp3 without success.
I haven't managed to get Bark running yet, so I can't say if it worked before.
Well the somewhat good news is that if you get the npz file in any manner (including old version or friends computer) and then copy it to your /voices/ it will work for you. To me this looks like a mystery bug. It's possible that some project broke/changed something and new users (perhaps only new Windows 11 users) get this issue.
Does not mean it can't be fixed.
Mind you, the installation log seems perfect.
Also Unfortunately, I cannot enter a voice file name either. Is because it's an output.
I'll improve that part of react UI.
I did a fresh installation and the errors are the same as described. Bark does not work. I have forwarded the entire output to a log file.
The log is very long;
Thanks this is very helpful. Do you have the file? Could you please upload it here, it seems like the log is cut off at the end.
Oh sorry the error happens earlier than I thought, I see it now.
Installing Bark Voice Clone doesn't work for me either. It fails on both my local computer and on Google Collab. The new React UI doesn't work at all. (Cannot be reached)
Installing Bark Voice Clone doesn't work for me either. It fails on both my local computer and on Google Collab. The new React UI doesn't work at all. (Cannot be reached)
React UI might be running into a problem when trying to launch on your PC. And it can't run on Google colab yet.
related to https://github.com/suno-ai/bark/issues/524
https://pytorch.org/docs/stable/torch.compiler_faq.html#compiling-functions-besides-the-ones-which-are-supported-escape-hatch This error might be starting with torch.compiler.allow_in_graph, and in both cases goes through these packages: bark-voice-cloning-HuBERT-quantizer audiolm-pytorch
After some deep digging I found that this happens in this chain:
And the newest einx version has this bug handled.
If this somehow still happens, installing a newer einx should fix it:
To install it, run cmd_windows.bat, then
pip uninstall einx
pip install einx[torch]
New UI
When I select an audio file (.opus) with Bark Voice generation and try to generate it, I get an error message:
Unfortunately, I cannot enter a voice file name either.
Old UI
I cant install Bark under the old UI. It only shows me error:
When I try to install it, I always get the same result;
Successfully installed bark voice clone, please restart the webui
Log
``` Collecting fairseq@ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl (from -r requirements_bark_hubert_quantizer.txt (line 3)) Downloading https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl (11.0 MB) ---------------------------------------- 11.0/11.0 MB 6.6 MB/s eta 0:00:00 Collecting bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer (from -r requirements_bark_hubert_quantizer.txt (line 4)) Cloning https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer (to revision bark_hubert_quantizer) to c:\users\micro\appdata\local\temp\pip-install-isiur7m_\bark-hubert-quantizer_06b8249e17284cb2a620ef5cf875f324 Running command git clone --filter=blob:none --quiet https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer 'C:\Users\micro\AppData\Local\Temp\pip-install-isiur7m_\bark-hubert-quantizer_06b8249e17284cb2a620ef5cf875f324' Running command git checkout -b bark_hubert_quantizer --track origin/bark_hubert_quantizer branch 'bark_hubert_quantizer' set up to track 'origin/bark_hubert_quantizer'. Switched to a new branch 'bark_hubert_quantizer' Resolved https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer to commit a8cd83859ffded0be8b4afcf00dbdb426e9aa0df Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: torch==2.0.0 in d:\ttsgeneration\installer_files\env\lib\site-packages (from -r requirements_bark_hubert_quantizer.txt (line 1)) (2.0.0) Requirement already satisfied: filelock in d:\ttsgeneration\installer_files\env\lib\site-packages (from torch==2.0.0->-r requirements_bark_hubert_quantizer.txt (line 1)) (3.13.1) Requirement already satisfied: typing-extensions in d:\ttsgeneration\installer_files\env\lib\site-packages (from torch==2.0.0->-r requirements_bark_hubert_quantizer.txt (line 1)) (4.9.0) Requirement already satisfied: sympy in d:\ttsgeneration\installer_files\env\lib\site-packages (from torch==2.0.0->-r requirements_bark_hubert_quantizer.txt (line 1)) (1.12) Requirement already satisfied: networkx in d:\ttsgeneration\installer_files\env\lib\site-packages (from torch==2.0.0->-r requirements_bark_hubert_quantizer.txt (line 1)) (3.1) Requirement already satisfied: jinja2 in d:\ttsgeneration\installer_files\env\lib\site-packages (from torch==2.0.0->-r requirements_bark_hubert_quantizer.txt (line 1)) (3.1.2) Requirement already satisfied: cffi in d:\ttsgeneration\installer_files\env\lib\site-packages (from fairseq@ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl->-r requirements_bark_hubert_quantizer.txt (line 3)) (1.16.0) Requirement already satisfied: cython in d:\ttsgeneration\installer_files\env\lib\site-packages (from fairseq@ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl->-r requirements_bark_hubert_quantizer.txt (line 3)) (0.29.37) Requirement already satisfied: hydra-core<1.1,>=1.0.7 in d:\ttsgeneration\installer_files\env\lib\site-packages (from fairseq@ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl->-r requirements_bark_hubert_quantizer.txt (line 3)) (1.0.7) Requirement already satisfied: omegaconf<2.1 in d:\ttsgeneration\installer_files\env\lib\site-packages (from fairseq@ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl->-r requirements_bark_hubert_quantizer.txt (line 3)) (2.0.6) Requirement already satisfied: numpy>=1.21.3 in d:\ttsgeneration\installer_files\env\lib\site-packages (from fairseq@ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl->-r requirements_bark_hubert_quantizer.txt (line 3)) (1.23.5) Requirement already satisfied: regex in d:\ttsgeneration\installer_files\env\lib\site-packages (from fairseq@ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl->-r requirements_bark_hubert_quantizer.txt (line 3)) (2023.12.25) Requirement already satisfied: sacrebleu>=1.4.12 in d:\ttsgeneration\installer_files\env\lib\site-packages (from fairseq@ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl->-r requirements_bark_hubert_quantizer.txt (line 3)) (2.4.0) Requirement already satisfied: tqdm in d:\ttsgeneration\installer_files\env\lib\site-packages (from fairseq@ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl->-r requirements_bark_hubert_quantizer.txt (line 3)) (4.66.1) Requirement already satisfied: bitarray in d:\ttsgeneration\installer_files\env\lib\site-packages (from fairseq@ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl->-r requirements_bark_hubert_quantizer.txt (line 3)) (2.9.2) Requirement already satisfied: torchaudio>=0.8.0 in d:\ttsgeneration\installer_files\env\lib\site-packages (from fairseq@ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl->-r requirements_bark_hubert_quantizer.txt (line 3)) (2.0.0) Requirement already satisfied: scikit-learn in d:\ttsgeneration\installer_files\env\lib\site-packages (from fairseq@ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl->-r requirements_bark_hubert_quantizer.txt (line 3)) (1.4.0) Requirement already satisfied: packaging in d:\ttsgeneration\installer_files\env\lib\site-packages (from fairseq@ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl->-r requirements_bark_hubert_quantizer.txt (line 3)) (23.2) Requirement already satisfied: audiolm-pytorch<1.2.29,>=1.1.4 in d:\ttsgeneration\installer_files\env\lib\site-packages (from bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (1.2.28) Requirement already satisfied: huggingface-hub in d:\ttsgeneration\installer_files\env\lib\site-packages (from bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (0.20.3) Requirement already satisfied: sentencepiece in d:\ttsgeneration\installer_files\env\lib\site-packages (from bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (0.1.99) Requirement already satisfied: transformers in d:\ttsgeneration\installer_files\env\lib\site-packages (from bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (4.36.1) Requirement already satisfied: encodec in d:\ttsgeneration\installer_files\env\lib\site-packages (from bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (0.1.1) Requirement already satisfied: soundfile in d:\ttsgeneration\installer_files\env\lib\site-packages (from bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (0.12.1) Requirement already satisfied: accelerate in d:\ttsgeneration\installer_files\env\lib\site-packages (from audiolm-pytorch<1.2.29,>=1.1.4->bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (0.26.1) Requirement already satisfied: beartype in d:\ttsgeneration\installer_files\env\lib\site-packages (from audiolm-pytorch<1.2.29,>=1.1.4->bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (0.16.4) Requirement already satisfied: einops>=0.6.1 in d:\ttsgeneration\installer_files\env\lib\site-packages (from audiolm-pytorch<1.2.29,>=1.1.4->bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (0.7.0) Requirement already satisfied: ema-pytorch>=0.2.2 in d:\ttsgeneration\installer_files\env\lib\site-packages (from audiolm-pytorch<1.2.29,>=1.1.4->bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (0.3.2) Requirement already satisfied: joblib in d:\ttsgeneration\installer_files\env\lib\site-packages (from audiolm-pytorch<1.2.29,>=1.1.4->bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (1.3.2) Requirement already satisfied: lion-pytorch in d:\ttsgeneration\installer_files\env\lib\site-packages (from audiolm-pytorch<1.2.29,>=1.1.4->bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (0.1.2) Requirement already satisfied: local-attention>=1.8.4 in d:\ttsgeneration\installer_files\env\lib\site-packages (from audiolm-pytorch<1.2.29,>=1.1.4->bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (1.9.0) Requirement already satisfied: vector-quantize-pytorch>=1.5.14 in d:\ttsgeneration\installer_files\env\lib\site-packages (from audiolm-pytorch<1.2.29,>=1.1.4->bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (1.12.16) Requirement already satisfied: antlr4-python3-runtime==4.8 in d:\ttsgeneration\installer_files\env\lib\site-packages (from hydra-core<1.1,>=1.0.7->fairseq@ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl->-r requirements_bark_hubert_quantizer.txt (line 3)) (4.8) Requirement already satisfied: PyYAML>=5.1.* in d:\ttsgeneration\installer_files\env\lib\site-packages (from omegaconf<2.1->fairseq@ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl->-r requirements_bark_hubert_quantizer.txt (line 3)) (6.0.1) Requirement already satisfied: portalocker in d:\ttsgeneration\installer_files\env\lib\site-packages (from sacrebleu>=1.4.12->fairseq@ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl->-r requirements_bark_hubert_quantizer.txt (line 3)) (2.8.2) Requirement already satisfied: tabulate>=0.8.9 in d:\ttsgeneration\installer_files\env\lib\site-packages (from sacrebleu>=1.4.12->fairseq@ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl->-r requirements_bark_hubert_quantizer.txt (line 3)) (0.9.0) Requirement already satisfied: colorama in d:\ttsgeneration\installer_files\env\lib\site-packages (from sacrebleu>=1.4.12->fairseq@ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl->-r requirements_bark_hubert_quantizer.txt (line 3)) (0.4.6) Requirement already satisfied: lxml in d:\ttsgeneration\installer_files\env\lib\site-packages (from sacrebleu>=1.4.12->fairseq@ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl->-r requirements_bark_hubert_quantizer.txt (line 3)) (5.1.0) Requirement already satisfied: pycparser in d:\ttsgeneration\installer_files\env\lib\site-packages (from cffi->fairseq@ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl->-r requirements_bark_hubert_quantizer.txt (line 3)) (2.21) Requirement already satisfied: fsspec>=2023.5.0 in d:\ttsgeneration\installer_files\env\lib\site-packages (from huggingface-hub->bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (2023.12.2) Requirement already satisfied: requests in d:\ttsgeneration\installer_files\env\lib\site-packages (from huggingface-hub->bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (2.31.0) Requirement already satisfied: MarkupSafe>=2.0 in d:\ttsgeneration\installer_files\env\lib\site-packages (from jinja2->torch==2.0.0->-r requirements_bark_hubert_quantizer.txt (line 1)) (2.1.3) Requirement already satisfied: scipy>=1.6.0 in d:\ttsgeneration\installer_files\env\lib\site-packages (from scikit-learn->fairseq@ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl->-r requirements_bark_hubert_quantizer.txt (line 3)) (1.9.3) Requirement already satisfied: threadpoolctl>=2.0.0 in d:\ttsgeneration\installer_files\env\lib\site-packages (from scikit-learn->fairseq@ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl->-r requirements_bark_hubert_quantizer.txt (line 3)) (3.2.0) Requirement already satisfied: mpmath>=0.19 in d:\ttsgeneration\installer_files\env\lib\site-packages (from sympy->torch==2.0.0->-r requirements_bark_hubert_quantizer.txt (line 1)) (1.3.0) Requirement already satisfied: tokenizers<0.19,>=0.14 in d:\ttsgeneration\installer_files\env\lib\site-packages (from transformers->bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (0.15.1) Requirement already satisfied: safetensors>=0.3.1 in d:\ttsgeneration\installer_files\env\lib\site-packages (from transformers->bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (0.3.1) Requirement already satisfied: einx in d:\ttsgeneration\installer_files\env\lib\site-packages (from vector-quantize-pytorch>=1.5.14->audiolm-pytorch<1.2.29,>=1.1.4->bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (0.1.1) Requirement already satisfied: psutil in d:\ttsgeneration\installer_files\env\lib\site-packages (from accelerate->audiolm-pytorch<1.2.29,>=1.1.4->bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (5.9.8) Requirement already satisfied: pywin32>=226 in d:\ttsgeneration\installer_files\env\lib\site-packages (from portalocker->sacrebleu>=1.4.12->fairseq@ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl->-r requirements_bark_hubert_quantizer.txt (line 3)) (306) Requirement already satisfied: charset-normalizer<4,>=2 in d:\ttsgeneration\installer_files\env\lib\site-packages (from requests->huggingface-hub->bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (2.0.4) Requirement already satisfied: idna<4,>=2.5 in d:\ttsgeneration\installer_files\env\lib\site-packages (from requests->huggingface-hub->bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (3.4) Requirement already satisfied: urllib3<3,>=1.21.1 in d:\ttsgeneration\installer_files\env\lib\site-packages (from requests->huggingface-hub->bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (1.26.18) Requirement already satisfied: certifi>=2017.4.17 in d:\ttsgeneration\installer_files\env\lib\site-packages (from requests->huggingface-hub->bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (2023.11.17) Requirement already satisfied: frozendict in d:\ttsgeneration\installer_files\env\lib\site-packages (from einx->vector-quantize-pytorch>=1.5.14->audiolm-pytorch<1.2.29,>=1.1.4->bark_hubert_quantizer@ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer->-r requirements_bark_hubert_quantizer.txt (line 4)) (2.4.0) DEPRECATION: omegaconf 2.0.6 has a non-standard dependency specifier PyYAML>=5.1.*. pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of omegaconf or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063 Successfully installed bark voice clone ```OS: Windows 11