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 d75b219b..d7e9c529 100644 --- a/ggml/src/ggml-cuda/common.cuh +++ b/ggml/src/ggml-cuda/common.cuh @@ -376,6 +376,13 @@ struct ggml_cuda_type_traits<GGML_TYPE_Q5_1> { }; template<> +struct ggml_cuda_type_traits<GGML_TYPE_Q6_0> { + static constexpr int qk = QK6_0; + static constexpr int qr = QR6_0; + static constexpr int qi = QI6_0; +}; + +template<> struct ggml_cuda_type_traits<GGML_TYPE_Q8_0> { static constexpr int qk = QK8_0; static constexpr int qr = QR8_0; |