conda-forge / miniforge

A conda-forge distribution.
https://conda-forge.org/miniforge
Other
6.25k stars 323 forks source link

Missing hubert manager`? #454

Closed mertakbal closed 1 year ago

mertakbal commented 1 year ago

Solution to issue cannot be found in the documentation.

Issue

When starting the webui I get the following error message. I searched but couldnt find how to install the missing hubert manager

(bark-infinity-oneclick) **~/bark $ python bark_webui.py

torch version does not support flash attention. You generation.py:129 will get faster inference speed by upgrade torch to newest nightly version. Current working directory: /home/mrt/bark Install dir: /home/jon/mamba_projects/bark_infinity_cloning/bark/bark_infinity/hubert Traceback (most recent call last) ──────────────────────╮ │ /home/mrt/bark/bark_webui.py:35 in │ │ │ │ 32 │ │ 33 # If anyone is looking at this code, I just took gradio blocks kitche │ │ 34 │ │ ❱ 35 from bark_infinity.clonevoice import clone_voice │ │ 36 │ │ 37 import threading │ │ 38 import time │ │ │ │ /home/mrt/bark/bark_infinity/clonevoice.py:232 in │ │ │ │ 229 │ generation.OFFLOAD_CPU = old │ │ 230 │ return f"Voice cloning process completed. You'll find your clones │ │ 231 │ │ ❱ 232 HuBERTManager.make_sure_hubert_installed() │ │ 233 HuBERTManager.make_sure_tokenizer_installed() │ │ 234 │ │ 235 │ │ │ │ /home/mrt/bark/bark_infinity/hubert/hubert_manager.py:17 in │ │ make_sure_hubert_installed │ │ │ │ 14 │ │ install_dir = os.path.join('/home/jon/mamba_projects/bark_infin │ │ 15 │ │ print(f"Install dir: {install_dir}") │ │ 16 │ │ if not os.path.isdir(install_dir): │ │ ❱ 17 │ │ │ os.mkdir(install_dir) │ │ 18 │ │ │ │ 19 │ │ install_file = os.path.join(install_dir, 'hubert.pt') │ │ 20 │ │ download_url = 'https://dl.fbaipublicfiles.com/hubert/hubert_ba │ ### Installed packages ```shell conda list # packages in environment at /home/mrt/mambaforge/envs/bark-infinity-oneclick: # # Name Version Build Channel _libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 2_gnu conda-forge aiofiles 22.1.0 py310h06a4308_0 aiohttp 3.8.3 py310h5eee18b_0 aiosignal 1.2.0 pyhd3eb1b0_0 altair 5.0.0 pyhd8ed1ab_0 conda-forge anyio 3.5.0 py310h06a4308_0 appdirs 1.4.4 pyhd3eb1b0_0 argon2-cffi 21.3.0 pyhd3eb1b0_0 argon2-cffi-bindings 21.2.0 py310h7f8727e_0 astroid 2.14.2 py310h06a4308_0 asttokens 2.0.5 pyhd3eb1b0_0 async-timeout 4.0.2 py310h06a4308_0 attrs 22.1.0 py310h06a4308_0 babel 2.11.0 py310h06a4308_0 backcall 0.2.0 pyhd3eb1b0_0 bandit 1.7.5 py310hff52083_0 conda-forge beautifulsoup4 4.12.2 py310h06a4308_0 black 23.3.0 py310h06a4308_0 blas 1.0 mkl bleach 4.1.0 pyhd3eb1b0_0 boto3 1.24.28 py310h06a4308_0 botocore 1.27.59 py310h06a4308_0 bottleneck 1.3.5 py310ha9d4c09_0 brotli 1.0.9 h5eee18b_7 brotli-bin 1.0.9 h5eee18b_7 brotlipy 0.7.0 py310h7f8727e_1002 bzip2 1.0.8 h7b6447c_0 ca-certificates 2023.01.10 h06a4308_0 certifi 2023.5.7 py310h06a4308_0 cffi 1.15.1 py310h5eee18b_3 charset-normalizer 2.0.4 pyhd3eb1b0_0 click 8.0.4 py310h06a4308_0 codecov 2.1.11 pyhd3eb1b0_0 colorama 0.4.6 py310h06a4308_0 comm 0.1.2 py310h06a4308_0 contourpy 1.0.5 py310hdb19cb5_0 coverage 7.2.2 py310h5eee18b_0 cryptography 39.0.1 py310h9ce1e76_0 cuda-cudart 11.8.89 0 nvidia cuda-cupti 11.8.87 0 nvidia cuda-libraries 11.8.0 0 nvidia cuda-nvrtc 11.8.89 0 nvidia cuda-nvtx 11.8.86 0 nvidia cuda-runtime 11.8.0 0 nvidia cudatoolkit 11.8.0 h6a678d5_0 cycler 0.11.0 pyhd3eb1b0_0 dbus 1.13.18 hb2f20db_0 debugpy 1.5.1 py310h295c915_0 decorator 5.1.1 pyhd3eb1b0_0 defusedxml 0.7.1 pyhd3eb1b0_0 dill 0.3.6 py310h06a4308_0 entrypoints 0.4 py310h06a4308_0 exceptiongroup 1.0.4 py310h06a4308_0 executing 0.8.3 pyhd3eb1b0_0 expat 2.4.9 h6a678d5_0 fastapi 0.95.2 pyhd8ed1ab_0 conda-forge ffmpeg 4.2.2 h20bf706_0 ffmpy 0.3.0 pyhb6f538c_0 conda-forge filelock 3.9.0 py310h06a4308_0 flake8 6.0.0 py310h06a4308_0 fontconfig 2.14.1 h4c34cd2_2 fonttools 4.25.0 pyhd3eb1b0_0 freetype 2.12.1 h4a9f257_0 frozenlist 1.3.3 py310h5eee18b_0 fsspec 2023.4.0 py310h06a4308_0 funcy 2.0 pyhd8ed1ab_0 conda-forge giflib 5.2.1 h5eee18b_3 gitdb 4.0.7 pyhd3eb1b0_0 gitpython 3.1.30 py310h06a4308_0 glib 2.69.1 he621ea3_2 gmp 6.2.1 h295c915_3 gmpy2 2.1.2 py310heeb90bb_0 gnutls 3.6.15 he1e5248_0 gradio 3.23.0 pyhd8ed1ab_0 conda-forge gst-plugins-base 1.14.1 h6a678d5_1 gstreamer 1.14.1 h5eee18b_1 h11 0.12.0 pyhd3eb1b0_0 h2 4.0.0 py310h06a4308_3 hpack 4.0.0 py_0 httpcore 0.15.0 py310h06a4308_0 httpx 0.23.0 py310h06a4308_0 huggingface_hub 0.14.1 py310h06a4308_0 hyperframe 6.0.1 pyhd3eb1b0_0 hypothesis 6.29.3 pyhd3eb1b0_0 icu 58.2 he6710b0_3 idna 3.4 py310h06a4308_0 importlib-metadata 6.0.0 py310h06a4308_0 iniconfig 1.1.1 pyhd3eb1b0_0 intel-openmp 2023.1.0 hdb19cb5_46305 ipykernel 6.19.2 py310h2f386ee_0 ipython 8.12.0 py310h06a4308_0 ipython_genutils 0.2.0 pyhd3eb1b0_1 ipywidgets 8.0.4 py310h06a4308_0 isort 5.9.3 pyhd3eb1b0_0 jedi 0.18.1 py310h06a4308_1 jinja2 3.1.2 py310h06a4308_0 jmespath 0.10.0 pyhd3eb1b0_0 joblib 1.1.1 py310h06a4308_0 jpeg 9e h5eee18b_1 json5 0.9.6 pyhd3eb1b0_0 jsonschema 4.17.3 py310h06a4308_0 jupyter 1.0.0 py310h06a4308_8 jupyter_client 8.1.0 py310h06a4308_0 jupyter_console 6.6.3 py310h06a4308_0 jupyter_core 5.3.0 py310h06a4308_0 jupyter_server 1.23.4 py310h06a4308_0 jupyterlab 3.5.3 py310h06a4308_0 jupyterlab_pygments 0.1.2 py_0 jupyterlab_server 2.22.0 py310h06a4308_0 jupyterlab_widgets 3.0.5 py310h06a4308_0 kiwisolver 1.4.4 py310h6a678d5_0 krb5 1.19.4 h568e23c_0 lame 3.100 h7b6447c_0 lazy-object-proxy 1.6.0 py310h7f8727e_0 lcms2 2.12 h3be6417_0 ld_impl_linux-64 2.38 h1181459_1 lerc 3.0 h295c915_0 libbrotlicommon 1.0.9 h5eee18b_7 libbrotlidec 1.0.9 h5eee18b_7 libbrotlienc 1.0.9 h5eee18b_7 libclang 14.0.6 default_hc6dbbc7_1 libclang13 14.0.6 default_he11475f_1 libcublas 11.11.3.6 0 nvidia libcufft 10.9.0.58 0 nvidia libcufile 1.6.1.9 0 nvidia libcurand 10.3.2.106 0 nvidia libcusolver 11.4.1.48 0 nvidia libcusparse 11.7.5.86 0 nvidia libdeflate 1.17 h5eee18b_0 libedit 3.1.20221030 h5eee18b_0 libevent 2.1.12 h8f2d780_0 libffi 3.4.4 h6a678d5_0 libgcc-ng 12.2.0 h65d4601_19 conda-forge libgfortran-ng 11.2.0 h00389a5_1 libgfortran5 11.2.0 h1234567_1 libgomp 12.2.0 h65d4601_19 conda-forge libidn2 2.3.4 h5eee18b_0 libllvm14 14.0.6 hdb19cb5_3 libnpp 11.8.0.86 0 nvidia libnvjpeg 11.9.0.86 0 nvidia libopus 1.3.1 h7b6447c_0 libpng 1.6.39 h5eee18b_0 libpq 12.9 h16c4e8d_3 libsodium 1.0.18 h7b6447c_0 libstdcxx-ng 12.2.0 h46fd767_19 conda-forge libtasn1 4.19.0 h5eee18b_0 libtiff 4.5.0 h6a678d5_2 libunistring 0.9.10 h27cfd23_0 libuuid 1.41.5 h5eee18b_0 libvpx 1.7.0 h439df22_0 libwebp 1.2.4 h11a3e52_1 libwebp-base 1.2.4 h5eee18b_1 libxcb 1.15 h7f8727e_0 libxkbcommon 1.0.1 h5eee18b_1 libxml2 2.10.3 hcbfbd50_0 libxslt 1.1.37 h2085143_0 linkify-it-py 2.0.0 py310h06a4308_0 lxml 4.9.2 py310h5eee18b_0 lz4-c 1.9.4 h6a678d5_0 markdown-it-py 2.2.0 py310h06a4308_1 markupsafe 2.1.1 py310h7f8727e_0 matplotlib-base 3.7.1 py310h1128e8f_1 matplotlib-inline 0.1.6 py310h06a4308_0 mccabe 0.7.0 pyhd3eb1b0_0 mdit-py-plugins 0.3.0 py310h06a4308_0 mdurl 0.1.0 py310h06a4308_0 mistune 0.8.4 py310h7f8727e_1000 mkl 2023.1.0 h6d00ec8_46342 mkl-service 2.4.0 py310h5eee18b_1 mkl_fft 1.3.6 py310h1128e8f_1 mkl_random 1.2.2 py310h1128e8f_1 mpc 1.1.0 h10f8cd9_1 mpfr 4.0.2 hb69a4c5_1 mpmath 1.2.1 pypi_0 pypi multidict 6.0.2 py310h5eee18b_0 munkres 1.1.4 py_0 mypy 0.981 py310h06a4308_0 mypy_extensions 0.4.3 py310h06a4308_0 nbclassic 0.5.5 py310h06a4308_0 nbclient 0.5.13 py310h06a4308_0 nbconvert 6.5.4 py310h06a4308_0 nbformat 5.7.0 py310h06a4308_0 ncurses 6.4 h6a678d5_0 nest-asyncio 1.5.6 py310h06a4308_0 nettle 3.7.3 hbbd107a_1 networkx 2.8.4 py310h06a4308_1 nltk 3.7 pyhd3eb1b0_0 notebook 6.5.4 py310h06a4308_0 notebook-shim 0.2.2 py310h06a4308_0 nspr 4.33 h295c915_0 nss 3.74 h0370c37_0 numexpr 2.8.4 py310h85018f9_1 numpy 1.24.3 py310h5f9d8c6_1 numpy-base 1.24.3 py310hb5e798b_1 openh264 2.1.1 h4ff587b_0 openssl 1.1.1t h7f8727e_0 orjson 3.8.8 py310h52d8a92_0 packaging 23.0 py310h06a4308_0 pandas 1.5.3 py310h1128e8f_0 pandocfilters 1.5.0 pyhd3eb1b0_0 parso 0.8.3 pyhd3eb1b0_0 pathspec 0.10.3 py310h06a4308_0 pathvalidate 2.5.2 pyhd8ed1ab_0 conda-forge pbr 5.6.0 pyhd3eb1b0_0 pcre 8.45 h295c915_0 pexpect 4.8.0 pyhd3eb1b0_3 pickleshare 0.7.5 pyhd3eb1b0_1003 pillow 9.4.0 py310h6a678d5_0 pip 23.0.1 py310h06a4308_0 platformdirs 2.5.2 py310h06a4308_0 pluggy 1.0.0 py310h06a4308_1 ply 3.11 py310h06a4308_0 pooch 1.4.0 pyhd3eb1b0_0 prometheus_client 0.14.1 py310h06a4308_0 prompt-toolkit 3.0.36 py310h06a4308_0 prompt_toolkit 3.0.36 hd3eb1b0_0 psutil 5.9.0 py310h5eee18b_0 ptyprocess 0.7.0 pyhd3eb1b0_2 pure_eval 0.2.2 pyhd3eb1b0_0 py 1.11.0 pyhd3eb1b0_0 pycodestyle 2.10.0 py310h06a4308_0 pycparser 2.21 pyhd3eb1b0_0 pydantic 1.10.2 py310h5eee18b_0 pydocstyle 6.3.0 py310h06a4308_0 pydub 0.25.1 pyhd8ed1ab_0 conda-forge pyflakes 3.0.1 py310h06a4308_0 pygments 2.15.1 py310h06a4308_1 pylint 2.16.2 py310h06a4308_0 pyopenssl 23.0.0 py310h06a4308_0 pyparsing 3.0.9 py310h06a4308_0 pyqt 5.15.7 py310h6a678d5_1 pyqt5-sip 12.11.0 pypi_0 pypi pyrsistent 0.18.0 py310h7f8727e_0 pysocks 1.7.1 py310h06a4308_0 pytest 7.3.1 py310h06a4308_0 pytest-cov 4.0.0 py310h06a4308_0 python 3.10.11 h7a1cb2a_2 python-dateutil 2.8.2 pyhd3eb1b0_0 python-fastjsonschema 2.16.2 py310h06a4308_0 python-multipart 0.0.6 pyhd8ed1ab_0 conda-forge python_abi 3.10 2_cp310 conda-forge pytorch 2.0.1 py3.10_cuda11.8_cudnn8.7.0_0 pytorch pytorch-cuda 11.8 h7e8668a_5 pytorch pytorch-mutex 1.0 cuda pytorch pytz 2022.7 py310h06a4308_0 pyyaml 6.0 py310h5eee18b_1 pyzmq 25.0.2 py310h6a678d5_0 qt-main 5.15.2 h8373d8f_8 qt-webengine 5.15.9 hbbf29b9_6 qtconsole 5.4.2 py310h06a4308_0 qtpy 2.2.0 py310h06a4308_0 qtwebkit 5.212 h3fafdc1_5 readline 8.2 h5eee18b_0 regex 2022.7.9 py310h5eee18b_0 requests 2.29.0 py310h06a4308_0 rfc3986 1.4.0 pyhd3eb1b0_0 rich 13.3.5 py310h06a4308_0 s3transfer 0.6.0 py310h06a4308_0 scipy 1.10.1 py310h5f9d8c6_1 semantic_version 2.8.5 pyhd3eb1b0_0 send2trash 1.8.0 pyhd3eb1b0_1 setuptools 66.0.0 py310h06a4308_0 sip 6.6.2 py310h6a678d5_0 six 1.16.0 pyhd3eb1b0_1 smmap 4.0.0 pyhd3eb1b0_0 sniffio 1.2.0 py310h06a4308_1 snowballstemmer 2.2.0 pyhd3eb1b0_0 sortedcontainers 2.4.0 pyhd3eb1b0_0 soundfile 0.12.1 pypi_0 pypi soupsieve 2.4 py310h06a4308_0 sqlite 3.41.2 h5eee18b_0 stack_data 0.2.0 pyhd3eb1b0_0 starlette 0.27.0 pyhd8ed1ab_0 conda-forge stevedore 5.1.0 pyhd8ed1ab_0 conda-forge sympy 1.11.1 py310h06a4308_0 tbb 2021.8.0 hdb19cb5_0 terminado 0.17.1 py310h06a4308_0 tinycss2 1.2.1 py310h06a4308_0 tk 8.6.12 h1ccaba5_0 tokenizers 0.11.4 py310h3dcd8bd_1 toml 0.10.2 pyhd3eb1b0_0 tomli 2.0.1 py310h06a4308_0 tomlkit 0.11.1 py310h06a4308_0 toolz 0.12.0 py310h06a4308_0 torchaudio 2.0.2 py310_cu118 pytorch torchtriton 2.0.0 py310 pytorch torchvision 0.13.1 cpu_py310h164cc8f_0 tornado 6.2 py310h5eee18b_0 tqdm 4.65.0 py310h2f386ee_0 traitlets 5.7.1 py310h06a4308_0 transformers 4.24.0 py310h06a4308_0 typing-extensions 4.5.0 py310h06a4308_0 typing_extensions 4.5.0 py310h06a4308_0 tzdata 2023c h04d1e81_0 uc-micro-py 1.0.1 py310h06a4308_0 urllib3 1.26.15 py310h06a4308_0 uvicorn 0.20.0 py310h06a4308_0 wcwidth 0.2.5 pyhd3eb1b0_0 webencodings 0.5.1 py310h06a4308_1 websocket-client 0.58.0 py310h06a4308_4 websockets 10.4 py310h5eee18b_1 wheel 0.38.4 py310h06a4308_0 widgetsnbextension 4.0.5 py310h06a4308_0 wrapt 1.14.1 py310h5eee18b_0 x264 1!157.20191217 h7b6447c_0 xz 5.4.2 h5eee18b_0 yaml 0.2.5 h7b6447c_0 yarl 1.8.1 py310h5eee18b_0 zeromq 4.3.4 h2531618_0 zipp 3.11.0 py310h06a4308_0 zlib 1.2.13 h5eee18b_0 zstd 1.5.5 hc292b87_0 ``` ### Environment info ```shell active environment : bark-infinity-oneclick active env location : /home/mrt/mambaforge/envs/bark-infinity-oneclick shell level : 2 user config file : /home/mrt/.condarc populated config files : /home/mrt/mambaforge/.condarc conda version : 23.1.0 conda-build version : not installed python version : 3.10.10.final.0 virtual packages : __archspec=1=x86_64 __cuda=11.7=0 __glibc=2.35=0 __linux=5.19.0=0 __unix=0=0 base environment : /home/mrt/mambaforge (writable) conda av data dir : /home/mrt/mambaforge/etc/conda conda av metadata url : None channel URLs : https://conda.anaconda.org/conda-forge/linux-64 https://conda.anaconda.org/conda-forge/noarch package cache : /home/mrt/mambaforge/pkgs /home/mrt/.conda/pkgs envs directories : /home/mrt/mambaforge/envs /home/mrt/.conda/envs platform : linux-64 user-agent : conda/23.1.0 requests/2.28.2 CPython/3.10.10 Linux/5.19.0-41-generic ubuntu/22.04.2 glibc/2.35 UID:GID : 1000:1000 netrc file : None offline mode : False ```
JonathanFly commented 1 year ago

This is my fault, completely unrelated to conda. Go ahead and git pull from Infinity and try again. And can close this issue.

(I stumbled across this thread completely randomly, actually trying to find a clean way to install updated fairseq on all platforms. Which is a problem related to conda but not this. )

mertakbal commented 1 year ago

Wow what a stroke of luck that you hit in this. Actually I also realized that I posted this on wrong git but forgot to close it. Anyway big thanks I will retry.