Closed PawKanarek closed 9 months ago
So the error is on this line But it is odd that this error would occur, since only one version of bark should be installable as seen here It should not differ, can you compare the _download from This commit with the one in your venv's packages folder? They should be the same
Thanks, you gave me some insights that there might something wrong with my environment so i did full cleanup. I made new conda virtual environment with command conda activate audio
, then I Installed python 3.10.8
with command conda install python=3.10.8
Then I excectued python main.py -sv -u 'user' -p 'pass'
and i got this error:
python main.py -sv -u 'user' -p 'pass'
Checking installs and venv + autodebug checks
Python version: 3.10.8 (main, Nov 24 2022, 08:08:27) [Clang 14.0.6 ]
Webui version: 98f43a2b44a703d809f65943a62009274e13c804 - Mon Oct 16 16:34:42 2023 +0200
Found extensions:
Installed packaging!
Installed numpy!
Failed to install PyTorch. Check AutoDebug output.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█░▄▄▀██░██░█▄▄░▄▄██░▄▄▄░██░▄▄▀██░▄▄▄██░▄▄▀██░██░██░▄▄░██
█░▀▀░██░██░███░████░███░██░██░██░▄▄▄██░▄▄▀██░██░██░█▀▀██
█░██░██▄▀▀▄███░████░▀▀▀░██░▀▀░██░▀▀▀██░▀▀░██▄▀▀▄██░▀▀▄██
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Install failed!
STDOUT:
Looking in indexes: https://download.pytorch.org/whl/cu117
STDERR:
ERROR: Could not find a version that satisfies the requirement torch (from versions: none)
ERROR: No matching distribution found for torch
Please read the error above carefully.
I figured it out that there is some problem with torch
, to fix it i had to manually install it with command conda install pytorch torchvision torchaudio -c pytorch
. Then i again run command python main.py -sv -u 'user' -p 'pass'
and i got this error:
(audio) ➜ ~/git/audio-webui git:(master) ✗ python main.py -sv -u 'user' -p 'pass'
Checking installs and venv + autodebug checks
Python version: 3.10.8 (main, Nov 24 2022, 08:08:27) [Clang 14.0.6 ]
Webui version: 98f43a2b44a703d809f65943a62009274e13c804 - Mon Oct 16 16:34:42 2023 +0200
Found extensions:
Installed transformers!
Installed diffusers!
Installed gradio!
Installed huggingface-hub!
Installed audio2numpy!
Installed bark!
Installed sox!
Installed audiolm!
Installed praat-parselmouth!
Installed pyworld!
Installed faiss!
Installed torchcrepe!
Installed ffmpeg-python!
Installed noisereduce!
Installed demucs!
Installed pytube!
Installed openai-whisper!
Installed audiocraft!
Installed beartype!
Done installing/checking installs.
Activating extensions
Preparing
Triton is not available, some optimizations will not be enabled.
This is just a warning: triton is not available
2023-10-16 19:14:38 | INFO | fairseq.tasks.text_to_speech | Please install tensorboardX: pip install tensorboardX
Traceback (most recent call last):
File "/Users/raix/git/audio-webui/main.py", line 26, in <module>
from webui.modules.implementations.tts_monkeypatching import patch as patch1
File "/Users/raix/git/audio-webui/webui/modules/implementations/__init__.py", line 1, in <module>
import webui.modules.implementations.ttsmodels as tts
File "/Users/raix/git/audio-webui/webui/modules/implementations/ttsmodels.py", line 15, in <module>
from webui.modules.implementations.patches.bark_custom_voices import wav_to_semantics, generate_fine_from_wav, \
File "/Users/raix/git/audio-webui/webui/modules/implementations/patches/bark_custom_voices.py", line 8, in <module>
from webui.modules.implementations.patches.bark_generation import generate_text_semantic_new, generate_coarse_new, generate_fine_new
File "/Users/raix/git/audio-webui/webui/modules/implementations/patches/bark_generation.py", line 7, in <module>
from webui.ui.tabs import settings
File "/Users/raix/git/audio-webui/webui/ui/tabs/__init__.py", line 4, in <module>
from .utils import utils_tab
File "/Users/raix/git/audio-webui/webui/ui/tabs/utils.py", line 12, in <module>
import librosa
File "/Users/raix/miniconda3/envs/audio/lib/python3.10/site-packages/librosa/__init__.py", line 209, in <module>
from . import core
File "/Users/raix/miniconda3/envs/audio/lib/python3.10/site-packages/librosa/core/__init__.py", line 5, in <module>
from .convert import * # pylint: disable=wildcard-import
File "/Users/raix/miniconda3/envs/audio/lib/python3.10/site-packages/librosa/core/convert.py", line 7, in <module>
from . import notation
File "/Users/raix/miniconda3/envs/audio/lib/python3.10/site-packages/librosa/core/notation.py", line 8, in <module>
from ..util.exceptions import ParameterError
File "/Users/raix/miniconda3/envs/audio/lib/python3.10/site-packages/librosa/util/__init__.py", line 77, in <module>
from .utils import * # pylint: disable=wildcard-import
File "/Users/raix/miniconda3/envs/audio/lib/python3.10/site-packages/librosa/util/utils.py", line 9, in <module>
import numba
File "/Users/raix/miniconda3/envs/audio/lib/python3.10/site-packages/numba/__init__.py", line 55, in <module>
_ensure_critical_deps()
File "/Users/raix/miniconda3/envs/audio/lib/python3.10/site-packages/numba/__init__.py", line 42, in _ensure_critical_deps
raise ImportError("Numba needs NumPy 1.25 or less")
ImportError: Numba needs NumPy 1.25 or less
Numba needs NumPy 1.25 or less
Your install might have failed to install one of the requirements, are you missing a package?
You can read common issues at https://github.com/gitmylo/audio-webui/wiki/common-issues
^CTraceback (most recent call last):
File "/Users/raix/git/audio-webui/main.py", line 26, in <module>
from webui.modules.implementations.tts_monkeypatching import patch as patch1
File "/Users/raix/git/audio-webui/webui/modules/implementations/__init__.py", line 1, in <module>
import webui.modules.implementations.ttsmodels as tts
File "/Users/raix/git/audio-webui/webui/modules/implementations/ttsmodels.py", line 15, in <module>
from webui.modules.implementations.patches.bark_custom_voices import wav_to_semantics, generate_fine_from_wav, \
File "/Users/raix/git/audio-webui/webui/modules/implementations/patches/bark_custom_voices.py", line 8, in <module>
from webui.modules.implementations.patches.bark_generation import generate_text_semantic_new, generate_coarse_new, generate_fine_new
File "/Users/raix/git/audio-webui/webui/modules/implementations/patches/bark_generation.py", line 7, in <module>
from webui.ui.tabs import settings
File "/Users/raix/git/audio-webui/webui/ui/tabs/__init__.py", line 4, in <module>
from .utils import utils_tab
File "/Users/raix/git/audio-webui/webui/ui/tabs/utils.py", line 12, in <module>
import librosa
File "/Users/raix/miniconda3/envs/audio/lib/python3.10/site-packages/librosa/__init__.py", line 209, in <module>
from . import core
File "/Users/raix/miniconda3/envs/audio/lib/python3.10/site-packages/librosa/core/__init__.py", line 5, in <module>
from .convert import * # pylint: disable=wildcard-import
File "/Users/raix/miniconda3/envs/audio/lib/python3.10/site-packages/librosa/core/convert.py", line 7, in <module>
from . import notation
File "/Users/raix/miniconda3/envs/audio/lib/python3.10/site-packages/librosa/core/notation.py", line 8, in <module>
from ..util.exceptions import ParameterError
File "/Users/raix/miniconda3/envs/audio/lib/python3.10/site-packages/librosa/util/__init__.py", line 77, in <module>
from .utils import * # pylint: disable=wildcard-import
File "/Users/raix/miniconda3/envs/audio/lib/python3.10/site-packages/librosa/util/utils.py", line 9, in <module>
import numba
File "/Users/raix/miniconda3/envs/audio/lib/python3.10/site-packages/numba/__init__.py", line 55, in <module>
_ensure_critical_deps()
File "/Users/raix/miniconda3/envs/audio/lib/python3.10/site-packages/numba/__init__.py", line 42, in _ensure_critical_deps
raise ImportError("Numba needs NumPy 1.25 or less")
ImportError: Numba needs NumPy 1.25 or less
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/raix/git/audio-webui/main.py", line 44, in <module>
autodebug.catcher(e)
File "/Users/raix/git/audio-webui/autodebug/autodebug.py", line 77, in catcher
input()
KeyboardInterrupt
So i did pip install tensorboardX
and conda install numpy=1.25.2
After this server started successfully and i could download suno/bark
model. THANK YOU! <3
Describe the bug I got an error after selecting model
suno/bark
from dropdown menu:in terminal console i have following output:
To Reproduce Steps to reproduce the behavior:
python main.py -sv -u 'user' -p 'pass'
suno/bark
in "Text to speech" tabScreenshots![image](https://github.com/gitmylo/audio-webui/assets/15096514/9c11a01b-844d-45a5-8e88-fb5ce1101707)
Additional context Working on mac m1, working on commit sha 4b54d93744e680a94bb0fda581f76fe5d28fc8a5, (current master)