#24 · Primary category: MLOps & Evaluation

scalene

cpu cpu-profiling gpu gpu-programming memory-allocation memory-consumption performance-analysis performance-cpu profiler profiles-memory profiling python python-profilers scalene

Scalene: a high-performance, high-precision CPU, GPU, and memory profiler for Python with AI-powered optimization proposals

Project last updated:08/27/26

GitHub Stars

13.5K

Forks

436

Contributors

58

License

Apache-2.0

Why we included this project

Scalene is a Python profiler that reports CPU, GPU, and memory usage line by line, with low overhead, so it stays usable on real code. Its distinguishing trick is that it can hand the profile to an LLM and return concrete optimization suggestions, which gives you next steps instead of a wall of numbers. The GPU and memory tracking is what makes it stand out for people profiling ML training loops or data pipelines, since those bottlenecks are the hardest to see with ordinary tools. It runs from the command line, as a VS Code extension, or through a web interface.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category