Search the archive

14,355 indexed articles, 13,283 of them summarised by us.

Articles
14,355
Research papers
91,965
Models priced
2,249
Providers
163

11 results for “CuPy”

Newest and most relevant first

CUDA Python 1.0: Stable APIs, One Foundation, Full Platform Access

Python GPU libraries like PyTorch, CuPy, and Numba now share one NVIDIA-maintained CUDA foundation with stable versioning, so libraries interoperate without version conflicts or custom bindings.

NVIDIA released CUDA Python 1.0, making Python an officially supported way to program its GPUs. Previously, Python programmers mostly relied on separate libraries like PyTorch that each connected to CUDA in their own way, causing compatibility headaches. Now those libraries share one common foundation, so a buffer created by one tool works directly with another. Anyone building GPU-powered software in Python benefits, and the tools are free to install via pip.

CUDA Python 1.0 (shipped with CUDA 13.3) gives NVIDIA's platform semantic versioning guarantees, meaning breaking API changes only occur in major releases. Libraries like CuPy and PyTorch now build on the shared cuda.core foundation, reducing version conflicts and interop bugs in dependency graphs. Teams doing GPU work in Python can adopt it immediately with just an up-to-date driver required.

CUDA Python 1.0 comprises independently versioned components: cuda.core 1.0.0 (Pythonic runtime interface adding green contexts, process checkpointing, IPC), cuda.compute 1.0.0 (CCCL algorithms with Python lambda customization), cuda.bindings 13.3.0 (1:1 C API coverage, toolkit-versioned), and nvmath-python 1.0. numba-cuda-mlir is newer and not yet covered by the semantic versioning guarantees. Install via pip; no separate CUDA Toolkit needed.

NVIDIA Developer Blog →

Run High-Performance Core Math at Scale with NVIDIA nvmath-python

Python developers can now access NVIDIA's GPU math libraries through a stable v1.0 API, removing the need for low-level C/C++ wrappers.

NVIDIA has released version 1.0 of nvmath-python, a Python library that speeds up common math operations like matrix multiplication and FFTs using NVIDIA GPUs. It works with familiar tools like NumPy, CuPy, and PyTorch, and can scale from a laptop CPU to many GPUs across multiple machines. Scientists and engineers doing heavy numerical computing benefit most.

With nvmath-python v1.0 generally available, teams running scientific or deep learning workloads in Python can adopt NVIDIA-optimized GPU math without writing C++ or changing their NumPy/CuPy/PyTorch workflows. Installation supports pip, conda, uv, and pixi, lowering integration cost. The main risk is vendor lock-in to NVIDIA hardware; no performance benchmarks beyond autotuning examples are provided.

nvmath-python v1.0 wraps cuFFT, cuBLASLt, cuDSS, cuSPARSE, cuTENSOR, and cuBLASMp with generic and specialized ('advanced' submodule) APIs across CPU, GPU, and distributed execution spaces. Stateful APIs amortize planning/autotuning across repeated executions, with plans serializable to disk; fused cuBLASLt GEMM+epilogue via numba-cuda callbacks reduces kernel launches for low-arithmetic-intensity operations. A universal sparse tensor DSL defines custom sparse formats without coding them. Autotuning gains vary: RTX A6000 showed 256% speedup, while B200 hit peak without tuning.

NVIDIA Developer Blog →

🤗 Kernels: Major Updates

Hugging Face's kernel Hub distribution now defaults to loading only trusted, signed publishers, and a redesigned kernels/kernel-builder stack supports Torch Stable ABI and TVM FFI.

Hugging Face runs a project called Kernels for packaging fast GPU programs (kernels) that AI software can install from its Hub. The Hub now treats each kernel as its own repository type showing which chips and systems it supports, and only loads kernels from trusted publishers unless you explicitly opt in. Developers get new building and security tools, while anyone running AI models gets safer, easier access to optimized code.

Hugging Face has rebuilt its Kernels project around security and distribution: kernels now execute only from trusted publishers by default, with code signing via Sigstore's cosign rolling out, plus reproducible Nix builds embedding Git SHA1s. The stack now supports Torch Stable ABI (one kernel targets Torch >= 2.9 for ~two years) and Apache TVM FFI across PyTorch, JAX and CuPy. Teams distributing or consuming custom CUDA kernels face new publisher gating; a libstdc++ linking fix addressed real segfaults.

Kernels introduces a Hub 'kernel' repo type, trusted-publisher gating (opt-out via trust_remote_code=True), and Sigstore cosign signing with ephemeral keys verified against trusted GitHub workflows, signature verification at load time is not yet enabled. Nix-based hermetic builds embed the source Git SHA1. Torch Stable ABI and Apache TVM FFI are now supported. Static libstdc++ linking caused segfaults via global initialization conflicts, so kernels now link it dynamically against the official manylinux_2_28 toolchain.

