cuda cleanup

 avatar
unknown
python
2 years ago
103 B
12
Indexable
# Delete this model to free up GPU memory
del model
import gc
torch.cuda.empty_cache()
gc.collect()
Editor is loading...