Update README.md
Community drive contributions: SwiftFormer meets Android. Qualcomm S8G2 DSP/HTP hardware, via Qualcomm tooling (QNN). Details in #14. Work done by @3scorciav . Refer to his fork for details.
This commit is contained in:
22
README.md
22
README.md
@@ -64,6 +64,28 @@ Self-attention has become a defacto choice for capturing global context in vario
|
|||||||
|
|
||||||
The latency reported in SwiftFormer for iPhone 14 (iOS 16) uses the benchmark tool from [XCode 14](https://developer.apple.com/videos/play/wwdc2022/10027/).
|
The latency reported in SwiftFormer for iPhone 14 (iOS 16) uses the benchmark tool from [XCode 14](https://developer.apple.com/videos/play/wwdc2022/10027/).
|
||||||
|
|
||||||
|
### SwiftFormer meets Android
|
||||||
|
|
||||||
|
Community-driven results with [Samsung Galaxy S23 Ultra, with Qualcomm Snapdragon 8 Gen 2](https://www.qualcomm.com/snapdragon/device-finder/samsung-galaxy-s23-ultra):
|
||||||
|
|
||||||
|
1. [Export](https://github.com/escorciav/SwiftFormer/blob/main-v/export.py) & profiler results of [`SwiftFormer_L1`](./models/swiftformer.py):
|
||||||
|
|
||||||
|
| QNN | 2.16 | 2.17 | 2.18 |
|
||||||
|
| -------------- | -----| ----- | ------ |
|
||||||
|
| Latency (msec) | 2.63 | 2.26 | 2.43 |
|
||||||
|
|
||||||
|
2. [Export](https://github.com/escorciav/SwiftFormer/blob/main-v/export_block.py) & profiler results of SwiftFormerEncoder block:
|
||||||
|
|
||||||
|
| QNN | 2.16 | 2.17 | 2.18 |
|
||||||
|
| -------------- | -----| ----- | ------ |
|
||||||
|
| Latency (msec) | 2.17 | 1.69 | 1.7 |
|
||||||
|
|
||||||
|
Refer to script above for details of the input & block parameters.
|
||||||
|
|
||||||
|
❓ _Interested in reproducing the results above?_
|
||||||
|
|
||||||
|
Refer to [Issue #14](https://github.com/Amshaker/SwiftFormer/issues/14) for details about [exporting & profiling.](https://github.com/Amshaker/SwiftFormer/issues/14#issuecomment-1883351728)
|
||||||
|
|
||||||
## ImageNet
|
## ImageNet
|
||||||
|
|
||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
|||||||
Reference in New Issue
Block a user