Definitions

How computers for agents work, from the hardware to the sandbox.

Definitionsc

CUDA

CUDA is NVIDIA's platform for running general-purpose programs on its GPUs, made up of a driver, libraries and tools.

CUDA is the software platform that lets programs use NVIDIA GPUs for general computing, not only graphics. It includes a programming model, a compiler, and libraries for common math such as matrix multiplication. Most machine learning frameworks, such as PyTorch, run on NVIDIA GPUs through CUDA. It works only on NVIDIA hardware, and AMD's ROCm plays the same role for AMD GPUs.

CUDA has several layers whose versions must fit together. The GPU driver, installed on the machine, supports CUDA up to a certain version. Each application or framework is built against a particular CUDA version and its libraries. A mismatch between these layers is one of the most common reasons a GPU program fails to start.

A sandbox with a GPU needs the driver on the host and matching CUDA libraries inside the sandbox. Images for GPU sandboxes usually start from a base that already has CUDA and common frameworks installed. The driver comes from the host, so the image only has to carry the libraries. Choosing a CUDA version that the host's driver supports avoids most startup errors.