cuda cleanup
Anonymous
python
05/03/2023 11:56 PM
140 B
22
Indexable
# Delete this model to free up GPU memory del model import gc torch.cuda.empty_cache() gc.collect()
Editor is loading...
# Delete this model to free up GPU memory del model import gc torch.cuda.empty_cache() gc.collect()