You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
einx.{index|get_at|set_at|...} (due to relying on einx.vmap)
Add environment variable EINX_WARN_ON_RETRACE to warn when excessive retracing is detected.
Changed
Allow -> and , to be composed with other operators. (This deprecates the existing [|] notation which should instead be implemented with
composable ->. The feature is still maintained for backwards compatibility). For example:
einx.dot("b [c1->c2]", ...) expands to einx.dot("b [c1] -> b [c2]", ...)
einx.get_at("b p [i,->]", ...) expands to einx.get_at("b p [i], b p -> b p", ...)
Allow einx.{set_at|add_at|...} to be called with zero-sized updates or coordinates (in which case the input tensor is returned as-is).
Remove backend.dot which was not used anywhere but in the unit tests.
Improve error reporting:
Drop internal stack frames when raising exceptions.
Better error when passing invalid shape constraints to einx functions.
Reduce overhead of einx when using the PyTorch backend.
Fixed
Fix compatibility of einx.nn.torch.Norm with PyTorch 2.2.
Fix parameters in einn.param being ignored.
Fix bug when using concatenations in einx.rearrange. See: #6