Huggingface Blog →

Simplify Sparse Deep Learning with Universal Sparse Tensor in nvmath-python

PyTorch researchers can now run linear layers on novel sparse weight formats without rewriting model code, with large speedups possible on pruned networks.

NVIDIA's nvmath-python, a Python library for fast math on GPUs, added a feature called the Universal Sparse Tensor in version 0.9.0. Sparse tensors store only nonzero values, saving memory when a matrix is mostly empty, such as a neural network after pruning. The new format separates how sparsity is described from how data is laid out, and converts between formats like COO and CSR without copying data. Speedups of 1.1x to 444x were reported over existing tools on one benchmark matrix.

NVIDIA's nvmath-python v0.9.0 lets teams compress mostly-empty weight matrices in deep learning models without restructuring code or rewriting kernels. Benchmarks show up to 444x faster sparse matrix multiplication than CuPy's or PyTorch's native sparse paths on one Matrix Market matrix. The gains depend heavily on sparsity level and format: CSR matched cuSPARSE, and the benefit is largest for DIA and custom formats. Teams using pruned or heavily sparse models gain most; dense workloads see nothing.

Universal Sparse Tensor in nvmath-python v0.9.0 decouples sparsity from memory layout via a runtime DSL (e.g. '(i, j) -> (j: dense, i: compressed)' for CSC), with zero-copy conversion to and from PyTorch, SciPy, CuPy and NumPy across COO, CSR, CSC, BSR, BSC and DIA. Polymorphic matmul() and solve() dispatch to optimized kernels for standard formats or JIT-generate code for custom ones, with planning-phase caching. A torch.Tensor subclass enables UST injection and weight reformatting in linear layers. On the 1,489,752x1,489,752 atmosmodl matrix, UST SpMV ran 1.1x to 444x faster than CuPy and PyTorch; MACKO UST matched or beat the original MACKO CUDA kernel.

NVIDIA Developer Blog →

Topping the GPU MODE Kernel Leaderboard with NVIDIA cuda.compute

Python developers can now call NVIDIA's speed-of-light CUB GPU primitives (sort, scan, reduce, histogram) directly without writing or binding CUDA C++ kernels.

NVIDIA's CCCL team won the most first-place finishes on the GPU MODE leaderboard using its new cuda.compute library. This tool lets programmers write fast GPU code in Python instead of the slower, more difficult C++ traditionally required. Its sort was two-to-four times faster than the next best competition entry. Anyone building GPU-powered Python software benefits.

NVIDIA's new cuda.compute library removes the C++ expertise barrier to high-performance GPU computing, letting teams stay in Python with JIT-compiled, architecture-optimized kernels. The CCCL team won the most first-place finishes across B200, H100, A100, and L4 hardware, with sorting two-to-four times faster than rivals. Teams building Python GPU libraries like CuPy or RAPIDS components gain faster iteration; custom kernel writers see less advantage.

cuda.compute exposes a Pythonic API for device-wide CUB primitives, JIT-compiling kernels with custom Python-defined types and operators plus link-time optimization. The CCCL team topped the GPU MODE leaderboard on B200, H100, A100, and L4; CUB sort beat the next submission by two-to-four times. Top VectorAdd rivals required C++ with inline PTX, producing architecture-dependent code. Losses stemmed from lacking per-GPU tuning policies versus problem-size-specialized entries.

NVIDIA Developer Blog →

Advanced Large-Scale Quantum Simulation Techniques in cuQuantum SDK v25.11

Researchers validating large quantum circuits and testing error-correction codes can now run Pauli-propagation and stabilizer frame simulations on GPUs, cutting runtimes by orders of magnitude.

NVIDIA has updated its cuQuantum software (version 25.11) with two new tools that run quantum computer simulations on its graphics chips. One simulates big quantum circuits by tracking only the important parts and discarding negligible ones; the other rapidly models the noise that real quantum machines suffer from. Benchmarks show speedups of over 1,000 times compared with existing CPU software, which matters to people developing and checking quantum computers.

NVIDIA's cuQuantum v25.11 extends its quantum simulation stack to two workloads previously dominated by CPU tools: Qiskit's PauliProp and Google's Stim. Reported gains are multiple orders of magnitude for 127-qubit utility circuits on DGX B200, and up to 1,060x for large-code-distance error-correction sampling. Teams doing quantum validation, decoder testing, or AI training-data generation on NVIDIA hardware gain directly; CPU-based workflows face a migration decision.

