Skip to content

Commit fb0cb07

Browse files
Build done
1 parent be2cd83 commit fb0cb07

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

content/learning-paths/laptops-and-desktops/win_on_arm_build_onnxruntime/2-build-onnxruntime.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,19 @@ layout: learningpathall
99
## Build ONNX Runtime for Windows on Arm
1010
Now that your environment is set up, you're ready to build the ONNX Runtime inference engine.
1111

12-
ONNX Runtime is an open-source inference engine for accelerating the deployment of machine learning models, particularly those in the Open Neural Network Exchange (ONNX) format. ONNX Runtime is optimized for high performance and low latency, widely used in the production deployment of AI models.
12+
ONNX Runtime is an open-source engine for accelerating machine learning model inference, especially those in the Open Neural Network Exchange (ONNX) format.
13+
14+
ONNX Runtime is optimized for high performance and low latency, and is widely used in production deployments.
1315

1416
{{% notice Learning Tip %}}
1517
You can learn more about ONNX Runtime by reading the [ONNX Runtime Overview](https://onnxruntime.ai/).
1618
{{% /notice %}}
1719

1820
### Clone the ONNX Runtime repository
1921

20-
Open a developer command prompt for Visual Studio to set up the environment including path to compiler, linker, utilities and header files.
22+
Open a command prompt for Visual Studio to set up the environment. This includes paths to the compiler, linker, utilities, and header files.
2123

22-
Create your workspace and check out the source tree:
24+
Then, create your workspace and clone the repository:
2325

2426
```bash
2527
cd C:\Users\%USERNAME%
@@ -34,31 +36,34 @@ git checkout 4eeefd7260b7fa42a71dd1a08b423d5e7c722050
3436
You might be able to use a later commit. These steps have been tested with the commit `4eeefd7260b7fa42a71dd1a08b423d5e7c722050`.
3537
{{% /notice %}}
3638

37-
### Build for Windows
39+
### Build ONNX Runtime
40+
41+
To build the ONNX Runtime shared library, use one of the following configurations:
3842

39-
You can build the "Release" configuration for a build optimized for performance but without debug information.
43+
-**Release** configuration for a build optimized for performance but without debug information:
4044

4145

4246
```bash
4347
.\build.bat --config Release --build_shared_lib --parallel --compile_no_warning_as_error --skip_submodule_sync --skip_tests
4448
```
4549

46-
47-
As an alternative, you can build with "RelWithDebInfo" configuration for a release-optimized build with debug information.
50+
**RelWithDebInfo** configuration, which includes debug symbols for profiling or inspection:
4851

4952
```bash
5053
.\build.bat --config RelWithDebInfo --build_shared_lib --parallel --compile_no_warning_as_error --skip_submodule_sync --skip_tests
5154
```
5255

5356

5457
### Resulting Dynamic Link Library
55-
When the build is complete, the `onnxruntime.dll` dynamic linked library can be found in:
58+
When the build is complete, you'll find the `onnxruntime.dll` dynamic linked library in:
59+
60+
* For **Release** build:
5661

5762
```
5863
dir .\build\Windows\Release\Release\onnxruntime.dll
5964
```
6065

61-
or if you build with debug information it can be found in:
66+
* For **RelWithDebInfo** build:
6267

6368
```
6469
dir .\build\Windows\RelWithDebInfo\RelWithDebInfo\onnxruntime.dll

0 commit comments

Comments
 (0)