I installed pytorch 1.3 from conda inside a ubuntu container
Then I run the docker with host machine cuda=10.1 driver=418
>>> torch.version.cuda
'10.1.243'

>>> torch.cuda.is_available()
False

torch.backends.cudnn.enabled = True