From cda33e1267fd04edd20c0fc7d86d8b8fc2f99441 Mon Sep 17 00:00:00 2001 From: Wagner Bruna Date: Sat, 28 Mar 2026 07:43:32 -0300 Subject: [PATCH] chore: fix compatibility with ggml v0.9.8 ggml ac55e3cdebf2c85d36be49ce226b9b2dd67e670c introduced a new quant type, making sd_type_t and ggml_type out of sync. --- include/stable-diffusion.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/stable-diffusion.h b/include/stable-diffusion.h index 029c2ab1d..fe1c79d7a 100644 --- a/include/stable-diffusion.h +++ b/include/stable-diffusion.h @@ -120,7 +120,8 @@ enum sd_type_t { // SD_TYPE_IQ4_NL_4_8 = 37, // SD_TYPE_IQ4_NL_8_8 = 38, SD_TYPE_MXFP4 = 39, // MXFP4 (1 block) - SD_TYPE_COUNT = 40, + SD_TYPE_NVFP4 = 40, // NVFP4 (4 blocks, E4M3 scale) + SD_TYPE_COUNT = 41, }; enum sd_log_level_t {