diff options
Diffstat (limited to 'ggml/src/ggml-cuda/common.cuh')
-rw-r--r-- | ggml/src/ggml-cuda/common.cuh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ggml/src/ggml-cuda/common.cuh b/ggml/src/ggml-cuda/common.cuh index c00cef29..a6a9c3d3 100644 --- a/ggml/src/ggml-cuda/common.cuh +++ b/ggml/src/ggml-cuda/common.cuh @@ -516,6 +516,13 @@ struct ggml_cuda_type_traits<GGML_TYPE_IQ2_K> { }; template<> +struct ggml_cuda_type_traits<GGML_TYPE_IQ2_KS> { + static constexpr int qk = QK_K; + static constexpr int qr = QR4_XS; + static constexpr int qi = QI4_XS; +}; + +template<> struct ggml_cuda_type_traits<GGML_TYPE_IQ3_K> { static constexpr int qk = QK_K; static constexpr int qr = QR4_XS; |