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

Out of Memory when inferencing with 60secs file #37

Open
HimaJyothi17 opened this issue Jun 26, 2024 · 2 comments
Open

Out of Memory when inferencing with 60secs file #37

HimaJyothi17 opened this issue Jun 26, 2024 · 2 comments

Comments

@HimaJyothi17
Copy link

torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 137.36 GiB. GPU 0 has a total capacity of 47.54 GiB of which 44.17 GiB is free. Process 1932274 has 3.36 GiB memory in use. Of the allocated memory 1.89 GiB is allocated by PyTorch, and 23.82 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)

Why it is expecting 137 GB to infer just 60 sec file? Is this model only for real time purpose?

@yxlu-0102
Copy link
Owner

Current mainstream speech enhancement models do indeed occupy a large amount of memory.

You can try enhancing the speech by dividing it into segments like this:
截屏2024-06-26 15 32 36

@HimaJyothi17
Copy link
Author

What are the 8 type of noises used for training in DEMAND dataset?

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