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

Sycl fix non intel fp16 #2

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

OuadiElfarouki
Copy link
Owner

@OuadiElfarouki OuadiElfarouki commented Mar 28, 2024

Similar to gemm_batch and gemm_batch_impl, we move the #ifdef __INTEL_MKL__ from the gemm_impl to its wrapper gemm to avoid misleading runtime error(*) with GGML_SYCL_F16 on non intel targets.

(*)Error can be reproduced on master branch using NVIDIA target and enabling GGML_SYCL_F16. Error message : "The oneAPI Math Kernel Library (oneMKL) Interfaces Project does not support this API".

Copy link
Collaborator

@AidanBeltonS AidanBeltonS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feel free to create an MR to the master branch

ggml-sycl.cpp Outdated Show resolved Hide resolved
OuadiElfarouki pushed a commit that referenced this pull request Oct 8, 2024
* vulkan : do not use tensor->extra

This patch allows using the Vulkan backend with the RPC backend as
tensor->extra is no longer used.

Ref: ggerganov#8536

* Adapt GGML_VULKAN_CHECK_RESULTS to extra removal (#2)

---------

Co-authored-by: 0cc4m <[email protected]>
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