Installation#
PINA requires torch, lightning, torch_geometric and matplotlib.
Installing via PIP#
Mac and Linux users can install pre-built binary packages using pip:
pip install pina-mathlab
To uninstall the package:
pip uninstall pina-mathlab
Installing from source#
The official distribution is on GitHub. Clone the repository:
git clone https://github.com/mathLab/PINA
Then install in editable mode:
pip install -e .
Install with extra packages#
To install extra dependencies required to run tests or tutorials, use:
pip install "pina-mathlab[extras]"
Available extras include:
dev— development tools (use this if you want to contribute).test— for running tests locally.doc— for building the documentation locally.tutorial— for running tutorials.
Requirements#
PINA is built on:
PyTorch — deep learning framework.
PyTorch Lightning — training loop orchestration.
PyTorch Geometric — graph neural network support.
Matplotlib — plotting and visualisation.