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

ggml : fix BLAS with unsupported types #9775

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

Conversation

slaren
Copy link
Collaborator

@slaren slaren commented Oct 7, 2024

  • Do not use BLAS with types that don't have to_float functions
  • Change ggml_internal_get_type_traits to return a const pointer to avoid copies in sensitive paths
  • Rename ggml_internal_get_type_traits to ggml_get_type_traits

Fixes #9766

ggml : return pointer from ggml_internal_get_type_traits to avoid unnecessary copies
it's not really internal if everybody uses it
@github-actions github-actions bot added testing Everything test related Vulkan Issues specific to the Vulkan backend examples ggml changes relating to the ggml tensor library for machine learning labels Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples ggml changes relating to the ggml tensor library for machine learning testing Everything test related Vulkan Issues specific to the Vulkan backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: BLAS causes Segmentation Fault
2 participants