Skip to content

Commit f3537ed

Browse files
authored
Merge pull request #2800 from pareenaverma/content_review
ONNX LP fix
2 parents 9c102e3 + ea13c61 commit f3537ed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • content/learning-paths/mobile-graphics-and-gaming/onnx

content/learning-paths/mobile-graphics-and-gaming/onnx/02_setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Depending on the hardware you use you follow different installation paths
2424
1. Linux (Arm64). In the console type:
2525
```console
2626
sudo apt update
27-
sudo apt install -y python3 python3-venv python3-pip build-essential libopenblas-dev
27+
sudo apt install -y python3 python3-venv python3-pip build-essential libopenblas-dev libgl1 libglib2.0-0
2828
```
2929

3030
2. macOS (Apple Sillicon):
@@ -127,4 +127,4 @@ The 01_Init.py script serves as a quick end-to-end validation of your ONNX envir
127127
After export, the script immediately loads the ONNX model with ONNX Runtime and executes a forward pass using the CPU execution provider. This verifies that the installation of ONNX, ONNX Runtime, and PyTorch is correct and that models can flow seamlessly from definition to inference. By printing the output tensor’s shape and the active execution provider, the script demonstrates that the toolchain is fully functional on your Arm64 device, giving you a solid baseline before moving on to more advanced models and optimizations.
128128

129129
## Summary
130-
You now have a fully functional ONNX development environment on Arm64. Python and all required packages are installed, and you successfully exported a small PyTorch model to ONNX using the new Dynamo exporter, ensuring forward compatibility. Running the model with ONNX Runtime confirmed that inference works end-to-end with the CPU execution provider, proving that your toolchain is correctly configured. With this foundation in place, the next step is to build and export a more complete model and run it on Arm64 hardware to establish baseline performance before applying optimizations.
130+
You now have a fully functional ONNX development environment on Arm64. Python and all required packages are installed, and you successfully exported a small PyTorch model to ONNX using the new Dynamo exporter, ensuring forward compatibility. Running the model with ONNX Runtime confirmed that inference works end-to-end with the CPU execution provider, proving that your toolchain is correctly configured. With this foundation in place, the next step is to build and export a more complete model and run it on Arm64 hardware to establish baseline performance before applying optimizations.

0 commit comments

Comments
 (0)