aboutsummaryrefslogtreecommitdiffstats
path: root/look2hear/system
diff options
context:
space:
mode:
authorKai Li (李凯) <tsinghua.kaili@gmail.com>2024-09-23 21:40:15 +0800
committerGitHub <noreply@github.com>2024-09-23 21:40:15 +0800
commit46300822c8d070c0fb543971c7515eb9d2aa4ff5 (patch)
treed5bf77b8fb04514d785e50cbb837ae82f8a02363 /look2hear/system
parente036588c6d387d00c672b69ba4f0d43b4433c23c (diff)
downloadapollo-gfx803-46300822c8d070c0fb543971c7515eb9d2aa4ff5.tar.gz
Update audio_litmodule.py
Diffstat (limited to 'look2hear/system')
-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