Skip to content

Commit 7b4baf7

Browse files
committed
Change training schedule
1 parent 7274332 commit 7b4baf7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

diploma_thesis/simulator/simulator.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -398,10 +398,10 @@ def __log_time__(self, environment: simpy.Environment, log_tick: float):
398398

399399
gc.collect()
400400

401-
# try:
402-
# torch.mps.empty_cache()
403-
# except:
404-
# pass
401+
try:
402+
torch.mps.empty_cache()
403+
except:
404+
pass
405405

406406
torch.cuda.empty_cache()
407407

0 commit comments

Comments
 (0)