#pytorch 0.4.0 release
if this is pytorch 0.4.0 release version. i just check the latest release version of pytorch in github, the version is 0.3.1, so if there would be some 0.4.0 source file be released.
this is the latest version of pytorch
set cuda environment
torch.version              = 0.3.1.post2
torch.version.cuda             = 9.1.85
torch.backends.cudnn.version() = 7005
os[‘CUDA_VISIBLE_DEVICES’]     = 0
torch.cuda.device_count()      = 1
torch.cuda.current_device()    = 0
thanks~