Open nunombispo opened 1 year ago
Replace @torch.cuda.amp.autocast() with torch.autocast(device_type=self.device.type) for proper device recognition
Replace @torch.cuda.amp.autocast() with torch.autocast(device_type=self.device.type) for proper device recognition