Scalene

Latest version: v1.5.42.2

Safety actively analyzes 642283 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 11

1.5.23

What's Changed

* Using `--off` now generates profile output by emeryberger in https://github.com/plasma-umass/scalene/pull/641
* Moved to GPT-4 for proposed optimizations now that it is generally available by emeryberger in https://github.com/plasma-umass/scalene/pull/582
* Fixed invocation path by sternj in https://github.com/plasma-umass/scalene/pull/624
* Escape filenames for Windows, fixing an incompatibility with proposed optimizations on that platform by emeryberger in https://github.com/plasma-umass/scalene/pull/644

**Full Changelog**: https://github.com/plasma-umass/scalene/compare/v1.5.22.2...v1.5.23

1.5.22.2

What's Changed

(All changes by emeryberger unless otherwise specified.)

Bug fixes

* Fixes an issue caused by recent versions of the NVIDIA driver (affects `cupy` users) in https://github.com/plasma-umass/scalene/commit/0165c4b5c871c8eb3c77248c18cce01cad0c4a03, fixing https://github.com/plasma-umass/scalene/issues/625
* Escape/unescape HTML/Unicode in https://github.com/plasma-umass/scalene/pull/630, fixing https://github.com/plasma-umass/scalene/issues/629
* Updated to fix IPython functionality in https://github.com/plasma-umass/scalene/pull/631
* A fix to a Unicode encoding issue by rafaelnogalha in https://github.com/plasma-umass/scalene/pull/610
* Updated qualnames by sternj in https://github.com/plasma-umass/scalene/pull/636, fixing https://github.com/plasma-umass/scalene/issues/627
* Updated to properly handle `profile` decorators for CPU time attribution in https://github.com/plasma-umass/scalene/pull/637
* Updated version of `cloudpickle` in setup, fixing a bug for `multiprocessing` by sternj in https://github.com/plasma-umass/scalene/commit/3d39c7d6cc5f72592f0534b514e04fa3c9919cdc

New Contributors

* rafaelnogalha made their first contribution in https://github.com/plasma-umass/scalene/pull/610

**Full Changelog**: https://github.com/plasma-umass/scalene/compare/v1.5.21.4...v1.5.22.2

1.5.21.4

This Release:
- fixes an issue tagging MacOS wheels, leading to pip not recognizing them and falling back to building from source;
- updates the cloudpickle version.

1.5.21.3

What's Changed
* updated local fork of crdp to work with Python 3.12 (https://github.com/plasma-umass/crdp/commit/301001562bf35b88a3bee8cc48e6dba1d7509cf2)
* fixed https://github.com/plasma-umass/scalene/issues/614 via update to Heap-Layers (https://github.com/emeryberger/Heap-Layers/commit/851ebf443a4c3c3a907ca3250840b349ee8105f7)
* fixed: add astunparser to python<3.9 wheel by victorbadenas in https://github.com/plasma-umass/scalene/pull/604

New Contributors
* victorbadenas made their first contribution in https://github.com/plasma-umass/scalene/pull/604

**Full Changelog**: https://github.com/plasma-umass/scalene/compare/v1.5.21.2...v1.5.21.3

1.5.21.2

Maintenance release to force generation of wheels.

1.5.20

What's Changed

(All changes by emeryberger unless otherwise specified.)

Proposed optimizations

* Click to optimize now works for entire classes (https://github.com/plasma-umass/scalene/commit/4253475d3423b3d734691d4a463ef3e2987da579)
* Proposed optimizations now focus on native modules as optimization opportunities (https://github.com/plasma-umass/scalene/commit/24f630e7436457fe3c3de9d3f98745b86b3569d0)
* `numpy` always suggested for non-GPU contexts, `cupy` for GPU optimizations (https://github.com/plasma-umass/scalene/commit/29df26d2d09e999a822265a44c67f7bcfc608cf5)
* Added more context to guide optimizations (https://github.com/plasma-umass/scalene/commit/d64d8bbd3d45bc314ccd72eb109979764d97d4c5)
* Clicking on proposed optimizations now copies text to buffer (https://github.com/plasma-umass/scalene/commit/b4168e582485f1a35bba0e4e610fb7d65311acff)
* GPU optimizations by default now enabled only on systems with NVIDIA GPUs (https://github.com/plasma-umass/scalene/commit/c3341e57029cf86b15ef30b757ace0755f13e77a)
* Added switch to allow choosing to optimize performance vs. memory (https://github.com/plasma-umass/scalene/commit/a04e47df28a7427d672001e36a16d1dbe44e00b1)

Bug fixes

* Resolved SEGV issue (https://github.com/plasma-umass/scalene/commit/7cb2649299bfbda915fd21c80799a58001eea7b4) by sternj
* Remove preload of environment variables to avoid issues with launching Firefox
* Restored compatibility with Python 3.8
* Fixes issue with Jupyter
* Fixes encoding problem reported here https://stackoverflow.com/questions/74606510/scalene-an-exception-of-type-unicodeencodeerror, by iuliivasilev in https://github.com/plasma-umass/scalene/pull/547
* Fix for Windows issue (https://github.com/plasma-umass/scalene/issues/540) by sternj in https://github.com/plasma-umass/scalene/pull/548
* Allows arguments with spaces for subprocesses by sauyon in https://github.com/plasma-umass/scalene/pull/562
* Fixed issue with inadvertent removal of shim logic by sternj

UI enhancments

* Current filename now "sticky" when scrolling, added blur to top and bottom

Internal changes

* Collects stack traces (not yet exposed in the AI) in https://github.com/plasma-umass/scalene/pull/552
* Added core utilization tracking (utilization across all cores) in https://github.com/plasma-umass/scalene/pull/572

New Contributors
* iuliivasilev made their first contribution in https://github.com/plasma-umass/scalene/pull/547
* sauyon made their first contribution in https://github.com/plasma-umass/scalene/pull/562

**Full Changelog**: https://github.com/plasma-umass/scalene/compare/v1.5.19...v1.5.20

Page 5 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.