you will need:
- nvidia driver
- CUDA
- https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=20.04&target_type=runfile_local
- https://developer.nvidia.com/cuda-11.3.0-download-archive?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=20.04&target_type=runfile_local
- check version here: https://www.nvidia.com/Download/index.aspx?lang=en-us
- nvidia-docker
- clone this gist or download it with wget
- run this commands:
git clone https://gist.github.com/c4c002bd904af665c71bd02da31ac0eb.git
cd c4c002bd904af665c71bd02da31ac0eb/
chmod +x run.sh install.sh install_cuda_and_nvidia_driver.sh
- to install drivers/nvidia-docker/docker/docker-compose run:
./install.sh
- if all requirements are already installed run docker with
./run.sh
git clone https://gist.github.com/c4c002bd904af665c71bd02da31ac0eb.git && cd c4c002bd904af665c71bd02da31ac0eb/&& chmod +x run.sh install.sh install_cuda_and_nvidia_driver.sh
./run.sh
You can edit test.sh
file it will be executed inside a docker container