`# dtype = torch.device("cuda:0") # Uncomment this to run on GPU` should be `# device = torch.device("cuda:0") # Uncomment this to run on GPU`