Registry / ai-ml / openequivariance

openequivariance

JSON →
library0.6.6pypypiunverified

A fast GPU JIT kernel generator for the Clebsch-Gordon Tensor Product, currently at version 0.6.6. Released about monthly. Supports PyTorch and JAX backends.

pip install openequivariance
INSTALL
IMPORT
SIG · OPENEQUIVARIANCE
O
openequivariance
ai-mlpythonv0.6.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

oe
✓ from openequivariance import oe
✗ import openequivariance
Top-level module is 'oe', not package name. Use 'from openequivariance import oe'.
TPProblem
✓ from openequivariance import TPProblem

Minimal tensor product using Torch backend on CPU.

import torch from openequivariance import oe irreps_in1 = [(1, (1, 1)), (1, (1, 2)), (1, (2, 1)), (1, (2, 2))] irreps_in2 = [(1, (1, 1)), (1, (1, 2)), (1, (2, 1)), (1, (2, 2))] irreps_out = [(1, (1, 1)), (1, (1, 2)), (1, (2, 1)), (1, (2, 2))] instruction = [(0, 0, 0, "uvu", True), (1, 1, 1, "uvu", True)] # Create TP problem tp = TPProblem(irreps_in1, irreps_in2, irreps_out, instruction, dtype=torch.float32, device='cpu') # Input tensors N = 8 x1 = torch.randn(N, 16) x2 = torch.randn(N, 16) # Forward pass result = tp(x1, x2) print(result.shape)
Debug
Known issues
breakingImport path changed: in early versions (pre-0.6), the module was importable as `import openequivariance`. Since 0.6, use `from openequivariance import oe`.
fix
Change `import openequivariance` to `from openequivariance import oe`.
affects: >=0.6
gotchaIrrep specifications changed from tuples of (multiplicity, (l, p)) to (multiplicity, (l, p)) where p is parity (1 or -1). Old code using integers may break.
fix
Ensure irreps are specified as list of (mult, (l, parity)) tuples.
affects: all
deprecatedThe `TPProblem` constructor's `dtype` argument requires explicit float types; implicit type promotion may be removed in future.
fix
Always pass `dtype=torch.float32` or `jnp.float32` explicitly.
affects: >=0.6
Upgrade
Version history
0.6.6latest on PyPI · released Apr 15, 2026
Audit
Dependencies
torchrequiredRequired for torch backend
jaxoptionalRequired for JAX backend
Agent activity
2 hits · last 30 days
node
2
Resources
openequivariance — pip install openequivariance · libregistry