aboutsummaryrefslogtreecommitdiffstats
path: root/look2hear/system
diff options
context:
space:
mode:
authorKai Li (李凯) <tsinghua.kaili@gmail.com>2025-01-07 23:46:46 +0800
committerKai Li (李凯) <tsinghua.kaili@gmail.com>2025-01-07 23:46:46 +0800
commitec25e5e4495b37d73097f786901dea083c35eefd (patch)
treec9446222b02479a60763f7e2015209d830296d39 /look2hear/system
parentbaf931c712257c3071dd9f2e868d8a0c4fd98663 (diff)
parent0130c633d3d126e76df9840d293d9dd5b78bddce (diff)
downloadapollo-gfx803-ec25e5e4495b37d73097f786901dea083c35eefd.tar.gz
Merge branch 'main' of https://github.com/JusperLee/Apollo
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