Skip to content

Guides GPU acceleration of scientific Python on NVIDIA hardware, benchmarking each change against the CPU baseline.

CCM score
63 of 100
skills.sh installs
2.2K
GitHub stars
58.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers CuPy, cuDF, cuML, cuGraph, cuVS, cuCIM, KvikIO, Warp, Numba-CUDA, and RAFT, with a layer-selection table
  • Includes references for decision guidance, installation by CUDA version, and before/after code conversions
  • Enforces a profile-first workflow that keeps the CPU version unless synchronized end-to-end benchmarks show a gain
  • Designed for users with slow NumPy, pandas, scikit-learn, or graph workloads on CUDA-capable NVIDIA GPUs

Install

$ npx -y skills add k-dense-ai/scientific-agent-skills --skill optimize-for-gpu -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

GPU Optimization for Python with NVIDIA

Treat GPU acceleration as an evidence-driven optimization, not an automatic rewrite. Preserve the user's numerical and algorithmic contract, measure with representative data, and keep the GPU version only when synchronized end-to-end benchmarks show a useful improvement.

Reviewed against RAPIDS 26.08, CuPy 14.2, Numba-CUDA 0.30.4, and Warp 1.17. The references contain illustrative GPU examples: source/API review is not execution on CUDA hardware. Validate them on the user's target GPU before reporting correctness or speedup. Do not use a moving latest documentation page to infer compatibility with a pinned release.

When This Skill Applies

Details

Repository
github.com/k-dense-ai/scientific-agent-skills
Categories
Data Science & Analytics, Code Review & Quality, Python
First seen
Jun 3, 2026

Questions

What does the optimize-for-gpu skill do?

optimize-for-gpu GPU-accelerates scientific Python on NVIDIA hardware and checks that the result is correct and faster. It covers CPU-bound NumPy, SciPy, pandas, scikit-learn and similar workloads, plus CuPy, cuDF, cuML and profiling of memory-transfer or kernel bottlenecks. It keeps the GPU version only when synchronized end-to-end benchmarks show a useful gain.

What does optimize-for-gpu need before it can run?

optimize-for-gpu requires an NVIDIA CUDA-capable GPU for GPU execution. Its RAPIDS 26.08 path needs Python 3.11 to 3.14 on Linux or WSL2, NumPy 2, CuPy 14 and compatible CUDA 12 or 13 wheels, and package installation needs network access.

How do I install the optimize-for-gpu skill?

Run npx -y skills add k-dense-ai/scientific-agent-skills --skill optimize-for-gpu -y inside your project to install optimize-for-gpu. Once installed, the agent can profile your slow array or dataframe code and decide whether a GPU library such as CuPy or cuDF is worth using.

Where does optimize-for-gpu sit in the Data Science & Analytics category?

optimize-for-gpu is in the Data Science & Analytics category, which also lists azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation. optimize-for-gpu differs from them by focusing on moving CPU-bound Python workloads onto NVIDIA GPUs and verifying the speedup.

More from k-dense-ai/scientific-agent-skills

All 132

Similar to Optimize For Gpu

More Data Science & Analytics