PyTorch ๋ฒ์ ํ์ธ
import torch
print(torch.__version__)
Tensorflow ๋ฒ์ ํ์ธ
import tensorflow as tf
print(tf.__version__)
Python ๋ฒ์ ํ์ธ
import sys
print(sys.version)
Python ๊ฒฝ๋ก ํ์ธ
import sys
print(sys.executable)
CUDA & Driver ๋ฒ์ ํ์ธ
1. nvidia-smi
- Driver version, CUDA version์ ํ์ธํ ์ ์๋ค.
2. nvcc
- CUDA version์ ํ์ธํ ์ ์๋ค.
3. PyTorch๋ฅผ ์ด์ฉํด ํ์ธ
import torch
print(torch.version.cuda)
cudnn ๋ฒ์ ํ์ธ
import torch
print(torch.backends.cudnn.version())
๊ด๋ จ๋ ๊ธ
nvidia-smi์ nvcc๋ก ๋ณธ CUDA version์ด ๋ค๋ฅผ ๋
๋ฐ์ํ
'๐ Python & library > Python' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
Python print ์ต์ 'sep' (0) | 2021.11.29 |
---|---|
Python decorator @ (0) | 2021.08.04 |
Python function annotation (ํจ์ ์ฃผ์) (0) | 2021.08.04 |
Python memory status, ๋ฉ๋ชจ๋ฆฌ ์ ์ ์จ ํ์ธ (0) | 2021.08.04 |