What problem does it solve?
This Skill accelerates CPU-bound Python code using GPU/CUDA/NVIDIA technologies, dramatically improving performance for suitable workloads.
Core Features & Use Cases
- GPU Array Operations: Utilizes CuPy for array/matrix operations, replacing NumPy for performance improvements.
- Custom GPU Kernels: Compiles Python code to CUDA kernels with Numba for fine-grained control.
- Physics Simulations: Uses Warp for efficient physics simulations and differentiable programming.
- Data Wrangling: cuDF provides pandas-like DataFrame operations on GPU for data manipulation.
- Machine Learning: cuML offers scikit-learn replacement for GPU-accelerated machine learning.
- Graph Analytics: cuGraph replaces NetworkX for GPU-accelerated graph algorithms.
- Vector Search: cuVS performs GPU-accelerated vector search and similarity search.
- Geospatial Analysis: cuSpatial offers GPU-accelerated geospatial analytics.
- Image Processing: cuCIM provides GPU-accelerated image processing.
- File I/O: KvikIO accelerates file reading and writing with GPUDirect Storage.
- Interactive Dashboards: cuxfilter allows building GPU-accelerated interactive dashboards.
- Use Case: For example, a machine learning engineer wants to accelerate the training of a large-scale neural network model. They can use this Skill to leverage cuML for GPU-accelerated training.
Quick Start
Use the optimize-for-gpu skill to accelerate your Python code. For example, to accelerate a NumPy array operation, replace import numpy as np with import cupy as cp and change your operations accordingly.