opt-einsum

JSON →
library 3.4.0 ·python
verified Jun 9, 2026 install

opt-einsum is a Python library that optimizes the contraction order of Einstein summation expressions, significantly reducing the execution time of einsum-like operations in various backends such as NumPy, Dask, PyTorch, TensorFlow, and JAX. It achieves this by finding efficient contraction paths, often dispatching operations to highly optimized routines like BLAS or cuBLAS. The library is currently at version 3.4.0 and is actively maintained, serving as the underlying optimization engine for `numpy.einsum(..., optimize=True)` and `torch.einsum` when installed.

total hits 34
actors 7 distinct systems
last hit 1d ago GPTBot
ByteDance
5
GPTBot
4
Amazonbot
4
MetaBot
4
Script
2
Search engines
1
Humans
10

top countries 🇺🇸 United States · 🇸🇬 Singapore · VN · 🇨🇦 Canada · 🇩🇪 Germany