RVC-Project / RVC-Project/Retrieval-based-Voice-Conversion-WebUI
CUDA memory error, not using most of available memory
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 38.4k
- Forks
- 5.3k
- PR merge metrics
- No merged PRs in 30d
Description
Hello there!
I get the CUDA out of memory error, but when I look at my GPU's memory usage, I see that it only uses up to 4GB of memory before crashing, while my GPU's dedicated memory is 8GB (my shared memory is also 8GB if that's somehow relevant).
My GPU is 1070 GTX which is supported by CUDA and I have installed the latest drivers and all that.
Moreover, when I use cache it actually does work and uses up to 7GB without changing the batch size (I'm using 4).
I am using WSL 2 for running RVC on my machine, and as far as I know, the WSL isn't limiting GPU memory usage, so theoretically it should use up to 100% of my 8GB of memories.
If someone might have a clue about what's going on and how can I fix it, I would be happy to know!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by reproducing the CUDA out-of-memory behavior under WSL 2 on a GTX 1070 and compare memory usage with and without cache; done means explaining the apparent limit or identifying a specific, reproducible fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100