Lab Notes
맥북 프로에 GPU 버전 Tensorflow 설치
루크77
2017. 1. 24. 19:18
System: MacBook Pro (Retinal, Mid 2012)
OS: macOS Sierra (version 10.12.2)
Graphic: NVIDIA GeForce GT 650M 1024 MB (Intel HD Graphics 4000)
anaconda 설치 (python 3.5 버전)
https://www.continuum.io/downloads
https://www.tensorflow.org/get_started/os_setup#pip_installation
상기 링크를 활용하여 tensorflow 설치
맥에 CUDA 설치는 다음을 참고
https://www.tensorflow.org/get_started/os_setup#optional_setup_gpu_for_mac
설치 후 tensorflow import 했을 때 ld: framework not found CUDA 에러가 발생하면 다음 명령어로 관련 툴 설치
xcode-select --install
다시 tensorflow import 시 segmentation fault 11 에러 발생 시 다음을 수행함
1. finder에서 "폴더로 이동" 선택
2. /usr/local/cuda/lib 입력
3. libcuda.dylib 파일의 이름을 libcuda.1.dylib 로 변경 (네이밍 에러라는데.. 현시점(2017.1)까지 고쳐지지 않은 듯...)