ptrblck:

for d in range(torch.cuda.device_count()):
    print(torch.cuda.get_device_name(d))



>>> for d in range(torch.cuda.device_count()):
...     print(torch.cuda.get_device_name(d))
...
GeForce RTX 2080 Ti
GeForce RTX 2080 Ti