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

[DLIGHT][GPU] Add OpenCL dequant matmul schedule #17187

Merged
merged 2 commits into from
Jul 23, 2024

Conversation

krishnaraj36
Copy link
Contributor

@krishnaraj36 krishnaraj36 commented Jul 22, 2024

  1. Enhanced the GPU matmul schedule for OpenCL Android and windows backend.
  2. It improves the 2X performance gain for Llama-2-7B prefill process.

-------Model ------------------target device -----------Earlier prefill perf -------Optimized prefill perf
Llama-2-7B-chat-hf ------ Snapdragon® 8 Gen 3--------27 tok/sec------------------50 tok/sec

1. Enhanced the GPU matmul schedule for OpenCL Android and windows backend.
2. It improves the 2X performance gain for Llama-2-7B prefill process
Model                       device                  Earlier prefill perf      Optimized prefill perf
Llama-2-7B-chat-hf      Snapdragon® 8 Gen 3            27 tok/sec                    50 tok/sec
@krishnaraj36
Copy link
Contributor Author

@tqchen @Hzfengsy - Can you please take a look at this PR.
@srkreddy1238

@tqchen tqchen merged commit 50d1c97 into apache:main Jul 23, 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