*/

Ubuntu에 GPU 지원 TensorFlow 설치하기 - 1

리눅스 머신에 TensorFlow를 설치하기 위해서는 다음과 같은 기본 조건이 필요

  • 64-bit desktops or laptops
  • Ubuntu 16.04 or higher

GPU 지원 TensorFlow를 실행시키기 위한 NVIDIA 요구사항

      • /usr/local/cuda-9.1/lib64 을 LD_LIBRARY_PATH에 추가
      $ export LD_LIBRARY_PATH=/usr/local/cuda-9.1/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
  • cuDNN SDK v7. For details, see NVIDIA's documentation. CUDA_HOME 환경 변수를 만들 었는지 확인 필요.
  • GPU drivers supporting your version of the CUDA Toolkit.
  • GPU card with CUDA Compute Capability 3.0 or higher for building from source and 3.5 or higher for our binaries. See NVIDIA documentation for a list of supported GPU cards.
  • GPU card with CUDA Compute Capability 3.0 or higher
  • The libcupti-dev library,
  • CUDA Toolkit >= 9.0:
    $ sudo apt-get install cuda-command-line-tools 
    and add its path to your LD_LIBRARY_PATH environment variable:
    $ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}/usr/local/cuda/extras/CUPTI/lib64
    For CUDA Toolkit <= 7.5 do:
    $ sudo apt-get install libcupti-dev 
Docker 에 TensorFlow 설치하기

Reference

0 comments:

댓글 쓰기