-
Notifications
You must be signed in to change notification settings - Fork 0
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
memory usage #1
Comments
yay, I got one output to work, after setting the page file manually to minimum 128gb and max 192gb xD however i can't run it again after it only worked once after a reboot, the same input afterwards failed with a ton of errors, mainly starting with oom when i ran it again it turned my screen black :S a suggestion for the app: option to not do the voice extraction cheers, ty for making this :) |
Hi ratzycon, thanks for the detailed report and sorry for your trouble. I'm aware of the memory usage issue on some pcs (I've discovered and talked about a little on a different forum). Despite the CUDA error messages, it shouldn't actually need CUDA, as it seems to run 100% on the cpu and runs relatively fast on a lower-end pc. Just for reference, i have 32GB RAM, and the paging file set to 32GB as well, and the app runs without issue on my lower-end pc, but I've notice others are having memory issues(even with higher pc specs) that are keeping the app from outputting vmds. I don't really have the free time now to research and edit this(as resource optimization is the biggest issue with this app now and I don't know much about how to fix this in python), but I plan to return to github to update this in about a month or so, where i plan to replace spleeter with something far more efficient (and add an option to turn off audio separation), which should significantly improve the apps performance for all users and get rid of the memory problems, in theory. |
Hey Elise :) good to hear you will look into it at a later stage. I can try run it again at some point and send the full error logs if it doesn't run cuda at all, maybe it could just be set to go for cpu directly, tensorflow just has cpu fallback the page file size having an effect is kind of mysterious, haven't seen this behaviour before with tensorflow looking at the memory usage in taskman tho, it only builds up 8gb system ram, is it using an ai model to do the phenome output btw? cheers! |
Sorry for the late reply and thank you for all the feedback, I'm in the process of doing tests/research now. From what i can tell, spleeter does indeed use tensorflow directly, and tensorflow is causing the extreme memory usage issues (apparently there are ways that tensorflow's memory usage can really balloon according to Claude AI). But yes it is kind of mysterious why it's only happening on some users pcs (i'm not sure why it's doing this, and i still couldn't get it when asking AI like Claude for help). However, I'm now in the process of swapping out spleeter. And yes, spleeter does use an trained AI model i think. From my research/test, Open-Unmix looks like it could be the best alternate. I'm still in the process of things, but i will keep you updated. Thanks again for all the nice detailed feedback, i appreciate it. |
Hi ratzycon, I've had great results and did a ton of coding stuff, memory problems should hopefully be completely solved now. Here are the main new features of audio2vmd v16:
|
Hey Elise, That sounds awesome, will try it soon and see how it works :) Been missing a tool like this, I make some vocaloid songs with Suno AI and then make MMD videos for them, so ability to animate mouth for the vocals would be excellent ^-^ Good to hear you have added various options for the 'separate vocals', because for example suno also has a Stem option to get back only the vocals for the track, so this will probably come in handy (depending on which audio separation does the best job, will have to see) Nice work! |
Thanks ratzycon, i hope it works well for you. I've tested it with more files and everything seems to be working properly on my pc. Nice, i've been playing with Suno AI a little too. Anyways, thanks alot for using audio2vmd, i'll try to see if i can make a video tutorial for it sometime in the near future too. |
Suno also use some form of extraction, it's far from perfect, |
Hey,
trying to run this program, but says it's going OOM, and that paging file is too small
I have 64gb ram and paging file is 96gb (set to automatic)
the test input mp3 file is 26kb
i'm unsure if manually increasing the page file is going to do much
how come this program needs this kind of memory to run?
im also not sure if this tool can use cuda, but it seems to want to run on cuda 11, which needs some manual setup with PATHS if cuda 12 is the default on the system
I have multiple cuda installed and it can be set for the shell session with:
it no longer complains it can't find cuda v11, but it still fails due to page file, so not sure if it changes anything
The text was updated successfully, but these errors were encountered: