Skip to content

Commit 2bac82c

Browse files
Updates
1 parent 1233b55 commit 2bac82c

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

content/learning-paths/laptops-and-desktops/win_on_arm_build_onnxruntime/1-dev-env-setup.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ layout: learningpathall
88

99
## Overview
1010

11-
In this Learning Path, you'll learn build and deploy a large language model (LLM) on a Windows on Arm (WoA) laptop using ONNX Runtime for inference.
11+
In this Learning Path, you'll learn how to build and deploy a large language model (LLM) on a Windows on Arm (WoA) machine using ONNX Runtime for inference.
1212

13-
You'll learn how to:
13+
Specifically, you'll learn how to:
1414

1515
* Build ONNX Runtime and the Generate() API library.
1616
* Download the Phi-3 model and run inference.
@@ -22,25 +22,29 @@ The short-context version accepts shorter (4K) prompts and generates shorter out
2222

2323
## Set up your Development Environment
2424

25-
Your first task is to prepare a development environment with the required software. Start by installing the required tools:
25+
Your first task is to prepare a development environment with the required software.
2626

27-
- Visual Studio 2022 IDE (latest version recommended).
27+
Start by installing the required tools:
28+
29+
- Visual Studio 2022 IDE (the latest version available is recommended).
2830
- Python 3.10 or higher.
2931
- CMake 3.28 or higher.
3032

33+
{{% notice Note %}}
3134
These instructions were tested on a 64-bit WoA machine with at least 16GB of RAM.
35+
{{% /notice %}}
3236

3337
## Install and Configure Visual Studio 2022
3438

35-
Follow these steps:
39+
Now, to install and configure Visual Studio, follow these steps:
3640

3741
1. Download the latest [Visual Studio IDE](https://visualstudio.microsoft.com/downloads/).
3842

39-
2. Select the **Community** edition. This downloads an installer called *VisualStudioSetup.exe*.
43+
2. Select the **Community** edition. This downloads an installer called `VisualStudioSetup.exe`.
4044

41-
3. Run the installer (*VisualStudioSetup.exe*) from your **Downloads** folder.
45+
3. Run `VisualStudioSetup.exe` from your **Downloads** folder.
4246

43-
4. Follow the prompts and accept the **License Terms** and **Privacy Statement**.
47+
4. Follow the prompts and accept the License Terms and Privacy Statement.
4448

4549
5. When prompted to select workloads, select **Desktop Development with C++**. This installs the **Microsoft Visual Studio Compiler** (**MSVC**).
4650

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ You can learn more about ONNX Runtime by reading the [ONNX Runtime Overview](htt
1919

2020
### Clone the ONNX Runtime repository
2121

22-
Open a command prompt for Visual Studio to set up the environment. This includes paths to the compiler, linker, utilities, and header files.
22+
Open a command prompt for Visual Studio to set up the environment, which includes paths to the compiler, linker, utilities, and header files.
2323

2424
Then, create your workspace and clone the repository:
2525

@@ -40,22 +40,22 @@ You might be able to use a later commit. These steps have been tested with the c
4040

4141
To build the ONNX Runtime shared library, use one of the following configurations:
4242

43-
-**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:
4444

4545

4646
```bash
4747
.\build.bat --config Release --build_shared_lib --parallel --compile_no_warning_as_error --skip_submodule_sync --skip_tests
4848
```
4949

50-
**RelWithDebInfo** configuration, which includes debug symbols for profiling or inspection:
50+
* **RelWithDebInfo** configuration, which includes debug symbols for profiling or inspection:
5151

5252
```bash
5353
.\build.bat --config RelWithDebInfo --build_shared_lib --parallel --compile_no_warning_as_error --skip_submodule_sync --skip_tests
5454
```
5555

5656

5757
### Resulting Dynamic Link Library
58-
When the build is complete, you'll find the `onnxruntime.dll` dynamic linked library in:
58+
When the build is complete, you'll find the `onnxruntime.dll` dynamic linked library in the following respective directories:
5959

6060
* For **Release** build:
6161

0 commit comments

Comments
 (0)