Spaces:
				
			
			
	
			
			
					
		Running
		
	
	
	
			
			
	
	
	
	
		
		
					
		Running
		
	File size: 446 Bytes
			
			| fcc02a2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | from collections import OrderedDict
import gc
import torch
from jobs.process import BaseExtensionProcess
def flush():
    torch.cuda.empty_cache()
    gc.collect()
class DatasetTools(BaseExtensionProcess):
    def __init__(self, process_id: int, job, config: OrderedDict):
        super().__init__(process_id, job, config)
    def run(self):
        super().run()
        raise NotImplementedError("This extension is not yet implemented")
 | 
