Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update iphone 15 pro benchmarking numbers #2927

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions examples/models/llama2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,19 @@ Note that groupsize less than 128 was not enabled, since such model were still t

## Performance

Performance was measured on Samsung Galaxy S22, S23, S24 and One Plus 12. Measurement performance is in terms of tokens/second.
Performance was measured on Samsung Galaxy S22, S24, One Plus 12 and iPhone 15 max Pro. Measurement performance is in terms of tokens/second.

|Device | Groupwise 4-bit (128) | Groupwise 4-bit (256)
|--------| ---------------------- | ---------------
|Galaxy S22 | 8.15 tokens/second | 8.3 tokens/second |
|Galaxy S24 | 10.66 tokens/second | 11.26 tokens/second |
|One plus 12 | 11.55 tokens/second | 11.6 tokens/second |
|iPhone 15 pro | x | x |
|Galaxy S22* | 8.15 tokens/second | 8.3 tokens/second |
|Galaxy S24* | 10.66 tokens/second | 11.26 tokens/second |
|One plus 12* | 11.55 tokens/second | 11.6 tokens/second |
|Galaxy S22** | 5.5 tokens/second | 5.9 tokens/second |
|iPhone 15 pro** | ~6 tokens/second | ~6 tokens/second |

*: Measured via adb binary based [workflow](#step-5-run-benchmark-on)

**: Measured via app based [workflow](#step-6-build-mobile-apps)

# Instructions

Expand Down Expand Up @@ -241,7 +245,6 @@ Please refer to [this tutorial](https://pytorch.org/executorch/main/llm/llama-de
- Enabling LLama2 7b and other architectures via Vulkan
- Enabling performant execution of widely used quantization schemes.

TODO

# Notes
This example tries to reuse the Python code, with minimal modifications to make it compatible with current ExecuTorch:
Expand Down
Loading