Comments (7)
Excellent, thank you.
So, the round-up process is going well. So far, I've got like 13 or so hooks added to use the same model manager:
It supports both url downloads, and hf hub downloads, and for single files and whole repos, including filtering and stuff for the various filenames.
Not only do I have the majority of the "big" model downloads now under our control, but I also added a bit that logs every download, so we can add a "download all the things" flag or something which fetches everything. Then all the models can just be there if a person desires. ;)
Also, updated the bit that lists the whisper models to always contain the full list, including the new v3 model.
Still doing some cleanup and stuff as I have time, will submit a PR when done. It will likely be a messy PR, so I'll apologize beforehand. I'll try to keep the commits clean, but I did remove a few things (like the hubert manager), and do some code cleanup as well.
Question - where is "whatever" that goes into audio-to-audio triggered to download?
And, where would you like the encodec and google-bert models to live?
from audio-webui.
As a replacement for the current environment overrides in main.py? What would be the difference between this and adding a flag to set the model base dir? (instead of just having a toggle to revert to default)
Currently it uses os.path.join(os.path.dirname(os.path.realpath(__file__))
/models as the base path, unless the --no-data-cache
flag is set, in which case it uses the default cache path for huggingface hub etc.
Is your plan to let users select a different path than the current model data path, or something different, like managing them a whole other way?
from audio-webui.
As a replacement for the current environment overrides in main.py? What would be the difference between this and adding a flag to set the model base dir? (instead of just having a toggle to revert to default) Currently it uses
os.path.join(os.path.dirname(os.path.realpath(__file__))
/models as the base path, unless the--no-data-cache
flag is set, in which case it uses the default cache path for huggingface hub etc.Is your plan to let users select a different path than the current model data path, or something different, like managing them a whole other way?
In other projects where I've encountered this issue, I basically create a method called "get_model_path" or something, which takes a HF model URL and and downloads it to a specified folder - which would still be the /data/models folder of the project - then returns the path.
But, I'd specifically find the bits that are still downloading to the hf_cache folder, and remove the dependency on the .locks folder and stuff now, which is an issue in my implementation.
from audio-webui.
That sounds great, actually. I would really appreciate that.
from audio-webui.
That sounds great, actually. I would really appreciate that.
QQ - can you point me to the spot in the code where the suno/bark model is actually downloaded/loaded? That one's a bit tricky, I think. :D
from audio-webui.
The call to the original download function can be found here (at webui/modules/implementations/patches/bark_generation.py line 563
)
from audio-webui.
Question - where is "whatever" that goes into audio-to-audio triggered to download?
I'm not sure what you mean by this. Can you elaborate?
And, where would you like the encodec and google-bert models to live?
encodec and google-bert can just have their own folder, like you have them in the screenshot above.
from audio-webui.
Related Issues (20)
- [BUG REPORT]
- Installation failed on Windows [BUG REPORT] HOT 3
- [FEATURE REQUEST] Image2SFX HOT 1
- SOS: Python Packages vs. GPU Performance insights?
- [QUESTION] Enable to run py command! HOT 6
- [BUG REPORT] ImportError: cannot import name 'set_documentation_group' from 'gradio_client.documentation' HOT 7
- [BUG REPORT] Forever loading, without any output (Similar to issue #199?) HOT 3
- [BUG REPORT] Unresponsive UI, Missing TensorboardX library, wrong torchvision version installed. HOT 4
- [BUG REPORT] HOT 1
- [FEATURE REQUEST] MusicGen-Remixer & MusicGen-Chord
- [BUG REPORT]
- During my installation process, I keep encountering persistent torch version conflict warnings. What exactly is happening here? I am using the install.bat script on a Windows operating system. HOT 3
- [BUG REPORT] cant install pytorch on windows HOT 2
- [BUG REPORT] cant download or cant strip audio HOT 1
- [QUESTION] reaching out for a contact, and to share some details about bark re: the tokens it uses HOT 1
- [BUG REPORT] Pinokio unable to install HOT 1
- [BUG REPORT] Launch error on Google Colab. HOT 2
- [BUG REPORT] Cannot download YouTube audio
- [BUG REPORT] Install process constantly overwrites huggingface-hub to 0.19.0 and cannot continue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audio-webui.