Einops

Latest version: v0.7.0

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

Scan your dependencies

Page 1 of 3

0.7.0

Major changes:

- `torch.compile` just works, registration of operations happens automatically
- JAX's distributed arrays can use ellipses, and in general ellipsis processing now preserves axis identity. This involved changing internal gears of einops.
- Array API: `einops` operations can be used with any framework that follows the standard (see `einops.array_api`)
- Python 3.7 is dead. Good bye, you were great at the time
- Gluon is dropped as previously announced
- reduce/repeat/rearrange all accept lists now

PRs list
* Preserve axis identity + drop python 3.7 by arogozhnikov in https://github.com/arogozhnikov/einops/pull/255
* Support array api by arogozhnikov in https://github.com/arogozhnikov/einops/pull/261
* add type-based caching by arogozhnikov in https://github.com/arogozhnikov/einops/pull/262
* Uniform support for list inputs across rearrange/reduce/repeat by arogozhnikov in https://github.com/arogozhnikov/einops/pull/263
* Drop gluon by arogozhnikov in https://github.com/arogozhnikov/einops/pull/264
* automatically register torch ops in torchdynamo by arogozhnikov in https://github.com/arogozhnikov/einops/pull/265

0.7.0rc2

What's Changed
* cover dynamic shapes in torch.compile, introduce fallback if shape was not cacheable by arogozhnikov in https://github.com/arogozhnikov/einops/pull/275
* bump version by arogozhnikov in https://github.com/arogozhnikov/einops/pull/276


**Full Changelog**: https://github.com/arogozhnikov/einops/compare/v0.7.0rc1...v0.7.0rc2

0.7.0rc1

* Preserve axis identity + drop python 3.7 by arogozhnikov in https://github.com/arogozhnikov/einops/pull/255



**Full Changelog**: https://github.com/arogozhnikov/einops/compare/v0.6.1...v0.7.0rc1

0.6.2rc0

pre-release is published to allow public testing of new caching logic (pattern analysis is now dependent on input dimensionality to preserve axis identity).

What's Changed
* Preserve axis identity + drop python 3.7 by arogozhnikov in https://github.com/arogozhnikov/einops/pull/255


**Full Changelog**: https://github.com/arogozhnikov/einops/compare/v0.6.1...v0.6.2rc0

0.6.1

- einops layers perfectly interplay with torch.compile
- einops operations needs registration: run `einops._torch_specific.allow_ops_in_compiled_graph()` before `torch.compile`
- paddle is now supported (thanks to zhouwei25)
- as previously announced, support of mxnet is dropped

What's Changed
* Add PaddlePaddle backend for einops by zhouwei25 in https://github.com/arogozhnikov/einops/pull/242 , https://github.com/arogozhnikov/einops/pull/245
* Add `allow_ops_in_compiled_graph` to support torch.compile by arogozhnikov in https://github.com/arogozhnikov/einops/pull/251
* torch.concat -> torch.cat to support packing for torch < 1.10 by arogozhnikov in https://github.com/arogozhnikov/einops/pull/238
* chores: improve documentation and testing by arogozhnikov in https://github.com/arogozhnikov/einops/pull/246
* Remove mxnet by arogozhnikov in https://github.com/arogozhnikov/einops/pull/231


New Contributors
* zhouwei25 made their first contribution in https://github.com/arogozhnikov/einops/pull/242

**Full Changelog**: https://github.com/arogozhnikov/einops/compare/v0.6.0...v0.6.1

0.6.0

What's Changed

* Introduce einops.pack and einops.unpack by arogozhnikov in https://github.com/arogozhnikov/einops/pull/222
* Update example to match description by EPronovost in https://github.com/arogozhnikov/einops/pull/217
* Improve type hinting by arogozhnikov in https://github.com/arogozhnikov/einops/pull/221
* Cosmetics for pack/unpack: documentation and comments by arogozhnikov in https://github.com/arogozhnikov/einops/pull/223
* Preparations for 0.6.0 release by arogozhnikov in https://github.com/arogozhnikov/einops/pull/224

New Contributors
* EPronovost made their first contribution in https://github.com/arogozhnikov/einops/pull/217

Announcement

Sunsetting experimental mxnet support: no demand and package is outdated, with numerous deprecations and poor support of corner cases. 0.6.0 will be the last release with mxnet backend.

**Full Changelog**: https://github.com/arogozhnikov/einops/compare/v0.5.0...v0.6.0

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.