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)
wget https://www.python.org/ftp/python/3.12.10/Python-3.12.10.tgztar -xzf Python-3.12.10.tgz Python-3.12.10/cd Python-3.12.10/./configure --prefix=$HOME/.local/python-3.12 --enable-optimizationsmake -j16make install
cd ..export PATH=$HOME/.local/python-3.12/bin:$PATH
Download AutoBench
wget zipunzip
Installation
To install the necessary environment for the code, follow these steps:
-
Navigate to the ‘autobench’ directory:
Terminal window cd autobench -
Create a virtual environment:
Terminal window python3 -m venv .venv -
Activate the virtual environment:
Terminal window source .venv/bin/activate -
Install Poetry package manager:
Terminal window pip3 install poetry -
Use Poetry to install project dependencies:
Terminal window poetry install