My conda environment yml file on GitHub
https://github.com/UkiDLucas/uki.guru/blob/master/conda_enviroment_GPU.ymlExecute yml file, set environment
$ conda env create --file .../conda_environment.yml
$ conda info --envs
$ source activate py352_tf_gpu
Update jupyter notebook (iPython) kernel with new environment we created
$ python -m ipykernel install --user --name py352_tf_gpu --display-name "conda env py352_tf_gpu"$ jupyter notebook
Test run in jupyter notebook
You can see that jupyter notebook recognize GPU
You can see execution on MacBook Pro (late 2013 with NVidia). Both CPU and GPU are measured.
PLEASE READ THIS if you get DEAD KERNELS in GPU mode:
https://github.com/aymericdamien/TensorFlow-Examples/issues/38#issuecomment-280468579
No comments:
Post a Comment