AIESW-6823, AIESW-6824: Adding cmd-chain recipe for latency and throu…#34
Conversation
|
@sandilya-xilinx |
Yes, sure. I am testing this and will update accordingly. Until then this is provided only for reference if anyone wants to debug. |
There was a problem hiding this comment.
Pull Request Overview
This PR adds command-chain profiling recipes for measuring latency and throughput on NPU3 devices. The changes introduce configuration files that define execution parameters for benchmarking command-chain operations.
- Adds two new recipe directories for cmd_chain_latency and cmd_chain_throughput
- Configures both recipes to run 10 iterations in non-verbose mode
Reviewed Changes
Copilot reviewed 2 out of 5 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| archive/npu3/cmd_chain_throughput/profile_cmd_chain_throughput.json | Configuration for throughput profiling with 10 iterations |
| archive/npu3/cmd_chain_latency/profile_cmd_chain_latency.json | Configuration for latency profiling with 10 iterations |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
3200cae to
e01c19e
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 5 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
e01c19e to
57bf6ad
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "name": "k1", | ||
| "arguments": [], | ||
| "constants": [] | ||
| }, | ||
|
|
||
| { | ||
| "name": "k1", | ||
| "arguments": [], | ||
| "constants": [] | ||
| }, | ||
| { | ||
| "name": "k1", | ||
| "arguments": [], | ||
| "constants": [] | ||
| }, | ||
| { | ||
| "name": "k1", | ||
| "arguments": [], | ||
| "constants": [] | ||
| }, | ||
| { | ||
| "name": "k1", | ||
| "arguments": [], | ||
| "constants": [] | ||
| }, | ||
| { | ||
| "name": "k1", | ||
| "arguments": [], | ||
| "constants": [] | ||
| }, | ||
| { | ||
| "name": "k1", | ||
| "arguments": [], | ||
| "constants": [] | ||
| }, | ||
| { | ||
| "name": "k1", | ||
| "arguments": [], | ||
| "constants": [] |
There was a problem hiding this comment.
Inconsistent indentation detected. The objects in the runs array use 12 spaces for indentation while the rest of the file uses 2 spaces. Standardize to 2 spaces for consistency with the file structure.
| "name": "k1", | |
| "arguments": [], | |
| "constants": [] | |
| }, | |
| { | |
| "name": "k1", | |
| "arguments": [], | |
| "constants": [] | |
| }, | |
| { | |
| "name": "k1", | |
| "arguments": [], | |
| "constants": [] | |
| }, | |
| { | |
| "name": "k1", | |
| "arguments": [], | |
| "constants": [] | |
| }, | |
| { | |
| "name": "k1", | |
| "arguments": [], | |
| "constants": [] | |
| }, | |
| { | |
| "name": "k1", | |
| "arguments": [], | |
| "constants": [] | |
| }, | |
| { | |
| "name": "k1", | |
| "arguments": [], | |
| "constants": [] | |
| }, | |
| { | |
| "name": "k1", | |
| "arguments": [], | |
| "constants": [] | |
| "name": "k1", | |
| "arguments": [], | |
| "constants": [] | |
| }, | |
| { | |
| "name": "k1", | |
| "arguments": [], | |
| "constants": [] | |
| }, | |
| { | |
| "name": "k1", | |
| "arguments": [], | |
| "constants": [] | |
| }, | |
| { | |
| "name": "k1", | |
| "arguments": [], | |
| "constants": [] | |
| }, | |
| { | |
| "name": "k1", | |
| "arguments": [], | |
| "constants": [] | |
| }, | |
| { | |
| "name": "k1", | |
| "arguments": [], | |
| "constants": [] | |
| }, | |
| { | |
| "name": "k1", | |
| "arguments": [], | |
| "constants": [] | |
| }, | |
| { | |
| "name": "k1", | |
| "arguments": [], | |
| "constants": [] |
57bf6ad to
9f18f05
Compare
…ghput
Processing 1 folder(s)...
Updating xrt_smi_npu3.a from 19 files...
✓ Updated: npu3\xrt_smi_npu3.a
➕ New files added (4):
+ profile_cmd_chain_latency.json
+ profile_cmd_chain_throughput.json
+ recipe_cmd_chain_latency.json
+ recipe_cmd_chain_throughput.json
============================================================
SUMMARY:
Archives processed: 1/1
Total new files: 4
Total updated files: 0
Archive changes:
xrt_smi_npu3.a: 4 new
9f18f05 to
84a4299
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
….json Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
@aktondak @AShivangi can you review and merge |
|
@sandilya-xilinx, |
Good catch @AShivangi, i have verified this is because i have deleted the existing archive file and generated fresh this removed memtile and noop preemption from archive, but the older archive files continue to carry the removed preemption data. I have updated the archive with incremental update |
…ghput
Processing 1 folder(s)...
Updating xrt_smi_npu3.a from 19 files...
✓ Updated: npu3\xrt_smi_npu3.a
➕ New files added (4):
+ profile_cmd_chain_latency.json
+ profile_cmd_chain_throughput.json
+ recipe_cmd_chain_latency.json
+ recipe_cmd_chain_throughput.json
============================================================ SUMMARY:
Archives processed: 1/1
Total new files: 4
Total updated files: 0
Archive changes:
xrt_smi_npu3.a: 4 new