Skip to content

PR for NX "preparing models" LP#3277

Merged
pareenaverma merged 53 commits into
ArmDeveloperEcosystem:mainfrom
V3x-0E:main
May 13, 2026
Merged

PR for NX "preparing models" LP#3277
pareenaverma merged 53 commits into
ArmDeveloperEcosystem:mainfrom
V3x-0E:main

Conversation

@V3x-0E
Copy link
Copy Markdown
Contributor

@V3x-0E V3x-0E commented May 12, 2026

Before submitting a pull request for a new Learning Path, please review Create a Learning Path

  • I have reviewed Create a Learning Path

Please do not include any confidential information in your contribution. This includes confidential microarchitecture details and unannounced product information.

  • I have checked my contribution for confidential information

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the Creative Commons Attribution 4.0 International License.

V3x-0E and others added 30 commits April 21, 2026 15:18
Updated content in the Model Explorer documentation to include an image and clarified the explanation regarding model operations.
Updated the VGF conversion process and runtime build instructions for clarity and completeness.
Updated title and weight for the Arm tooling section. Added additional context about the Model Gym's utility.
@V3x-0E
Copy link
Copy Markdown
Contributor Author

V3x-0E commented May 12, 2026

Ready for review.

Copy link
Copy Markdown
Collaborator

@annietllnd annietllnd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you Joshua, good stuff! A few nitpicks from me to address :)

"source": [
"## Export with the ExecuTorch VGF backend\n",
"\n",
"VGF is the file format we use for NX. through executorch we can lower directly from a pytoch model straigh to a vgf backend model using the direct VGF backend path first. \n",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double check capitalization and spelling here. Capital letter at the beginning of sentence, ExecuTorch, PyTorch, .vgf model (without "backend"). Also, 'straight' lost a t at the end :)

"id": "2a1e93c7",
"metadata": {},
"source": [
"Now we will use the model explorer to physicaly view our models. \n",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Model Explorer capitalization. Also, remove physically (if you want you can use 'visually' but the sentence stands without it as well). Replace 'we' with 'you'

"source": [
"Now we will use the model explorer to physicaly view our models. \n",
"\n",
"This will become incredibly useful later as you use models with much higher complexity "
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simplify language: "more complex models"

"outputs": [],
"source": [
"%%bash\n",
"# Ensure the vulkan environment variables and MLSDK components are available on $PATH\n",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capitalize Vulkan. Write out the full ML SDK for Vulkan instead of MLSDK

"source repo/executorch/examples/arm/arm-scratch/setup_path.sh\n",
"cd repo/executorch/examples/arm\n",
"\n",
"# Compiled programs will appear in the executorch/cmake-out directory we create here.\n",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove 'we create here', I find it redundant and we avoid the awkward "you created here" (LPs are written with 'you' instead of 'we')

"id": "9028535e",
"metadata": {},
"source": [
"Now that we have built the run time we can use the VKML to simulate our model running on a GPU "
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace with the following: "Now that you've built the runtime you can use the run_vkml.sh script to run the model with it"

While I see your intent, we don't really simulate the running on hardware. It's more a verification of the graph. So let's keep the wording open here.

"id": "8d4ee8d8",
"metadata": {},
"source": [
"If you are happy wih your model you can now use the model converter to turn into a .vgf file or use the executorch path as we did prior. "
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capitalize product names: Model Converter, ExecuTorch. Also, replace 'we' with 'you'

@V3x-0E
Copy link
Copy Markdown
Contributor Author

V3x-0E commented May 13, 2026

Changes made in accordance to the changes suggested

Copy link
Copy Markdown
Collaborator

@annietllnd annietllnd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good now, fixed two small ones. This one should be ready for editorial now, I will pass it on. Thank you again for staying on top of this!

@pareenaverma pareenaverma merged commit cb59c34 into ArmDeveloperEcosystem:main May 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

4 participants