Project Setup
Clone the repository
Pre-requisite
Poetry is used to manage dependencies and virtual environments for this project. Ensure you have python >=3.12
and poetry >=2.0.0
. Poetry can be installed from package manager or refer to Installation Guide.
Setting up dependencies through poetry
- Make sure all other virtual environments are deactived. Otherwise poetry overwrites into the environment.
- Include (all-groups) to install packages required for documentation and testing.
- Include (all-extras) to install with GPU support. CUDA system libraries may need to be installed seperately.
Changing dependencies
Interactively
- Add packages with
- Remove packages with
Manually
- Edit the
pyproject.toml
file - Lock the package versions
- Sync poetry dependencies
Running
- Running python
- Running scripts
Further details
Refer to poetry's documentation