'GPU out of memory with Pyannote

I'm using Pyannote and when I run the following

from pyannote.audio import Pipeline
pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization")

diarization = pipeline(...\audio.wav")

I receive the following message:

CUDA out of memory. Tried to allocate 132.00 MiB (GPU 0; 4.00 GiB total capacity...

I'm on Windows 10.

Any help?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source