NVIDIA/numba-cuda

The CUDA target for Numba

What it solves

Numba-CUDA provides a way to run Python code on NVIDIA GPUs. It allows developers to offload computational tasks to the GPU to improve performance for data-intensive operations.

How it works

It acts as a target for the Numba compiler, enabling the translation of Python functions into CUDA kernels that can execute directly on NVIDIA hardware. Users can install it via pip or conda to integrate GPU acceleration into their existing Python workflows.

Who it’s for

This project is for developers and data scientists who use Python and need to leverage NVIDIA GPU hardware to speed up their applications. Note that the project is currently in maintenance mode, and users are encouraged to transition to Numba-CUDA-MLIR for new development.

Highlights

  • Enables GPU-accelerated computing directly from Python code.
  • Supports standard installation methods like pip and conda.
  • Includes a dedicated testing suite to ensure compatibility with local compute capabilities.
  • Currently focused on security updates and critical bug fixes through the lifetime of CUDA 13.

Related

  • Project
  • Project
  • Project
  • Project