Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # create new conda environment using python3
- conda create --name cs280 python=3
- source activate cs280
- export CMAKE_PREFIX_PATH=[anaconda root directory]
- # Install basic dependencies
- conda install numpy pyyaml mkl setuptools cmake gcc cffi
- # Add LAPACK support for the GPU
- conda install -c soumith magma-cuda80 # or magma-cuda75 if CUDA 7.5
- # install pytorch
- conda install pytorch torchvision cuda80 -c soumith
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement