cuequivariance-torch provides CUDA-accelerated implementations of equivariant operations for PyTorch. It aims to efficiently handle geometric symmetries in deep learning models, particularly for 3D data, by offering modules for SO(3) rotations and SE(3) translations. The current version is 0.9.1, and it maintains an active development pace with new features and optimizations.
pip install cuequivariance-torchVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to initialize and use an `SO3Linear` layer, a core module for SO(3) equivariant operations, ensuring that both the input tensor and the model are correctly placed on a CUDA device.
Ensure your PyTorch installation is `torch>=2.1` and is built with CUDA support (e.g., install `torch` using a command that specifies CUDA, such as from the official PyTorch website).
Always use `from cuequivariance import ...` or `from cuequivariance.modules import ...` for imports, not `cuequivariance_torch`.
Verify that `torch.cuda.is_available()` returns `True`. If not, ensure you have a CUDA-compatible GPU, the necessary drivers, and PyTorch installed with CUDA support.