install cuda, tensorflow-gpu and check available gpu in mint linux


## check current cuda ver 11.6



## install cudatoolkit 11.6
(p1) min@min-MS-7C94:~/바탕화면$ conda install -c deepmodeling cudatoolkit Collecting package metadata (current_repodata.json): done Solving environment: done ## Package Plan ## environment location: /home/min/anaconda3/envs/p1 added / updated specs: - cudatoolkit The following packages will be downloaded: package | build ---------------------------|----------------- cudatoolkit-11.6.0 | hd754f66_10 821.0 MB deepmodeling ------------------------------------------------------------ Total: 821.0 MB The following NEW packages will be INSTALLED: cudatoolkit deepmodeling/linux-64::cudatoolkit-11.6.0-hd754f66_10 None Proceed ([y]/n)? y Downloading and Extracting Packages cudatoolkit-11.6.0 | 821.0 MB | ############################################################################################## | 100% Preparing transaction: done Verifying transaction: done Executing transaction: / By downloading and using the CUDA Toolkit conda packages, you accept the terms and conditions of the CUDA End User License Agreement (EULA): https://docs.nvidia.com/cuda/eula/index.html done Retrieving notices: ...working... done  
## install tensorflow-gpu=2.10.0
(p1) min@min-MS-7C94:~/바탕화면$ conda install -c conda-forge tensorflow-gpu Collecting package metadata (current_repodata.json): - done Solving environment: done ## Package Plan ## environment location: /home/min/anaconda3/envs/p1 added / updated specs: - tensorflow-gpu The following packages will be downloaded: package | build ---------------------------|----------------- aiohttp-3.8.3 | py39hb9d737c_0 444 KB conda-forge cryptography-37.0.4 | py39hd97740a_0 1.5 MB conda-forge flatbuffers-2.0.7 | h27087fc_0 1.7 MB conda-forge frozenlist-1.3.1 | py39hb9d737c_0 44 KB conda-forge h5py-3.7.0 |nompi_py39hd51670d_101 1.3 MB conda-forge hdf5-1.12.2 |nompi_h2386368_100 3.5 MB conda-forge jpeg-9e | h166bdaf_2 269 KB conda-forge libblas-3.9.0 |16_linux64_openblas 13 KB conda-forge libcblas-3.9.0 |16_linux64_openblas 13 KB conda-forge libcurl-7.83.1 | h7bff187_0 342 KB conda-forge liblapack-3.9.0 |16_linux64_openblas 13 KB conda-forge libnghttp2-1.47.0 | hdcd2b5c_1 808 KB conda-forge libopenblas-0.3.21 |pthreads_h78a6416_3 10.1 MB conda-forge libssh2-1.10.0 | haa6b8db_3 234 KB conda-forge numpy-1.23.3 | py39hba7629e_0 7.1 MB conda-forge scipy-1.9.1 | py39h8ba3f38_0 26.2 MB conda-forge ------------------------------------------------------------ Total: 53.5 MB The following NEW packages will be INSTALLED: absl-py conda-forge/noarch::absl-py-1.2.0-pyhd8ed1ab_0 None aiohttp conda-forge/linux-64::aiohttp-3.8.3-py39hb9d737c_0 None aiosignal conda-forge/noarch::aiosignal-1.2.0-pyhd8ed1ab_0 None astunparse conda-forge/noarch::astunparse-1.6.3-pyhd8ed1ab_0 None async-timeout conda-forge/noarch::async-timeout-4.0.2-pyhd8ed1ab_0 None attrs conda-forge/noarch::attrs-22.1.0-pyh71513ae_1 None blinker conda-forge/noarch::blinker-1.4-py_1 None brotlipy conda-forge/linux-64::brotlipy-0.7.0-py39hb9d737c_1004 None c-ares conda-forge/linux-64::c-ares-1.18.1-h7f98852_0 None cached-property conda-forge/noarch::cached-property-1.5.2-hd8ed1ab_1 None cached_property conda-forge/noarch::cached_property-1.5.2-pyha770c72_1 None cachetools conda-forge/noarch::cachetools-5.2.0-pyhd8ed1ab_0 None cffi pkgs/main/linux-64::cffi-1.15.1-py39h74dc2b5_0 None charset-normalizer conda-forge/noarch::charset-normalizer-2.1.1-pyhd8ed1ab_0 None click conda-forge/linux-64::click-8.1.3-py39hf3d152e_0 None cryptography conda-forge/linux-64::cryptography-37.0.4-py39hd97740a_0 None cudnn conda-forge/linux-64::cudnn-8.4.1.50-hed8a83a_0 None flatbuffers conda-forge/linux-64::flatbuffers-2.0.7-h27087fc_0 None frozenlist conda-forge/linux-64::frozenlist-1.3.1-py39hb9d737c_0 None gast conda-forge/noarch::gast-0.4.0-pyh9f0ad1d_0 None giflib conda-forge/linux-64::giflib-5.2.1-h36c2ea0_2 None google-auth conda-forge/noarch::google-auth-2.11.1-pyh1a96a4e_0 None google-auth-oauth~ conda-forge/noarch::google-auth-oauthlib-0.4.6-pyhd8ed1ab_0 None google-pasta conda-forge/noarch::google-pasta-0.2.0-pyh8c360ce_0 None grpc-cpp conda-forge/linux-64::grpc-cpp-1.47.1-h05bd8bd_6 None grpcio conda-forge/linux-64::grpcio-1.47.1-py39h712372c_6 None h5py conda-forge/linux-64::h5py-3.7.0-nompi_py39hd51670d_101 None hdf5 conda-forge/linux-64::hdf5-1.12.2-nompi_h2386368_100 None icu conda-forge/linux-64::icu-70.1-h27087fc_0 None idna conda-forge/noarch::idna-3.4-pyhd8ed1ab_0 None importlib-metadata conda-forge/linux-64::importlib-metadata-4.11.4-py39hf3d152e_0 None jpeg conda-forge/linux-64::jpeg-9e-h166bdaf_2 None keras conda-forge/noarch::keras-2.10.0-pyhd8ed1ab_0 None keras-preprocessi~ conda-forge/noarch::keras-preprocessing-1.1.2-pyhd8ed1ab_0 None keyutils conda-forge/linux-64::keyutils-1.6.1-h166bdaf_0 None krb5 conda-forge/linux-64::krb5-1.19.3-h3790be6_0 None libabseil conda-forge/linux-64::libabseil-20220623.0-cxx17_h48a1fff_4 None libblas conda-forge/linux-64::libblas-3.9.0-16_linux64_openblas None libcblas conda-forge/linux-64::libcblas-3.9.0-16_linux64_openblas None libcurl conda-forge/linux-64::libcurl-7.83.1-h7bff187_0 None libedit conda-forge/linux-64::libedit-3.1.20191231-he28a2e2_2 None libev conda-forge/linux-64::libev-4.33-h516909a_1 None libgfortran-ng conda-forge/linux-64::libgfortran-ng-12.1.0-h69a702a_16 None libgfortran5 conda-forge/linux-64::libgfortran5-12.1.0-hdcd56e2_16 None liblapack conda-forge/linux-64::liblapack-3.9.0-16_linux64_openblas None libnghttp2 conda-forge/linux-64::libnghttp2-1.47.0-hdcd2b5c_1 None libopenblas conda-forge/linux-64::libopenblas-0.3.21-pthreads_h78a6416_3 None libpng conda-forge/linux-64::libpng-1.6.38-h753d276_0 None libprotobuf conda-forge/linux-64::libprotobuf-3.21.6-h6239696_1 None libsqlite conda-forge/linux-64::libsqlite-3.39.3-h753d276_0 None libssh2 conda-forge/linux-64::libssh2-1.10.0-haa6b8db_3 None libzlib conda-forge/linux-64::libzlib-1.2.12-h166bdaf_3 None markdown conda-forge/noarch::markdown-3.4.1-pyhd8ed1ab_0 None markupsafe conda-forge/linux-64::markupsafe-2.1.1-py39hb9d737c_1 None multidict conda-forge/linux-64::multidict-6.0.2-py39hb9d737c_1 None nccl conda-forge/linux-64::nccl-2.14.3.1-h0800d71_0 None numpy conda-forge/linux-64::numpy-1.23.3-py39hba7629e_0 None oauthlib conda-forge/noarch::oauthlib-3.2.1-pyhd8ed1ab_0 None opt_einsum conda-forge/noarch::opt_einsum-3.3.0-pyhd8ed1ab_1 None protobuf conda-forge/linux-64::protobuf-4.21.6-py39h5a03fae_0 None pyasn1 conda-forge/noarch::pyasn1-0.4.8-py_0 None pyasn1-modules conda-forge/noarch::pyasn1-modules-0.2.7-py_0 None pycparser conda-forge/noarch::pycparser-2.21-pyhd8ed1ab_0 None pyjwt conda-forge/noarch::pyjwt-2.5.0-pyhd8ed1ab_0 None pyopenssl conda-forge/noarch::pyopenssl-22.0.0-pyhd8ed1ab_1 None pysocks conda-forge/noarch::pysocks-1.7.1-pyha2e5f31_6 None python-flatbuffers conda-forge/noarch::python-flatbuffers-2.0-pyhd8ed1ab_0 None python_abi conda-forge/linux-64::python_abi-3.9-2_cp39 None pyu2f conda-forge/noarch::pyu2f-0.1.5-pyhd8ed1ab_0 None re2 conda-forge/linux-64::re2-2022.06.01-h27087fc_0 None requests conda-forge/noarch::requests-2.28.1-pyhd8ed1ab_1 None requests-oauthlib conda-forge/noarch::requests-oauthlib-1.3.1-pyhd8ed1ab_0 None rsa conda-forge/noarch::rsa-4.9-pyhd8ed1ab_0 None scipy conda-forge/linux-64::scipy-1.9.1-py39h8ba3f38_0 None snappy conda-forge/linux-64::snappy-1.1.9-hbd366e4_1 None tensorboard conda-forge/noarch::tensorboard-2.10.1-pyhd8ed1ab_0 None tensorboard-data-~ conda-forge/linux-64::tensorboard-data-server-0.6.0-py39hd97740a_2 None tensorboard-plugi~ conda-forge/noarch::tensorboard-plugin-wit-1.8.1-pyhd8ed1ab_0 None tensorflow conda-forge/linux-64::tensorflow-2.10.0-cuda112py39h01bd6f0_0 None tensorflow-base conda-forge/linux-64::tensorflow-base-2.10.0-cuda112py39h2957820_0 None tensorflow-estima~ conda-forge/linux-64::tensorflow-estimator-2.10.0-cuda112py39hd320b7a_0 None tensorflow-gpu conda-forge/linux-64::tensorflow-gpu-2.10.0-cuda112py39h0bbbad9_0 None termcolor conda-forge/noarch::termcolor-2.0.1-pyhd8ed1ab_1 None typing-extensions conda-forge/noarch::typing-extensions-4.3.0-hd8ed1ab_0 None typing_extensions conda-forge/noarch::typing_extensions-4.3.0-pyha770c72_0 None urllib3 conda-forge/noarch::urllib3-1.26.11-pyhd8ed1ab_0 None werkzeug conda-forge/noarch::werkzeug-2.2.2-pyhd8ed1ab_0 None wrapt conda-forge/linux-64::wrapt-1.14.1-py39hb9d737c_0 None yarl conda-forge/linux-64::yarl-1.7.2-py39hb9d737c_2 None zipp conda-forge/noarch::zipp-3.8.1-pyhd8ed1ab_0 None The following packages will be UPDATED: ca-certificates pkgs/main::ca-certificates-2022.07.19~ --> conda-forge::ca-certificates-2022.9.24-ha878542_0 None certifi pkgs/main/linux-64::certifi-2022.9.14~ --> conda-forge/noarch::certifi-2022.9.24-pyhd8ed1ab_0 None The following packages will be SUPERSEDED by a higher-priority channel: openssl pkgs/main::openssl-1.1.1q-h7f8727e_0 --> conda-forge::openssl-1.1.1q-h166bdaf_0 None Proceed ([y]/n)? Downloading and Extracting Packages h5py-3.7.0 | 1.3 MB | ############################################################################################## | 100% liblapack-3.9.0 | 13 KB | ############################################################################################## | 100% jpeg-9e | 269 KB | ############################################################################################## | 100% libssh2-1.10.0 | 234 KB | ############################################################################################## | 100% hdf5-1.12.2 | 3.5 MB | ############################################################################################## | 100% libcurl-7.83.1 | 342 KB | ############################################################################################## | 100% scipy-1.9.1 | 26.2 MB | ############################################################################################## | 100% aiohttp-3.8.3 | 444 KB | ############################################################################################## | 100% flatbuffers-2.0.7 | 1.7 MB | ############################################################################################## | 100% frozenlist-1.3.1 | 44 KB | ############################################################################################## | 100% cryptography-37.0.4 | 1.5 MB | ############################################################################################## | 100% libopenblas-0.3.21 | 10.1 MB | ############################################################################################## | 100% numpy-1.23.3 | 7.1 MB | ############################################################################################## | 100% libblas-3.9.0 | 13 KB | ############################################################################################## | 100% libnghttp2-1.47.0 | 808 KB | ############################################################################################## | 100% libcblas-3.9.0 | 13 KB | ############################################################################################## | 100% Preparing transaction: done Verifying transaction: done Executing transaction: | By downloading and using the cuDNN conda packages, you accept the terms and conditions of the NVIDIA cuDNN EULA - https://docs.nvidia.com/deeplearning/cudnn/sla/index.html done Retrieving notices: ...working... done
## check tf version..and available gpu




댓글

이 블로그의 인기 게시물

[!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/CocoaPods-version.yml Response: URL using bad/illegal format or missing URL

starcraft map

Data Analysis with Superset - boardless chart