Installation#

Python version requirements#

Important

Your Python version should be >= Python 3.9 to ensure ast.unparse() function.

We provide three ways to install our package.

Run this project without installing the package#

$ pip install numpy
$ pip install scipy
$ pip install torch  # if using tensorboard profiler
$ pip install tensorboard # if using tensorboard profiler
$ pip install wandb  # if using W&B profiler
$ pip install numba  # if using number for acceleration

Or simply install packages from requirements.txt

$ pip install -r requirements.txt

Locally build the package#

$ git clone https://github.com/Optima-CityU/LLM4AD
$ cd LLM4AD
$ pip install .

PyPI installation#

$ pip install llm4ad