bark icon indicating copy to clipboard operation
bark copied to clipboard

is this mamba thing really required ?

Open Username69992872 opened this issue 1 year ago • 8 comments

Actually I just created a virtual environment and made a git + install pip requirements. Works fine so far, also webui starts, however Voice generation only works on CPU it says. So i guess that mamba thing is for cuda. Automatic1111 seems to work without mamba?

Username69992872 avatar May 18 '23 01:05 Username69992872

No, it's just one way to install it. If you can install Cuda and Pytorch and the libraries, you can just the requirements.txt files instead.

JonathanFly avatar May 18 '23 08:05 JonathanFly

I did the same thing but I am getting Loading Bark models... preload_models No GPU being used. How can I make it use gpu?

gitihobo avatar May 18 '23 08:05 gitihobo

No, it's just one way to install it. If you can install Cuda and Pytorch and the libraries, you can just the requirements.txt files instead.

thx for the reply. Can you pls give a bit more detail how to do it now exactly without miniforge and just using venv? a 1 click installer of course would be the greatest :D

There is no pure requirements.txt: requirements-dev-pip.txt requirements-pip.txt which one to use ?

I guess i have to add those from environment-cuda.yml ?

Username69992872 avatar May 18 '23 10:05 Username69992872

If you are using a normal python venv then activate that venv and install this

pip install torch==2.0.0+cu118 torchvision --extra-index-url https://download.pytorch.org/whl/cu118

Note that cu118 from both parts of the commands must match the cuda version you have installed

fnrcum avatar May 30 '23 11:05 fnrcum

torchaudio 2.0.2 requires torch==2.0.1, but you have torch 2.0.0+cu118 which is incompatible. should I install it?

gitihobo avatar Jun 04 '23 05:06 gitihobo

I haven't tested the pip, but the mamba install does give you torch==2.0.1 at the end, so that sounds right.

JonathanFly avatar Jun 04 '23 05:06 JonathanFly

I did that but now it says the opposite ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. torchvision 0.15.1+cu118 requires torch==2.0.0, but you have torch 2.0.1 which is incompatible.

gitihobo avatar Jun 05 '23 05:06 gitihobo

I'll be in Bark Discord probably very late Monday (Tuesday AM really).

JonathanFly avatar Jun 05 '23 12:06 JonathanFly