PyTorch - torch / torchvision 版本信息

PyTorch - torch / torchvision 版本信息

(base) yongqiang@famu-sys:~$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Sep__1_21:08:03_CDT_2017
Cuda compilation tools, release 9.0, V9.0.176
(base) yongqiang@famu-sys:~$
(base) yongqiang@famu-sys:~$ cat /usr/local/cuda-9.0/include/cudnn.h | grep CUDNN_MAJOR -A 2
#define CUDNN_MAJOR 7
#define CUDNN_MINOR 5
#define CUDNN_PATCHLEVEL 0
--
#define CUDNN_VERSION (CUDNN_MAJOR * 1000 + CUDNN_MINOR * 100 + CUDNN_PATCHLEVEL)

#include "driver_types.h"
(base) yongqiang@famu-sys:~$
(base) yongqiang@famu-sys:~$ python3
Python 3.7.4 (default, Aug 13 2019, 20:35:49)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> torch.__version__
'1.1.0'
>>> exit()
(base) yongqiang@famu-sys:~$
(base) yongqiang@famu-sys:~$ python3
Python 3.7.4 (default, Aug 13 2019, 20:35:49)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> import torchvision
>>>
>>> torch.__version__
'1.1.0'
>>> torchvision.__version__
'0.3.0'
>>>
>>> exit()
(base) yongqiang@famu-sys:~$
(base) yongqiang@famu-sys:~$
(base) yongqiang@famu-sys:~$ python3
Python 3.7.4 (default, Aug 13 2019, 20:35:49)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.version
'3.7.4 (default, Aug 13 2019, 20:35:49) \n[GCC 7.3.0]'
>>>
>>> exit()
(base) yongqiang@famu-sys:~$

你可能感兴趣的:(PyTorch)