Commit ea0c612
authored
QNN Backend: Add SM8350 Support (#15867)
### Summary
Add support for Qualcomm Snapdragon 888 (SM8350) chipset to the QNN
backend.
This PR adds SM8350 to the list of supported Qualcomm SoCs for
ExecuTorch's Qualcomm AI Engine Direct backend.
The SM8350 uses HTP Architecture V68 with 4 cores, similar to the SA8295
but with fewer cores.
- Added SM8350 = 35 to the QcomChipset enum in both FlatBuffer schema
and Python definitions
- Registered SM8350 with HTP V68 architecture and 4 cores in the SoC
info table
- Added SM8350 to the SoC-to-architecture and SoC-to-chipset mapping
functions
This enables users to compile and deploy ExecuTorch models on devices
with Snapdragon 888 chipsets.
### Test plan
Manually tested model compilation and execution on SM8350 device:
` python -m examples.qualcomm.scripts.deeplab_v3 -b build-android -m
SM8350 --compile_only --ci
`
The model compiled successfully and generated a valid .pte file for
SM8350 target.
Tested on:
- Device: SM8350 (Snapdragon 888)
- Model: DeepLabV3 ResNet101
- Quantization: INT8 (8a8w)
- Build: Android (build-android)1 parent 529a265 commit ea0c612
File tree
3 files changed
+5
-0
lines changed- backends/qualcomm
- serialization
- utils
3 files changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1090 | 1090 | | |
1091 | 1091 | | |
1092 | 1092 | | |
| 1093 | + | |
1093 | 1094 | | |
1094 | 1095 | | |
1095 | 1096 | | |
| |||
1109 | 1110 | | |
1110 | 1111 | | |
1111 | 1112 | | |
| 1113 | + | |
1112 | 1114 | | |
1113 | 1115 | | |
1114 | 1116 | | |
| |||
0 commit comments