Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPU Not working again #83

Open
gitihobo opened this issue Jun 15, 2023 · 17 comments
Open

GPU Not working again #83

gitihobo opened this issue Jun 15, 2023 · 17 comments

Comments

@gitihobo
Copy link

Reinstalled Bark infinity, simply git cloned and installed requirements-pip.txt but GPU no longer loads, what do we install?

@JonathanFly
Copy link
Owner

JonathanFly commented Jun 15, 2023

I'll be around tomorrow night in the official Bark discord, but try for now, it's what I used to to install music gen in the same as conda:

Option 1) Mamba/Conda 738f20f

or

Option 2) All pip, not tested. https://github.com/JonathanFly

If you do option 2 recommend doing this to install a venv instead of conda

venv install
python -m venv barkvenv
barkvenv\Scripts\activate
python.exe -m pip install --upgrade pip

m_small

Been too distracted...

@gitihobo
Copy link
Author

I am really confused now, I am new to this, all I did was git clone this repo and install requirements-pip.txt inside my real anaconda venv, It never installed Mamba, all I do is enter python bark_webui.py to see the webui, I now installed musicgen-conda-pip.txt to see if I could fix the no GPU issue for BARK AND try out MusicGen at the same time, I do not see GPU fixed in Bark and I don't see a musicgen_webui.py file

@JonathanFly
Copy link
Owner

Updating shortly.

@gitihobo
Copy link
Author

Awesome thank you Jon

@JonathanFly
Copy link
Owner

Awesome thank you Jon

I'm fixing the one click installer, so you may need some help if you installed it a different way. But I'll be in Bark discord for new few hours.

@gitihobo
Copy link
Author

I don't use discord, can you tell us the basics here? I'm guessing it's even easier than my method.

@JonathanFly
Copy link
Owner

Try the zip file method: https://github.com/JonathanFly/bark#install-steps

I'll be online for a few hours, let me know if anything isn't working and I can fix.

@gitihobo
Copy link
Author

Ok so for orders sake I made another anaconda enviroment, put the extracted zip file and launched install, I got this one-click-bark-installer_june16_23\installer_files\env" >nul && conda install -y -k ffmpeg-downloader --solver=libmamba' failed with exit status code '2'. Exiting...Press any key to continue . . .

@JonathanFly
Copy link
Owner

Ok so for orders sake I made another anaconda enviroment, put the extracted zip file and launched install, I got this one-click-bark-installer_june16_23\installer_files\env" >nul && conda install -y -k ffmpeg-downloader --solver=libmamba' failed with exit status code '2'. Exiting...Press any key to continue . . .

I put the wrong files in the zip, just fixed it. Way too sleepy tonight...

@gitihobo
Copy link
Author

I will try it out now, we don't blame you, we appreciate you and we depend on you

@JonathanFly
Copy link
Owner

BTW if you do get it installed, start the TROUBLESHOOT_bark_setup_manually_by_entering_the_conda_environment.bat file and type conda clean --all and it should clear up a bunch of disk space from the failed installations with file that are no longer needed.

@gitihobo
Copy link
Author

So I have a couple of questions, first thing is the script seems to turn my directory path into a virtual environment, does that mean I dont need to make the environment myself? I would prefer to since that way I can have all my envs in anaconda>envs but anyway, this is the error I seem to get conda-script.py install: error: argument --solver: invalid choice: 'libmamba' (choose from 'classic')
Command nul && conda install -y -k pip --solver=libmamba' failed with exit status code '2'. Exiting...
Press any key to continue . . .

@JonathanFly
Copy link
Owner

JonathanFly commented Jun 17, 2023

Yeah it installs basically a standalone conda. You don't need to make the environment tor even download the conda exe.

The problem you're getting is because I used the mamba fast solver in the version I downloaded. If you want to install it in your own ENV, you might have to wait for me to update regular install.

You can type:

conda install -n base -y conda-libmamba-solver

That will install the solver in your base conda. It is pretty safe because it's not on by default, I just call it with extra params

Update: I'm getting a fairseq error again... I think I need one more change on a fresh windows install. God.

@mediashock
Copy link

mediashock commented Jun 19, 2023

hey, What version is that MusicGen screenshot of?

@JonathanFly
Copy link
Owner

JonathanFly commented Jun 19, 2023

hey, What version is that MusicGen screenshot of?

I was working on a MusicGen UI but never finished it. I might just push the half working version though. It still has some cool features. I couldn't get the scripted sequence stuff to work, and need to redo it.

@mediashock
Copy link

I'd love to play around with it. I'm curious what features you added and about the music sequences section, what was your plan for that?. I'm playing around with MusicGen generating specific chord sequences and stuff but so far i find it limiting. I wish i had the tags it was trained on at least.

@JonathanFly
Copy link
Owner

The queue is just a list of JSON files with parameters but the main thing it's iterative, so you can say, use last sample output file, but use it as as input field for next segment melody, etc. It's really just the bare minimum to do anything, but I'm not very fast at making the stuff I am hoping for.

If you can give me examples of what you're trying to do, it might help. I'll keep it mind when I come back to music gen (maybe tomorrow) and maybe I'll think of some features to make your stuff work. I'm also in Discord same name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants