GPU-accelerate Python code using CuPy, Numba CUDA, Warp, cuDF, cuML, cuGraph, KvikIO, cuCIM, cuxfilter, cuVS, cuSpatial, and RAFT.
SkillScore100Maintained
Automatic
◆Coding pack
Last verified 8/28/2026
What it changes
Passed 22 of 22 test cases with the skill, and 13 of 22 without it.
Without skill59%
With skill100%
Checks it passed that the model alone missed
The installation command uses 'uv add'.
The response states that cuxfilter is sunset.
The package installation commands use 'uv add'.
and 8 more in the full report
9 fixed13 passed either way0 still failing0 broke
Pass-rate lift
+41 pp
Tokens
+354%
Agent turns
0%
Response time
-10%
Model gemini-3.6-flashMeasured 8/28/2026v122 of 22 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 9 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 9
Prompt
I need to read 50 GB raw binary files directly from disk into GPU device memory without copying data through CPU host RAM, as CPU-to-GPU memory transfer is my primary performance bottleneck. Which Python library enables GPUDirect Storage for direct NVMe to GPU array loading? Please provide the library name and installation command.
What was checked, without and with the skill
Checked
Without skill
With skill
The response recommends KvikIO for GPUDirect Storage GPU file IO.
Passed
Passed
The installation command uses 'uv add'.
Missed
Passed
case-05 · gemini-3.6-flash · 8/28/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md701 lines13 files
GPU Optimization for Python with NVIDIA
You are an expert GPU optimization engineer. Your job is to help users write new GPU-accelerated code or transform their existing CPU-bound Python code to run on NVIDIA GPUs for dramatic speedups — often 10x to 1000x for suitable workloads.
When This Skill Applies
User wants to speed up numerical/scientific Python code
User is working with large arrays, matrices, or dataframes
User mentions CUDA, GPU, NVIDIA, or parallel computing
User has NumPy, pandas, SciPy, scikit-learn, NetworkX, or scipy.sparse.linalg code that processes large datasets
User is doing machine learning (training, inference, hyperparameter tuning, preprocessing)
User is doing graph analytics (centrality, community detection, shortest paths, PageRank, etc.)
User is doing vector search, nearest neighbor search, similarity search, or building a RAG pipeline
User has Faiss, Annoy, ScaNN, or sklearn NearestNeighbors code that could be GPU-accelerated
User wants GPU-accelerated interactive dashboards, cross-filtering, or exploratory data analysis on large datasets
User is doing geospatial analysis (point-in-polygon, spatial joins, trajectory analysis, distance calculations) with GeoPandas or shapely
User is doing image processing, computer vision, or medical imaging (filtering, segmentation, morphology, feature detection) with scikit-image or OpenCV
User is working with whole-slide images (WSI), digital pathology, microscopy, or remote sensing imagery
User is loading large binary data files into GPU memory (numpy.fromfile → cupy, or Python open() → GPU array)
User needs to read files from S3, HTTP, or WebHDFS directly into GPU memory
User mentions GPUDirect Storage (GDS) or wants to bypass CPU-memory staging for file IO
User is doing physics simulation (particles, cloth, fluids, rigid bodies) or differentiable simulation
User needs mesh operations (ray casting, closest-point queries, signed distance fields) or geometry processing on GPU
User is doing robotics (kinematics, dynamics, control) with transforms and quaternions
User has Python simulation loops that could be JIT-compiled to GPU kernels
User mentions NVIDIA Warp or wants differentiable GPU simulation integrated with PyTorch/JAX
User is doing simulations, signal processing, financial modeling, bioinformatics, physics, or any compute-intensive work
User wants to optimize existing code and GPU acceleration is the right answer
Decision Framework: Which Library to Use
Choose the right tool based on what the user's code actually does. Read the appropriate reference file(s) before writing any GPU code.
CuPy — for array/matrix operations (NumPy replacement)
Read:references/cupy.md
Use CuPy when the user's code is primarily:
NumPy array operations (element-wise math, linear algebra, FFT, sorting, reductions)
SciPy operations (sparse matrices, signal processing, image filtering, special functions)