Installation

Prerequisites

  • Python: 3.10-3.11

  • Git

Installation

Installation from source

Step 1: Install AIOS Kernel

Git clone AIOS kernel

git clone https://github.com/agiresearch/AIOS.git

Create venv environment

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

We strongly recommend using uv for faster and more reliable package installation.

To install uv:

pip install uv

For GPU environments:

uv pip install -r requirements-cuda.txt

For CPU-only environments:

uv pip install -r requirements.txt

Alternatively, if you prefer using pip:

For GPU environments:

pip install -r requirements-cuda.txt

For CPU-only environments:

pip install -r requirements.txt

Step 2: Install AIOS SDK (Cerebrum)

  1. Clone the Cerebrum repository:

    git clone https://github.com/agiresearch/Cerebrum.git
  2. Install using uv (recommended):

    cd Cerebrum && uv pip install -e .

    Or using pip:

    cd Cerebrum && pip install -e .

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

Last updated