Skip to content

Requirements and Setup

Overview

AutoBench has been developed as a Python package, with its most recent build utilizing version 3.12.

Setup

To begin, you can install Python either directly or within your user directory, and then proceed to download the AutoBench package.

Python (local)

Terminal window
wget https://www.python.org/ftp/python/3.12.10/Python-3.12.10.tgz
tar -xzf Python-3.12.10.tgz Python-3.12.10/
cd Python-3.12.10/
./configure --prefix=$HOME/.local/python-3.12 --enable-optimizations
make -j16
make install
cd ..
export PATH=$HOME/.local/python-3.12/bin:$PATH

Download AutoBench

Terminal window
wget zip
unzip

Installation

To install the necessary environment for the code, follow these steps:

  1. Navigate to the ‘autobench’ directory:

    Terminal window
    cd autobench
  2. Create a virtual environment:

    Terminal window
    python3 -m venv .venv
  3. Activate the virtual environment:

    Terminal window
    source .venv/bin/activate
  4. Install Poetry package manager:

    Terminal window
    pip3 install poetry
  5. Use Poetry to install project dependencies:

    Terminal window
    poetry install