]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
ggml : fix BLAS with unsupported types (llama/9775)
authorDiego Devesa <redacted>
Tue, 8 Oct 2024 12:21:43 +0000 (14:21 +0200)
committerGeorgi Gerganov <redacted>
Wed, 16 Oct 2024 08:28:38 +0000 (11:28 +0300)
commitd6a7a6856bc79c3b479f4c940524f9946e72e4a0
treee9cf96569a7152f97294b6c3bcdc1b88d5216a67
parent77d3dcfd7a403e49ad53fdb1c1bc887a8032ba22
ggml : fix BLAS with unsupported types (llama/9775)

* ggml : do not use BLAS with types without to_float

* ggml : return pointer from ggml_internal_get_type_traits to avoid unnecessary copies

* ggml : rename ggml_internal_get_type_traits -> ggml_get_type_traits

it's not really internal if everybody uses it
include/ggml.h
src/ggml-backend.cpp
src/ggml-blas.cpp
src/ggml-vulkan.cpp
src/ggml.c
tests/test-backend-ops.cpp
tests/test-quantize-fns.cpp
tests/test-quantize-perf.cpp