Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. # create new conda environment using python3
  2. conda create --name cs280 python=3
  3. source activate cs280
  4.  
  5. export CMAKE_PREFIX_PATH=[anaconda root directory]
  6.  
  7. # Install basic dependencies
  8. conda install numpy pyyaml mkl setuptools cmake gcc cffi
  9.  
  10. # Add LAPACK support for the GPU
  11. conda install -c soumith magma-cuda80 # or magma-cuda75 if CUDA 7.5
  12.  
  13. # install pytorch
  14. conda install pytorch torchvision cuda80 -c soumith
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement