This release adds 3.14 compatibility, uses a more robust CPU/GPU sampling approach to avoid pathological behavior when the sampling rate aliases native execution epochs, and incorporates a prototype enhanced support for profiling certain Neuron workloads (mostly due to @nehamur). It also includes some bug fixes. Beyond that, the main scalene_profiler.py
code has been significantly refactored to make it more manageable, and all code is now mypy
and ruff
"clean"; both linters are now part of the CI pipeline.
What's Changed
- Fixes a line-level attribution bug when using
@profile
by @emeryberger - Py314 update by @emeryberger in #934
- Add neuron profiling support to Scalene GUI and profiler by @nehamur in #935
- Typed dict for arguments, fixing a bug by @emeryberger in #937
- Refactor scalene_profiler.py to improve modularity and reduce complexity by @Copilot in #938
- Cpu Timestamp + Visualization Changes by @nehamur in #940
- Random time samples added to GUI by @nehamur in #942
- Geometric sampling update by @emeryberger in #943
New Contributors
Full Changelog: v1.5.53...v1.5.54