A repository of building blocks in PyTorch for E(3)/SE(3)-equivariant neural networks
Project description
e3tools
A repository of building blocks in PyTorch 2.0 for E(3)/SE(3)-equivariant neural networks, built on top of e3nn:
- Equivariant Convolution:
e3tools.nn.Convande3tools.nn.SeparableConv - Equivariant Multi-Layer Perceptrons (MLPs):
e3tools.nn.EquivariantMLP - Equivariant Layer Norm:
e3tools.nn.LayerNorm - Equivariant Activations:
e3tools.nn.Gate,e3tools.nn.GateWrapperande3tools.nn.Gated - Separable Equivariant Tensor Products:
e3tools.nn.SeparableTensorProduct - Extracting Irreps:
e3tools.nn.ExtractIrreps - Self-Interactions:
e3tools.nn.LinearSelfInteraction
All modules are compatible with torch.compile for JIT compilation.
Installation
Install from PyPI:
pip install e3tools
or get the latest development version from GitHub:
pip install git+https://github.com/prescient-design/e3tools.git
Examples
We provide examples of a convolution-based and attention-based E(3)-equivariant message passing networks built with e3tools. We also provide an example training script on QM9:
python examples/train_qm9.py --model conv
We see an approximate 2.5x improvement in training speed with torch.compile.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file e3tools-0.1.3.tar.gz.
File metadata
- Download URL: e3tools-0.1.3.tar.gz
- Upload date:
- Size: 106.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a49d919b6f754767ca3c09eaa6a6e1c12fbddace156572b878bbe40ad70ceaa8
|
|
| MD5 |
31f7fad7708fa1744bcda7b98ca2330d
|
|
| BLAKE2b-256 |
1a03d3560619bc9c7d7bb1548a260087201a217400f125f6b8c68e5c5532be3e
|
File details
Details for the file e3tools-0.1.3-py3-none-any.whl.
File metadata
- Download URL: e3tools-0.1.3-py3-none-any.whl
- Upload date:
- Size: 21.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39fd064c42f5fe2edd5b15955b5cc514bf64863a5178dd6c041e73423dd03239
|
|
| MD5 |
2b56278c1712b7630a1321f6879c4ae0
|
|
| BLAKE2b-256 |
78c276b4ea3bb1426a13d769bf1ae5a13766e8398116f9f158ee5298970c6664
|