Skip to content

Instantly share code, notes, and snippets.

@trojblue
trojblue / cuda_11.8_installation_on_Ubuntu_22.04
Created August 30, 2023 16:56 — forked from MihailCosmin/cuda_11.8_installation_on_Ubuntu_22.04
Instructions for CUDA v11.8 and cuDNN 8.7 installation on Ubuntu 22.04 for PyTorch 2.0.0
#!/bin/bash
### steps ####
# verify the system has a cuda-capable gpu
# download and install the nvidia cuda toolkit and cudnn
# setup environmental variables
# verify the installation
# https://gist.github.com/MihailCosmin/affa6b1b71b43787e9228c25fe15aeba
###