I see the code device = ‘cuda’ if torch.cuda.is_available() else ‘cpu’ repeated often in user code. Maybe we should introduce `device='auto'` exactly for this case?
I see the code
repeated often in user code. Maybe we should introduce
device='auto'exactly for this case?