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

requirements #14

Open
Manoa1911 opened this issue Dec 6, 2024 · 2 comments
Open

requirements #14

Manoa1911 opened this issue Dec 6, 2024 · 2 comments

Comments

@Manoa1911
Copy link

Manoa1911 commented Dec 6, 2024

the project requires pip3 install ffmpeg soundfile
this is not documented
should also be known when I tried to run a 7 minute wave 48 khz 16 bit on a 24 GB card it runned out of memory
when I'm running on 8 core CPU with 96 GB it's pretty solid with torch.set_num_threads(16) (it allocates up to 390 GB at 96 khz but CPUs are almost always used 100%, swapping with 2 optanes)

also no documentation on where to get the model or where to put once you get it

@JusperLee
Copy link
Owner

To save GPU memory, you can use segmentation for inference. As for the model, you can load it directly from Hugging Face without needing to download it manually. You can check the following part of the code for how it's loaded:
https://github.com/JusperLee/Apollo/blob/main/inference.py#L18C122-L18C124.

@Manoa1911
Copy link
Author

how do you use segmentation ?

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

2 participants