Skip to content

Commit 4a6e36e

Browse files
committed
sync: update ggml
1 parent 73c2176 commit 4a6e36e

File tree

6 files changed

+17
-14
lines changed

6 files changed

+17
-14
lines changed

ggml

Submodule ggml updated 330 files

ggml_extend.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
#include <unordered_map>
2121
#include <vector>
2222

23-
#include "ggml/ggml-alloc.h"
24-
#include "ggml/ggml-backend.h"
25-
#include "ggml/ggml.h"
23+
#include "ggml-alloc.h"
24+
#include "ggml-backend.h"
25+
#include "ggml.h"
2626

2727
#ifdef SD_USE_CUBLAS
2828
#include "ggml-cuda.h"

model.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
#include "util.h"
1212
#include "vocab.hpp"
1313

14-
#include "ggml/ggml-alloc.h"
15-
#include "ggml/ggml-backend.h"
16-
#include "ggml/ggml.h"
14+
#include "ggml-alloc.h"
15+
#include "ggml-backend.h"
16+
#include "ggml.h"
1717

1818
#include "stable-diffusion.h"
1919

model.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#include <tuple>
1111
#include <vector>
1212

13-
#include "ggml/ggml-backend.h"
14-
#include "ggml/ggml.h"
13+
#include "ggml-backend.h"
14+
#include "ggml.h"
1515
#include "json.hpp"
1616
#include "zip.h"
1717

stable-diffusion.h

+7-4
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ enum schedule_t {
5555

5656
// same as enum ggml_type
5757
enum sd_type_t {
58-
SD_TYPE_F32 = 0,
59-
SD_TYPE_F16 = 1,
60-
SD_TYPE_Q4_0 = 2,
61-
SD_TYPE_Q4_1 = 3,
58+
SD_TYPE_F32 = 0,
59+
SD_TYPE_F16 = 1,
60+
SD_TYPE_Q4_0 = 2,
61+
SD_TYPE_Q4_1 = 3,
6262
// SD_TYPE_Q4_2 = 4, support has been removed
6363
// SD_TYPE_Q4_3 = 5, support has been removed
6464
SD_TYPE_Q5_0 = 6,
@@ -86,6 +86,9 @@ enum sd_type_t {
8686
SD_TYPE_F64 = 28,
8787
SD_TYPE_IQ1_M = 29,
8888
SD_TYPE_BF16 = 30,
89+
SD_TYPE_Q4_0_4_4 = 31,
90+
SD_TYPE_Q4_0_4_8 = 32,
91+
SD_TYPE_Q4_0_8_8 = 33,
8992
SD_TYPE_COUNT,
9093
};
9194

util.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include <unistd.h>
2323
#endif
2424

25-
#include "ggml/ggml.h"
25+
#include "ggml.h"
2626
#include "stable-diffusion.h"
2727

2828
#define STB_IMAGE_RESIZE_IMPLEMENTATION

0 commit comments

Comments
 (0)