Accelerated DataFrames for all: Bringing GPU acceleration to pandas and Polars
summary
cuDF claims typical 10x–50x speedups (with some ops reaching ~100x) and offers a zero-code drop-in replacement for pandas via the cudf.pandas loader, while Polars acceleration runs through a custom engine='GPU' for the lazy API. managed memory and a streaming executor prevent OOMs, a distributed executor shards chunks across GPUs for near-100x gains on large clusters, and a low-level PyLibCuDF/C++ CUDA stack underpins the implementations; fallback and profiling tools reveal when operations run on CPU.
AI-written summary · about
chapters (16)
- 0:00Introduction to GPU DataFrames
- 1:04Pandas scalability limitations
- 2:29Rise of Polars and DuckDB
- 3:53Accelerating Pandas with cuDF
- 4:55Deep dive into cuDF internals
- 7:19Technical stack overview
- 9:04PyLibCuDF for performance
- 11:52Polars engines explained
- 15:01Polars GPU engine details
- 17:07Data flow in cuDF Pandas
- 18:31GPU data transfer mechanics
- 20:39Memory management solutions
- 22:44Polars memory handling
- 23:28Streaming execution model
- 24:54Distributed GPU execution
- 25:35Resources and Q&A
