Skip to content

Commit 379b062

Browse files
authored
Update 07-run-model.md
1 parent 9c42626 commit 379b062

File tree

1 file changed

+4
-4
lines changed
  • content/learning-paths/mobile-graphics-and-gaming/measure-kleidiai-kernel-performance-on-executorch

1 file changed

+4
-4
lines changed

content/learning-paths/mobile-graphics-and-gaming/measure-kleidiai-kernel-performance-on-executorch/07-run-model.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ The flags below tell executor_runner where to write the ETDump and how many time
2020

2121
```bash
2222
cd ~/bench
23-
./executor_runner -etdump_path model/linear_model_f32.etdump -model_path model/linear_model_f32.pte -num_executions=1 -cpu_threads 1
23+
./executor_runner -etdump_path model/linear_model_pf32_gemm.etdump -model_path model/linear_model_pf32_gemm.pte -num_executions=1 -cpu_threads 1
2424

2525
```
2626

2727
You can adjust the number of execution threads and the number of times the model is invoked.
2828

2929

30-
You should see output similar to the example below.
30+
You should see logs like:
3131

32-
```bash
32+
```output
3333
D 00:00:00.015988 executorch:XNNPACKBackend.cpp:57] Creating XNN workspace
3434
D 00:00:00.018719 executorch:XNNPACKBackend.cpp:69] Created XNN workspace: 0xaff21c2323e0
3535
D 00:00:00.027595 executorch:operator_registry.cpp:96] Successfully registered all kernels from shared library: NOT_SUPPORTED
@@ -52,6 +52,6 @@ OutputX 0: tensor(sizes=[1, 256], [
5252
I 00:00:00.093912 executorch:executor_runner.cpp:125] ETDump written to file 'model/linear_model_f32.etdump'.
5353
5454
```
55+
If execution succeeds, an ETDump file is created next to your model. You will load the .etdump in the next section and analyze which operators dispatched to KleidiAI and how each micro-kernel performed.
5556

56-
If the execution is successful, an etdump file will also be generated.
5757

0 commit comments

Comments
 (0)