cuQuantum v25.11 adds cuPauliProp, which represents states as weighted Pauli tensor products with dynamic truncation of insignificant terms, and cuStabilizer, a GPU frame simulator accepting Stim-format circuits with C and Python APIs. On DGX B200, cuPauliProp beats single-threaded Qiskit PauliProp by multiple orders of magnitude on the 127-qubit IBM utility circuit; cuStabilizer reaches 1,060x sampling speedup versus Stim on an Intel Xeon Platinum 8570 at code distance 31 with one million shots. Performance is best with bit-packed tables kept on GPU via CuPy.

NVIDIA Developer Blog →

Bring Your Circuits to CUDA-Q Using QGEAR

Quantum researchers can now move Qiskit circuits into NVIDIA's CUDA-Q runtime via the pip-installable QGEAR package, though for most practitioners the change is marginal.

This is a tutorial about QGEAR, a small software tool that converts quantum circuits, step-by-step instructions for quantum computers, written in the popular Qiskit format into a form that NVIDIA's CUDA-Q software can run. The article is mostly a copy of installation logs showing the tool installing version 0.0.1 and running successfully. It affects quantum programmers who want NVIDIA GPU acceleration. No explanation of performance benefits, benchmark figures, or real-world use cases is provided.

QGEAR 0.0.1 is a pip-installable tool that converts Qiskit circuits into NVIDIA CUDA-Q gate lists, letting teams run quantum simulations on NVIDIA GPU stacks without rewriting code. The article is essentially terminal output from a successful install on a supercomputer scratch directory. There are no performance claims, adoption figures, or cost information, so the business impact cannot be assessed from this piece. Teams already invested in Qiskit plus NVIDIA GPUs are the only plausible audience.

The post demonstrates QGEAR (qgear-lightning 0.0.1) converting Qiskit 2.1.2 circuits to CUDA-Q 0.10.0 kernels: qiskit_to_gateList serializes gates into HDF5 (via write4_data_hdf5), and circ_kernel reconstructs them for cudaq.draw. Dependencies include cuquantum-python-cu12 25.3.0, custatevec 1.8.0 and cupy 13.4.1. The log shows only a trivial circuit with one u() gate on qubit 3, a harmless libtinfo.so.6 warning, and no benchmarks, accuracy data, or supported-gate coverage.

NVIDIA Developer Blog →

The Kaggle Grandmasters Playbook: 7 Battle-Tested Modeling Techniques for Tabular Data

Practitioners get a reusable GPU-accelerated playbook from four Kaggle Grandmasters for building competitive tabular models without months of trial and error.

Four top-ranked Kaggle competitors, Kazuki Onodera, Théo Viel, Gilberto Titericz and Chris Deotte, published a seven-technique playbook for working with tabular data, meaning spreadsheet-style tables rather than images or text. The techniques include deeper data checks, diverse baselines, thousands of engineered features, model ensembling and pseudo-labeling, each made fast by running on graphics cards with NVIDIA's cuDF and cuML tools. Anyone building predictive models on business data can adopt the methods, and free notebooks are provided.

Four Kaggle Grandmasters documented the exact workflow behind their competition wins, covering how distribution checks, feature generation at scale, and ensembling produced first-place finishes in contests like Predict Calorie Expenditure. The notable change is cost: NVIDIA's cuDF and cuML make steps that took months on CPUs take hours on GPUs, and Colab notebooks with free GPUs are provided. Teams doing tabular ML can copy the playbook without new licensing costs; the article is self-promotional for NVIDIA hardware.

The playbook covers train-test distribution checks, temporal target analysis, diverse baselines (linear, GBDT, neural nets via cuML), pair-combination categorical feature generation with cuDF, hill-climbing ensembles vectorized in CuPy, three-level stacking, and pseudo-labeling with soft labels and k-fold leakage avoidance. GPU acceleration reduces stack training by roughly an order of magnitude versus CPU. The article gives no quantitative benchmark numbers or runtime measurements, acceleration claims are qualitative. Linking write-ups cover BirdCLEF 2024 and Amazon KDD Cup '23.

NVIDIA Developer Blog →

Build High-Performance Vision AI Pipelines with NVIDIA CUDA-Accelerated VC-6

AI data pipelines can now decode only the image bytes a model actually needs directly onto the GPU, cutting I/O and PCIe traffic by up to 72% and removing OpenCL-to-CUDA context-switch overhead.

NVIDIA and V-Nova have rebuilt an image codec called SMPTE VC-6 to run on NVIDIA GPUs via CUDA, the software layer that powers most AI. The codec stores pictures in a hierarchy of resolutions and regions, so software can pull out only the version or area it needs instead of decoding the whole file. In tests, the new version decodes a single image up to 13 times faster than running on a CPU. It matters most for AI systems that train on huge image collections.

