Skip to content

Commit 786d950

Browse files
committed
update ggml and adjust for new type
1 parent 5900ef6 commit 786d950

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

ggml

Submodule ggml updated from 7dee1d6 to 5fdc78f

stable-diffusion.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,13 @@ enum sd_type_t {
9696
// SD_TYPE_Q4_0_4_4 = 31, support has been removed from gguf files
9797
// SD_TYPE_Q4_0_4_8 = 32,
9898
// SD_TYPE_Q4_0_8_8 = 33,
99-
SD_TYPE_TQ1_0 = 34,
100-
SD_TYPE_TQ2_0 = 35,
99+
SD_TYPE_TQ1_0 = 34,
100+
SD_TYPE_TQ2_0 = 35,
101101
// SD_TYPE_IQ4_NL_4_4 = 36,
102102
// SD_TYPE_IQ4_NL_4_8 = 37,
103103
// SD_TYPE_IQ4_NL_8_8 = 38,
104-
SD_TYPE_COUNT = 39,
104+
SD_TYPE_MXFP4 = 39, // MXFP4 (1 block)
105+
SD_TYPE_COUNT = 40,
105106
};
106107

107108
enum sd_log_level_t {

0 commit comments

Comments
 (0)