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

Introduce outer reduction for metal #17058

Merged
merged 1 commit into from
Jun 4, 2024
Merged

Conversation

Hzfengsy
Copy link
Member

@Hzfengsy Hzfengsy commented Jun 3, 2024

q4f16_0 may improve the performance of metal. To be specific, Llama-3 8B on M1 Pro:

  1. Single batch 26.2 tok/s (q4f16_1) vs. 28.0 tok/s (q4f16_0)
  2. low-batched serving: about 25% improvement

@tqchen tqchen merged commit 1c05902 into apache:main Jun 4, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants