Skip to content

Releases: plasma-umass/scalene

Maintenance release with bugfixes and performance improvements

15 Feb 22:58

Choose a tag to compare

What's Changed

Full Changelog: v2.1.3...v2.1.4

Improved attribution, off-line mode, and fix for Jupyter

31 Jan 20:13

Choose a tag to compare

What's Changed

  • Fix loop backward-jump sampling bias with even redistribution by @emeryberger in #995
  • Fix Google Analytics loading delay in offline/standalone mode by @Copilot in #996
  • Fixed Jupyter magics. by @emeryberger in #997

Full Changelog: v2.1.2...v2.1.3

v2.1.2

30 Jan 22:55

Choose a tag to compare

What's Changed

Bug Fixes

  • Fix Windows CPU profiling extreme slowness and memory explosion (#992): The v2.1 Windows timer loop hardcoded a 1ms sampling interval regardless of the configured rate (default 10ms), generating ~10x more samples than intended and reducing sys.setswitchinterval to 1ms causing excessive GIL contention. Now uses the actual configured sampling rate.

Improvements

  • Bound memory footprint samples with reservoir sampling (#993): Replace unbounded list accumulation of memory footprint samples with sorted_reservoir (Vitter reservoir sampling), capping memory at O(k) instead of O(n) where n is the number of malloc/free events. Eliminates unbounded memory growth during long profiling runs.

Full Changelog: v2.1.1...v2.1.2

Improves JAX and TensorFlow support; fixes Windows issue

30 Jan 14:57

Choose a tag to compare

What's Changed

  • Add library profiler infrastructure for JAX and TensorFlow by @emeryberger in #990
  • Removes stray debug statements on Windows.

Full Changelog: v2.1.0...v2.1.1

Numerous updates and bug fixes

23 Jan 21:18

Choose a tag to compare

UI, Frontend & Visualization

  • Convert scalene-gui JavaScript to TypeScript by @emeryberger in #970
  • Add Google Gemini provider, environment variable support, and UI modernization by @emeryberger in #973
  • Vendor assets locally for offline HTML viewer support by @emeryberger in #983
  • Add per-file display mode dropdown for profile filtering (fixes #813) by @emeryberger in #989

LLM / API Provider Support

  • Add support for OpenAI-compatible API servers and Anthropic (fixes #918) by @emeryberger in #971
  • Add Google Gemini provider, environment variable support, and UI modernization by @emeryberger in #973

CPU & Core Profiling Engine

Multiprocessing, Exec, and Runtime Compatibility

PyTorch & JIT Integration

GPU & Apple Silicon

Windows Support & Reliability

  • Improve Windows memory profiling error messages and documentation by @emeryberger in #978
  • Fix Windows CPU profiling not collecting samples by @emeryberger in #980

Notebook & Editor Integration

v2.0.1

22 Dec 17:28

Choose a tag to compare

Trigger re-build to produce libscalene.dll.

Major new release: Windows memory profiling support, improved CLI, and performance optimizations

20 Dec 01:42
6af5854

Choose a tag to compare

What's Changed

Full Changelog: v1.5.55...v2.0.0

Maintenance release for Windows

23 Sep 12:45

Choose a tag to compare

What's Changed

Full Changelog: v1.5.54...v1.5.55

Compatibility with 3.14; bug fixes, improved CPU/GPU profiling

25 Aug 19:10

Choose a tag to compare

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

Updated models, numerous minor fixes

09 Aug 20:54

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.5.52...v1.5.53