Setting up ExecuTorch on Ubuntu 22.04

Follow PyTorch official tutorial herearrow-up-right.

Platform: A12.millennium

Set up Environment

mkdir ./executorch-workspace/

cd ./executorch-workspace/
conda create -yp ./.conda-env python=3.10.0
conda activate executorch

git clone --branch v0.3.0 https://github.com/pytorch/executorch.git
cd ./executorch/

git submodule sync
git submodule update --init

./install_requirements.sh

Generate a Sample ExecuTorch program

Create simple program

Building Runtime

Building the program

Last updated