个人深度学习工作站配置
2021年5月7日 @山东济南2W大洋入手一台个人服务器硬件配置:设备名:dell-Precision-5820-Tower内存:32G处理器:Intel® Xeon(R) W-2223 CPU @ 3.60GHz × 8显卡:Quadro RTX 4000/PCIe/SSE2(8G)Gnome:3.28.1os:64 位硬盘:2TB软件配置:1显卡驱动配置(watch -n 10 nvidia-
2021年5月7日 @山东济南
2W大洋入手一台个人服务器
目录
1显卡驱动配置(watch -n 10 nvidia-smi)
2/cuda驱动:11.0 (cudnn-11.3-linux-x64-v8.2.0.53.tgz)
硬件配置:
设备名:dell-Precision-5820-Tower
内存:32G
处理器:Intel® Xeon(R) W-2223 CPU @ 3.60GHz × 8
显卡:Quadro RTX 4000/PCIe/SSE2(8G)
Gnome:3.28.1
os:64 位
硬盘:2TB
软件配置:
1显卡驱动配置(watch -n 10 nvidia-smi)
Every 10.0s: nvidia-smi dell-Precision-5820-Tower: Fri May 7 16:57:53 2021
Fri May 7 16:57:53 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 450.119.03 Driver Version: 450.119.03 CUDA Version: 11.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 Quadro RTX 4000 Off | 00000000:65:00.0 On | N/A |
| 30% 30C P8 8W / 125W | 563MiB / 7973MiB | 36% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1640 G /usr/lib/xorg/Xorg 39MiB |
| 0 N/A N/A 2377 G /usr/bin/gnome-shell 55MiB |
| 0 N/A N/A 2666 G /usr/lib/xorg/Xorg 213MiB |
| 0 N/A N/A 2811 G /usr/bin/gnome-shell 160MiB |
2/cuda驱动:11.0 (cudnn-11.3-linux-x64-v8.2.0.53.tgz)
nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Tue_Sep_15_19:10:02_PDT_2020
Cuda compilation tools, release 11.1, V11.1.74
Build cuda_11.1.TC455_06.29069683_0
4/tensorflow-gpu测试
import tensorflow as tf
version = tf.__version__
gpu_ok = tf.test.is_gpu_available()
print("tf version:", version, "\n use GPU", gpu_ok)
结果:
/home/dell/anaconda3/envs/tensorflow/bin/python /home/dell/PycharmProjects/pythonProject1/demo11.py
WARNING:tensorflow:From /home/dell/PycharmProjects/pythonProject1/demo11.py:11: is_gpu_available (from tensorflow.python.framework.test_util) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.config.list_physical_devices('GPU')` instead.
2021-05-07 16:30:08.318937: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 AVX512F FMA
2021-05-07 16:30:08.341373: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 3600000000 Hz
2021-05-07 16:30:08.341896: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x55c9170d80f0 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2021-05-07 16:30:08.341922: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version
2021-05-07 16:30:08.352269: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1
2021-05-07 16:30:08.373585: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1555] Found device 0 with properties:
pciBusID: 0000:65:00.0 name: Quadro RTX 4000 computeCapability: 7.5
coreClock: 1.545GHz coreCount: 36 deviceMemorySize: 7.79GiB deviceMemoryBandwidth: 387.49GiB/s
2021-05-07 16:30:08.374073: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1
2021-05-07 16:30:08.376945: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10
2021-05-07 16:30:08.379563: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10
2021-05-07 16:30:08.380045: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10
2021-05-07 16:30:08.382589: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10
2021-05-07 16:30:08.383813: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10
2021-05-07 16:30:08.388322: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7
2021-05-07 16:30:08.389858: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1697] Adding visible gpu devices: 0
2021-05-07 16:30:08.389902: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1
2021-05-07 16:30:08.534818: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1096] Device interconnect StreamExecutor with strength 1 edge matrix:
2021-05-07 16:30:08.534857: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] 0
2021-05-07 16:30:08.534869: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] 0: N
2021-05-07 16:30:08.537254: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1241] Created TensorFlow device (/device:GPU:0 with 6954 MB memory) -> physical GPU (device: 0, name: Quadro RTX 4000, pci bus id: 0000:65:00.0, compute capability: 7.5)
2021-05-07 16:30:08.541241: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x55c9181e5a50 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
2021-05-07 16:30:08.541282: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Quadro RTX 4000, Compute Capability 7.5
tf version: 2.1.0
use GPU True
Process finished with exit code 0
附件:
conda包
name: tensorflow
channels:
- defaults
dependencies:
- _libgcc_mutex=0.1=main
- _tflow_select=2.1.0=gpu
- absl-py=0.12.0=py37h06a4308_0
- aiohttp=3.7.4=py37h27cfd23_1
- astor=0.8.1=py37h06a4308_0
- async-timeout=3.0.1=py37h06a4308_0
- attrs=20.3.0=pyhd3eb1b0_0
- blas=1.0=mkl
- blinker=1.4=py37h06a4308_0
- brotlipy=0.7.0=py37h27cfd23_1003
- bzip2=1.0.8=h7b6447c_0
- c-ares=1.17.1=h27cfd23_0
- ca-certificates=2021.4.13=h06a4308_1
- cachetools=4.2.2=pyhd3eb1b0_0
- cairo=1.16.0=hf32fb01_1
- certifi=2020.12.5=py37h06a4308_0
- cffi=1.14.5=py37h261ae71_0
- chardet=3.0.4=py37h06a4308_1003
- click=7.1.2=pyhd3eb1b0_0
- coverage=5.5=py37h27cfd23_2
- cryptography=3.4.7=py37hd23ed53_0
- cudatoolkit=10.1.243=h6bb024c_0
- cudnn=7.6.5=cuda10.1_0
- cupti=10.1.168=0
- cython=0.29.23=py37h2531618_0
- ffmpeg=4.0=hcdf2ecd_0
- fontconfig=2.13.1=h6c09931_0
- freeglut=3.0.0=hf484d3e_5
- freetype=2.10.4=h5ab3b9f_0
- gast=0.2.2=py37_0
- glib=2.68.1=h36276a3_0
- google-auth=1.30.0=pyhd3eb1b0_0
- google-auth-oauthlib=0.4.4=pyhd3eb1b0_0
- google-pasta=0.2.0=py_0
- graphite2=1.3.14=h23475e2_0
- grpcio=1.36.1=py37h2157cd5_1
- h5py=2.8.0=py37h989c5e5_3
- harfbuzz=1.8.8=hffaf4a1_0
- hdf5=1.10.2=hba1933b_1
- icu=58.2=he6710b0_3
- idna=2.10=pyhd3eb1b0_0
- importlib-metadata=3.10.0=py37h06a4308_0
- intel-openmp=2021.2.0=h06a4308_610
- jasper=2.0.14=h07fcdf6_1
- jpeg=9b=h024ee3a_2
- keras-applications=1.0.8=py_1
- keras-preprocessing=1.1.2=pyhd3eb1b0_0
- ld_impl_linux-64=2.33.1=h53a641e_7
- libffi=3.3=he6710b0_2
- libgcc-ng=9.1.0=hdf63c60_0
- libgfortran-ng=7.3.0=hdf63c60_0
- libglu=9.0.0=hf484d3e_1
- libopencv=3.4.2=hb342d67_1
- libopus=1.3.1=h7b6447c_0
- libpng=1.6.37=hbc83047_0
- libprotobuf=3.14.0=h8c45485_0
- libstdcxx-ng=9.1.0=hdf63c60_0
- libtiff=4.1.0=h2733197_1
- libuuid=1.0.3=h1bed415_2
- libvpx=1.7.0=h439df22_0
- libxcb=1.14=h7b6447c_0
- libxml2=2.9.10=hb55368b_3
- lz4-c=1.9.3=h2531618_0
- markdown=3.3.4=py37h06a4308_0
- mkl=2021.2.0=h06a4308_296
- mkl-service=2.3.0=py37h27cfd23_1
- mkl_fft=1.3.0=py37h42c9631_2
- mkl_random=1.2.1=py37ha9443f7_2
- multidict=5.1.0=py37h27cfd23_2
- ncurses=6.2=he6710b0_1
- numpy=1.20.1=py37h93e21f0_0
- numpy-base=1.20.1=py37h7d8b39e_0
- oauthlib=3.1.0=py_0
- opencv=3.4.2=py37h6fd60c2_1
- openssl=1.1.1k=h27cfd23_0
- opt_einsum=3.1.0=py_0
- pcre=8.44=he6710b0_0
- pip=21.0.1=py37h06a4308_0
- pixman=0.40.0=h7b6447c_0
- protobuf=3.14.0=py37h2531618_1
- py-opencv=3.4.2=py37hb342d67_1
- pyasn1=0.4.8=py_0
- pyasn1-modules=0.2.8=py_0
- pycparser=2.20=py_2
- pyjwt=1.7.1=py37_0
- pyopenssl=20.0.1=pyhd3eb1b0_1
- pysocks=1.7.1=py37_1
- python=3.7.10=hdb3f193_0
- readline=8.1=h27cfd23_0
- requests=2.25.1=pyhd3eb1b0_0
- requests-oauthlib=1.3.0=py_0
- rsa=4.7.2=pyhd3eb1b0_1
- scipy=1.6.2=py37had2a1c9_1
- setuptools=52.0.0=py37h06a4308_0
- six=1.15.0=py37h06a4308_0
- sqlite=3.35.4=hdfb4753_0
- tensorboard=2.4.0=pyhc547734_0
- tensorboard-plugin-wit=1.6.0=py_0
- tensorflow=2.1.0=gpu_py37h7a4bb67_0
- tensorflow-base=2.1.0=gpu_py37h6c5654b_0
- tensorflow-estimator=2.1.0=pyhd54b08b_0
- tensorflow-gpu=2.1.0=h0d30ee6_0
- termcolor=1.1.0=py37h06a4308_1
- tk=8.6.10=hbc83047_0
- typing-extensions=3.7.4.3=hd3eb1b0_0
- typing_extensions=3.7.4.3=pyh06a4308_0
- urllib3=1.26.4=pyhd3eb1b0_0
- werkzeug=1.0.1=pyhd3eb1b0_0
- wheel=0.36.2=pyhd3eb1b0_0
- wrapt=1.12.1=py37h7b6447c_1
- xz=5.2.5=h7b6447c_0
- yarl=1.6.3=py37h27cfd23_0
- zipp=3.4.1=pyhd3eb1b0_0
- zlib=1.2.11=h7b6447c_3
- zstd=1.4.9=haebb681_0
prefix: /home/dell/anaconda3/envs/tensorflow
pip包
absl-py @ file:///tmp/build/80754af9/absl-py_1615411205513/work
aiohttp @ file:///tmp/build/80754af9/aiohttp_1614360989480/work
astor==0.8.1
async-timeout==3.0.1
attrs @ file:///tmp/build/80754af9/attrs_1604765588209/work
blinker==1.4
brotlipy==0.7.0
cachetools @ file:///tmp/build/80754af9/cachetools_1619597386817/work
certifi==2020.12.5
cffi @ file:///tmp/build/80754af9/cffi_1613246939562/work
chardet @ file:///tmp/build/80754af9/chardet_1605303159953/work
click @ file:///home/linux1/recipes/ci/click_1610990599742/work
coverage @ file:///tmp/build/80754af9/coverage_1614614864940/work
cryptography @ file:///tmp/build/80754af9/cryptography_1616769182610/work
Cython @ file:///tmp/build/80754af9/cython_1618432038002/work
gast==0.2.2
google-auth @ file:///tmp/build/80754af9/google-auth_1619477128713/work
google-auth-oauthlib @ file:///tmp/build/80754af9/google-auth-oauthlib_1617120569401/work
google-pasta==0.2.0
grpcio @ file:///tmp/build/80754af9/grpcio_1614883945333/work
h5py==2.8.0
idna @ file:///home/linux1/recipes/ci/idna_1610986105248/work
importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1617877314848/work
Keras-Applications @ file:///tmp/build/80754af9/keras-applications_1594366238411/work
Keras-Preprocessing @ file:///tmp/build/80754af9/keras-preprocessing_1612283640596/work
Markdown @ file:///tmp/build/80754af9/markdown_1614363832606/work
mkl-fft==1.3.0
mkl-random @ file:///tmp/build/80754af9/mkl_random_1618853974840/work
mkl-service==2.3.0
multidict @ file:///tmp/build/80754af9/multidict_1607367738239/work
numpy @ file:///tmp/build/80754af9/numpy_and_numpy_base_1618497199865/work
oauthlib==3.1.0
opt-einsum==3.1.0
protobuf==3.14.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycparser @ file:///tmp/build/80754af9/pycparser_1594388511720/work
PyJWT==1.7.1
pyOpenSSL @ file:///tmp/build/80754af9/pyopenssl_1608057966937/work
PySocks @ file:///tmp/build/80754af9/pysocks_1594394576006/work
requests @ file:///tmp/build/80754af9/requests_1608241421344/work
requests-oauthlib==1.3.0
rsa @ file:///tmp/build/80754af9/rsa_1614366226499/work
scipy @ file:///tmp/build/80754af9/scipy_1618852618548/work
six @ file:///tmp/build/80754af9/six_1605205313296/work
tensorboard @ file:///home/builder/ktietz/aggregate/tensorflow_recipes/ci_te/tensorboard_1614593728657/work/tmp_pip_dir
tensorboard-plugin-wit==1.6.0
tensorflow==2.1.0
tensorflow-estimator==2.1.0
termcolor==1.1.0
typing-extensions @ file:///tmp/build/80754af9/typing_extensions_1611751222202/work
urllib3 @ file:///tmp/build/80754af9/urllib3_1615837158687/work
Werkzeug @ file:///home/ktietz/src/ci/werkzeug_1611932622770/work
wrapt==1.12.1
yarl @ file:///tmp/build/80754af9/yarl_1606939952652/work
zipp @ file:///tmp/build/80754af9/zipp_1615904174917/work
更多推荐
所有评论(0)