Skip to content

numba, starting to learn how to use the GPU for "AI" (aware that it is a marketing term) applications, written by me

Notifications You must be signed in to change notification settings

neobsv/cuda_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Using Miniconda

mkdir -p ~/miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm ~/miniconda3/miniconda.sh
source ~/miniconda3/bin/activate

Close the terminal and reopen it

conda init --all

Install cudatoolkit:

conda install cudatoolkit
conda install numba
conda update numba
conda install -c conda-forge cuda-nvcc cuda-nvrtc "cuda-version>=12.0"

Run:

python3 first.py

About

numba, starting to learn how to use the GPU for "AI" (aware that it is a marketing term) applications, written by me

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages