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

[GPU] Optimization for gemm & fc in iGPU. #19780

Merged
merged 4 commits into from
Sep 22, 2023

Conversation

yeonbok
Copy link
Contributor

@yeonbok yeonbok commented Sep 13, 2023

Details:

  • fc : fake alignment for 16 is better in iGPU.
  • Gemm : permute + gemm_tiled_opt is better than transposed_input + gemm_ref kernel for unaligned shapes to 16. Note that this is an temporal optimization and will be removed once the final solution (i.e., support unaligned transposed input shape in gemm_tiled_opt kernel) is availalbe.

Tickets:

  • 119570
  • 118755

@yeonbok yeonbok requested review from a team as code owners September 13, 2023 00:02
@github-actions github-actions bot added the category: GPU OpenVINO GPU plugin label Sep 13, 2023
@yeonbok yeonbok added this to the 2023.2 milestone Sep 13, 2023
@yeonbok yeonbok closed this Sep 18, 2023
@yeonbok yeonbok reopened this Sep 18, 2023
FC: fake alignment for 16 is better in iGPU.
Gemm: permute + gemm_tiled_opt is better than transposed_input + gemm_ref kernel for unaligned shapes to 16. Note that this is an temporal optimization and will be removed once the final solution (i.e., support unaligned transposed input shape in gemm_tiled_opt kernel) is availalbe.
@yeonbok yeonbok merged commit f1b8abe into openvinotoolkit:master Sep 22, 2023
alvoron pushed a commit to alvoron/openvino that referenced this pull request Nov 6, 2023
* Optimization for gemm & fc in iGPU.
FC: fake alignment for 16 is better in iGPU.
Gemm: permute + gemm_tiled_opt is better than transposed_input + gemm_ref kernel for unaligned shapes to 16. Note that this is an temporal optimization and will be removed once the final solution (i.e., support unaligned transposed input shape in gemm_tiled_opt kernel) is availalbe.

* Fix unittest

* Fix for model_cache

* Fix unittest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: GPU OpenVINO GPU plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants