Spaces:
Runtime error
Runtime error
import gc | |
import torch | |
def flush(): | |
gc.collect() | |
torch.cuda.empty_cache() |
import gc | |
import torch | |
def flush(): | |
gc.collect() | |
torch.cuda.empty_cache() |