Installation¶
For now, AMICA-Python should be installed from source, and you will have to manually install PyTorch (see below) yourself.
Clone the repository, and install it using pip:
git clone https://github.com/scott-huberty/amica-python.git
cd amica-python
pip install -e .
Important
AMICA-Python requires PyTorch. Please install PyTorch by following the instructions at pytorch.org before using AMICA-Python.
Installing PyTorch¶
To install PyTorch, please follow the instructions at pytorch.org:
pip install torch
conda install -c conda-forge pytorch
If you wish, you can install the CPU-only version of PyTorch:
pip install torch --index-url https://download.pytorch.org/whl/cpu
conda install -c conda-forge pytorch cpuonly
If you use UV, you can install Pytorch at the same time as AMICA-Python:
uv pip install -e ".[torch-cuda]"
uv pip install -e ".[torch-cpu]"