🔧NVIDIA CUDA
Also known as CUDA, CUDA Toolkit, Compute Unified Device Architecture
NVIDIA's way to run any program on its GPUs. Most AI training uses it.
Think of it like
It is like one voice that tells a thousand cooks what to do.
Example
Why it matters
So much AI code is written for CUDA that NVIDIA's chips are hard to replace. This is a big reason NVIDIA leads in AI chips.
Definition
Example code
console
$ python -c "import torch; print(torch.cuda.is_available())"
TrueCommon mistake
Key takeaways
- 1Programs on the GPU. Not just graphics any more.
- 2NVIDIA only. Other makers' chips need other tools.
- 3AI's base layer. PyTorch and TensorFlow build on it.