Getting Started for MLSys 2022 Tutorial

From Source Code

Install Prerequisites

Please install dependencies shown below, according to your operating system.

Debian/Ubuntu

Using apt.

sudo apt -y install \
    vim gcc g++ make cmake \
    libboost-dev libboost-program-options-dev \
    python3 git

macOS

Using homebrew.

brew install boost cmake coreutils

Windows

Please use Windows Subsystem for Linux. WSL

Clone ASTRA-sim Tutorial

git clone https://github.com/astra-sim/tutorials.git

Clone ASTRA-sim

cd tutorials/mlsys2022
./clone_astra_sim.sh

Build ASTRA-sim for Exercise 1

./exercise_1/build.sh

When build fails, please check if dependencies listed above are properly installed.

Run Exercise 1

./exercise_1/exercise_1.sh

When execution fails, please check if ASTRA-sim is successfully compiled.




From Prebuilt Docker Image

Pull Docker Image

docker pull astrasim/mlsys2022-tutorial

Run Container

docker run -it astrasim/mlsys2022-tutorial

Build ASTRA-sim for Exercise 1

./exercise_1/build.sh

Run Exercise 1

./exercise_1/exercise_1.sh

Hits