Installation

Prerequisites

  • Python: 3.10-3.11

  • Git

Installation

Installation from source

Step1: Install AIOS kernel

Git clone AIOS kernel

git clone https://github.com/agiresearch/AIOS.git
cd AIOS && git checkout v0.2.0.beta

Create venv environment (recommended)

python3.x -m venv venv # Only support for Python 3.10 and 3.11
source venv/bin/activate

or create conda environment

conda create -n venv python=3.x  # Only support for Python 3.10 and 3.11
conda activate venv

If you have GPU environments, you can install the dependencies using

pip install -r requirements-cuda.txt # if use conda
python -m pip install -r requirements-cuda.txt # if use venv

or else you can install the dependencies using

pip install -r requirements.txt # if use conda
python -m pip install -r requirements.txt # if use venv

Step2: Install AIOS SDK (Cerebrum)

git clone https://github.com/agiresearch/Cerebrum.git
cd Cerebrum && pip install -e .

Then you can follow the instructions in the Quickstart to launch AIOS.

Last updated