NVIDIA 发布 CUDA Python 1.0:稳定 API 与统一平台访问
原标题:CUDA Python 1.0: Stable APIs, One Foundation, Full Platform Access
AI 摘要
NVIDIA 发布 CUDA Python 1.0,提供从 Python 访问完整 CUDA 平台的官方支持,包括 cuda.core、cuda.compute、cuda.bindings 等组件。该版本引入语义化版本控制,确保 API 稳定性,并统一了 Python GPU 生态的基础层,使不同库(如 Numba、cuda.compute)能在同一 GPU 缓冲区和流上协作。此举使 Python 成为与 C++ 同等的 CUDA 一等公民,降低了开发者使用高级平台功能(如绿色上下文)的门槛。
正文节选
For years, a Python developer who needed a GPU had two realistic choices: Learn NVIDIA CUDA C++ well enough to write an extension, set up a build toolchain, and maintain bindings back to Python, which most people never did; or move up the stack and let someone else’s library do it, namely PyTorch, CuPy, or RAPIDS. The second option is why the Python GPU ecosystem thrives. But it has limits. The moment you need something the library above you doesn’t expose, you’re back to the first choice. Becau