Code Monkey home page Code Monkey logo

Comments (11)

neezzzy avatar neezzzy commented on September 27, 2024 1

maybe try this in your console:

python bark_perform.py --use_smaller_models --text_prompt "It is a mistake to think you can solve any major problems just with potatoes... or can you? (and the next page, and the next page...)" --split_by_words 35 

from bark.

Acephalia avatar Acephalia commented on September 27, 2024

I was trying to use the WebUI version that was linked on the description. It seems to launch via a ui.py file. Which I tried to add the parameters to but it just doesn’t seem to want to work.

Could I potentially edit one of the py files to enable this always?

Thank you for your time!

from bark.

powercore2000 avatar powercore2000 commented on September 27, 2024

In the Suno version of bark I was able to edit the setup.py file next to the run.bat file and add os.environ["SUNO_USE_SMALL_MODELS"] = "True"

to activate the small model mode with the WebUI. However, that does not work for this version of bark when run with the WebUi

from bark.

huzidev avatar huzidev commented on September 27, 2024

In the Suno version of bark I was able to edit the setup.py file next to the run.bat file and add os.environ["SUNO_USE_SMALL_MODELS"] = "True"

to activate the small model mode with the WebUI. However, that does not work for this version of bark when run with the WebUi

You can do ["SUNO_USE_SMALL_MODELS"] = "True" in the web-ui version as well
just simply go to the root folder where yours web-ui version of bark is installed
and cd to bark again cd to bark in that folder their will be a file called generation.py
simply just search for SUNO_USE_SMALL_MODELS it'll be false by default change it to true
and save and then run the web-ui it'll now use the smaller models
Hope it'll works for you.

from bark.

huzidev avatar huzidev commented on September 27, 2024

maybe try this in your console:

python bark_perform.py --use_smaller_models --text_prompt "It is a mistake to think you can solve any major problems just with potatoes... or can you? (and the next page, and the next page...)" --split_by_words 35 

Thanks that worked.
As their is no SUNO_USE_SMALL_MODELS option in the files
using --use_smaller_models as args will work

from bark.

Acephalia avatar Acephalia commented on September 27, 2024

SUNO_USE_SMALL_MODELS

This does work for the suno main version. Unfortunately I tried everything to make it work with this version but no luck. Hopefully @JonathanFly might be able to provide some input when he has time.

from bark.

huzidev avatar huzidev commented on September 27, 2024

You mean the web-ui version of bark which was created by Fictiverse or this bark infinity one?

from bark.

Acephalia avatar Acephalia commented on September 27, 2024

Bark Infinity with webui. I found out about the webui through this fork. Infinity uses a different argument to set the smaller models. So I assume something is happening there because the global flag to set smaller models is in the infinity generation.py it just doesn’t trigger with the webui though for some reason.

I’m fairly sure someone who actually knows what they are doing will figure it out sooner or later the webui is also only in pre-release.

from bark.

huzidev avatar huzidev commented on September 27, 2024

Bark Infinity with webui. I found out about the webui through this fork. Infinity uses a different argument to set the smaller models. So I assume something is happening there because the global flag to set smaller models is in the infinity generation.py it just doesn’t trigger with the webui though for some reason.

I’m fairly sure someone who actually knows what they are doing will figure it out sooner or later the webui is also only in pre-release.

Sorry, I didn't understand about yours web-ui error since the link you've given above which WebUI version but this link was the same web-ui as I've told you about Fictiverse's bark and in this zip file we simply run the run.bat file which download all the required files for us and runs the ui for bark which will only generated voice as long as 12 to 13 seconds but his infinity one I haven't found any web-ui for this one
If you've specific link for this infinity bark ui then please share that link so I can get to the root

from bark.

Acephalia avatar Acephalia commented on September 27, 2024

Bark Infinity with webui. I found out about the webui through this fork. Infinity uses a different argument to set the smaller models. So I assume something is happening there because the global flag to set smaller models is in the infinity generation.py it just doesn’t trigger with the webui though for some reason.
I’m fairly sure someone who actually knows what they are doing will figure it out sooner or later the webui is also only in pre-release.

Sorry, I didn't understand about yours web-ui error since the link you've given above which WebUI version but this link was the same web-ui as I've told you about Fictiverse's bark and in this zip file we simply run the run.bat file which download all the required files for us and runs the ui for bark which will only generated voice as long as 12 to 13 seconds but his infinity one I haven't found any web-ui for this one If you've specific link for this infinity bark ui then please share that link so I can get to the root

My bad should have explained better. You can run infinity bark on the same webui. Just download the latest commit from infinity and then unzip the files into the Fictiverse WebUi/ bark folder. This gets you the infinity version on webui if I am not mistaken. I unfortunately cant test any further than loading the ui and downloading a model up to the second generation phase, that is where I run out of VRAM. Which is why I have been trying to find a way to parse an argument to webui for use with infinity.

Let me know how you go.

from bark.

JonathanFly avatar JonathanFly commented on September 27, 2024

I am getting the out of memory issue on my 8GB card i noticed you had posted a comment about using --use_smaller_models. I installed the gui version from the instructions and then updated the files with the one in your repo. I am unsure where to put the --use_smaller_models would appreciate some help. Thank you.

Even the large models should work great on 8GB now in the latest version of Bark Infinity webui.

from bark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.