RVC-Project/Retrieval-based-Voice-Conversion

Api not releasing memory after inference

Open

#6 opened on Jan 26, 2024

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Python (126 forks)auto 404
bugenhancementhelp wanted

Repository metrics

Stars
 (591 stars)
PR merge metrics
 (PR metrics pending)

Description

Hi there,

I believe I almost have this all figured out and it's working great. One issue I'm having is that after infering one time using the API, memory usage stays very high (12.7gb out of 16), even though no processing is happening. This is happening on a macbook air m1 16gb. Is there a way to force rvc to release that memory usage after each api call? Thanks in advance!

Contributor guide