Group equivariant neural network library
Project description
GElib
GElib is a C++/CUDA library for building equivariant neural networks. The library can be used as a pure
C++ library or as a C++ extension for PyTorch.
GElib uses cnine as its backend.
Documentation for the C++ API can be found in the 'doc' directory.
Documentation for the PyTorch API is at https://risi-kondor.github.io/GElib/.
GElib is released under a combination of the Mozilla Public License v. 2.0. and a custom noncommercial license to be found in the file NONCOMMERCIAL.TXT.
The latter also applies to the cnine component. Commercial use requires a licence from the
author(s).
Installing GElib as a Python module
GElib is distributed in source code format, therefore to install it you must have a working C++ compiler supporting C++17 (or higher) on your system. You also need PyTorch. If these requirements are satified, in most cases GElib can be installed simply by running
pip install gelib
or
pip3 install gelib
To install the package with CUDA support, set the WITH_CUDA environment variable to TRUE:
export WITH_CUDA="TRUE"
before running the above command.
Installing with CUDA requires the CUDA development environment to be present
on your system and its version must match that which PyTorch was compiled against.
Fallback installation method
The fallback installation method is to clone the library with
git clone --recurse-submodules git@github.com:risi-kondor/GElib.git
and install it manually by running pip install -e . in its root directory.
The --recurse-submodules flag ensures that a copy of cnine is bundled inside the GElib directory structure.
Credits
Lead developer: Risi Kondor
Contributors: Erik Henning Thiede, Ryan Keane
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
File details
Details for the file gelib-0.2.5.tar.gz.
File metadata
- Download URL: gelib-0.2.5.tar.gz
- Upload date:
- Size: 212.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
520ba19420f41f86c6c7343f0ed1d82cf12a3e7240078a729c24b6ccac884046
|
|
| MD5 |
8db784a5b918683945ab0cc14c582c73
|
|
| BLAKE2b-256 |
1ac85137a0276d588b007bcbf713d0ca71010579015aa9282115b3f5792c96a6
|