Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
WuXintong123 committed Aug 18, 2024
1 parent 571486d commit 0875648
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion examples/BuddyResNet18/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,17 @@ $ export LLVM_MLIR_BUILD_DIR=$PWD/../llvm/build
$ export PYTHONPATH=${LLVM_MLIR_BUILD_DIR}/tools/mlir/python_packages/mlir_core:${BUDDY_MLIR_BUILD_DIR}/python_packages:${PYTHONPATH}
```

<!-- TODO: Build and run ResNet example -->
4.Set the `RESNET_EXAMPLE_PATH` environment variable.

```bash
$ export RESNET_EXAMPLE_PATH=${BUDDY_MLIR_BUILD_DIR}/../examples/BuddyResNet18/
```

4. Build and run the ResNet example

```bash
$ cmake -G Ninja .. -DBUDDY_RESNET_EXAMPLES=ON
$ ninja buddy-resnet-run
$ cd bin
$ ./buddy-resnet-run
```

0 comments on commit 0875648

Please sign in to comment.