self.memory_used_encode=lambdashape,dtype:(1767*shape[2]*shape[3])*model_management.dtype_size(dtype)#These are for AutoencoderKL and need tweaking (should be lower)
self.memory_used_encode=lambdashape,dtype:(1767*shape[2]*shape[3])*model_management.dtype_size(dtype)#These are for AutoencoderKL and need tweaking (should be lower)