aboutsummaryrefslogtreecommitdiffstats
path: root/look2hear
diff options
context:
space:
mode:
Diffstat (limited to 'look2hear')
-rw-r--r--look2hear/system/audio_litmodule.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/look2hear/system/audio_litmodule.py b/look2hear/system/audio_litmodule.py
index 8faa6df..5888485 100644
--- a/look2hear/system/audio_litmodule.py
+++ b/look2hear/system/audio_litmodule.py
@@ -158,6 +158,7 @@ class AudioLightningModule(pl.LightningModule):
)
self.validation_step_outputs.clear() # free memory
+ torch.cuda.empty_cache()
def test_step(self, batch, batch_nb):
mixtures, targets = batch