Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

colab-setup.sh 676 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  1. apt update
  2. apt install python3.10 python3.10-distutils python3.10-dev cuda-toolkit-10-2
  3. apt install --allow-change-held-packages libcudnn8=8.1.0.77-1+cuda11.2
  4. curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
  5. python3.10 get-pip.py
  6. pip3.10 install -r requirements.txt
  7. curl https://www.cs.purdue.edu/homes/jsetpal/cudnn.tar.xz -o cudnn.tar.xz
  8. tar -xvf cudnn.tar.xz
  9. cp cudnn-*-archive/include/cudnn*.h /usr/local/cuda/include
  10. cp -P cudnn-*-archive/lib/libcudnn* /usr/local/cuda/lib64
  11. chmod a+r /usr/local/cuda/include/cudnn*.h /usr/local/cuda/lib64/libcudnn*
  12. export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda:/usr/local/cuda/include:/usr/local/cuda/lib64/
  13. ldconfig
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...