You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add ability to configure segment sizes for Demucs models
If Demucs separation fails for you due insufficient GPU memory, try setting the environment variable DEMUCS_SEGMENT_SIZE to a lower value like 10 (default is 40, which requires a around 7 GB of memory). You may have to experiment a bit to find the appropriate value. See this for more info.
Also try setting PYTORCH_NO_CUDA_MEMORY_CACHING=1 to disable caching