InstallationΒΆ
Python 3.7+ and PyTorch 1.8+ are required.
PyTorch 1.11 is recommended, although other recent versions might also work.
It is highly recommended to have a pre-installed PyTorch
that matches your system and our version requirement.
See PyTorch Get Started.
Then you can install auto_LiRPA
via:
git clone https://github.com/KaidiXu/auto_LiRPA
cd auto_LiRPA
python setup.py install
If you intend to modify this library, use python setup.py develop
instead.
Optionally, you may build and install native CUDA modules (CUDA toolkit required):
python auto_LiRPA/cuda_utils.py install