V-Nova and NVIDIA ported the SMPTE VC-6 image codec from OpenCL to CUDA, eliminating context-switching overhead and enabling direct tensor handoff to PyTorch and CuPy. On an RTX PRO 6000 Blackwell GPU, single-image decode is up to 13x faster than CPU and 1.2-1.6x faster than the OpenCL version. Teams building vision AI pipelines can reduce data transfer by roughly 37-72% by fetching only the resolution needed. The implementation is alpha-stage; native batching is not yet supported.

VC-6 encodes images as a hierarchy of echelons: a root low-resolution layer plus residual layers, with tiles, planes and echelons independently decodable, a structure mapping well to SIMT GPUs. The new CUDA backend outputs __cuda_array_interface__ tensors directly to CuPy/PyTorch, and partial decode via FrameRegion(echelon=1) fetches only required bytes (DIV2K: ~37% I/O saved at medium resolution, ~72% at low). Single-image decode: 1.24 ms CUDA vs 15.95 ms CPU; 1.2-1.6x faster than OpenCL. Profiling with Nsight identified kernel-launch overhead in upsampling chains and branch divergence; native batching remains future work.

NVIDIA Developer Blog →

Delivering the Missing Building Blocks for NVIDIA CUDA Kernel Fusion in Python

Python GPU developers can now use CUB/Thrust building blocks directly, fusing custom algorithms into single kernels without writing C++ or slow memory-allocating array code.

NVIDIA released cuda-cccl, a Python library giving access to CUB and Thrust, C++ building blocks that libraries like PyTorch use internally for fast GPU code. It lets developers combine small operations into a single fast computation instead of allocating memory for each step. In a test, it summed a sequence in 28.3 microseconds versus 690 microseconds using CuPy's array operations. It is for people building custom GPU algorithms in Python rather than replacing existing libraries.

NVIDIA's cuda-cccl closes a gap that forced Python GPU library developers to write C++ for custom algorithms, on which projects like PyTorch, TensorFlow, XGBoost and RAPIDS already rely. It is free via pip install cuda-cccl and targets library builders rather than everyday users of CuPy or PyTorch. Teams currently maintaining C++ Python bindings to Thrust or CUB are the most direct beneficiaries. Adoption cost is low, but the APIs are deliberately low-level.

cuda-cccl exposes CUB and Thrust to Python via two modules: cuda.compute for array/range algorithms and cuda.coop for block- and warp-level numba.cuda kernels. Speedup comes from iterators like CountingIterator and TransformIterator representing sequences without allocation, explicit kernel fusion, and a thin layer over device code, reducing four kernel launches to one. Benchmark: reduce_into built with cuda.compute ran 28.3 μs versus 690 μs for a naive CuPy implementation on an RTX 6000 Ada Generation GPU. The C++-mirroring APIs are intentionally low-level.

NVIDIA Developer Blog →

Driving Toward Billion-Cell Analysis and Biological Breakthroughs with RAPIDS-singlecell

Bioinformatics researchers can now run single-cell analyses on billion-cell datasets in seconds instead of hours, changing what's practical for virtual cell model training.

NVIDIA's RAPIDS-singlecell is a free, open-source tool that uses graphics processors to analyze single-cell biology data much faster. In tests, clustering on a 1.1-million-cell dataset took 14.4 seconds instead of 7.83 hours. A biotech firm called Noetik says it has generated over 5.5 billion simulated cells using it. This speeds up drug discovery and disease research.

Noetik, an AI biotech company, reports that RAPIDS-singlecell cut its UMAP analysis time by 470x and Leiden clustering by 1958x on a 1.1-million-cell dataset, moving from hours or days on CPUs to seconds. Benchmarks on NVIDIA's DGX B200 show 1 million cells fully preprocessed in 2.9 seconds on one GPU. Labs relying on CPU-based Scanpy workflows face growing pressure to adopt GPU tooling for billion-cell datasets.

RAPIDS-singlecell v0.12.6, an MIT-licensed scverse tool, uses CuPy, cuML (PCA/UMAP/t-SNE), cuGraph (Leiden/Louvain), cuVS (ivfpq neighbors) and Dask for multi-GPU scaling on AnnData objects. Benchmarks on an NVIDIA DGX B200 processed 1M cells in 24.6 seconds total versus 5176 seconds on an AMD EPYC CPU with Scanpy v1.11.1; multi-GPU PCA on 11M cells completed under 2 seconds on Blackwell. Its Harmony batch-integration implementation uses label-vector rather than one-hot encoding, running up to 350x faster than CPU. Zarr format is recommended for large datasets.

NVIDIA Developer Blog →