try Windows fix
This commit is contained in:
parent
baa8b5d2d2
commit
fecf662ec1
1 changed files with 5 additions and 5 deletions
|
@ -553,19 +553,19 @@ static inline ggml_bf16_t ggml_compute_fp32_to_bf16(float s) {
|
||||||
|
|
||||||
// expose GGUF internals for test code
|
// expose GGUF internals for test code
|
||||||
|
|
||||||
size_t gguf_type_size(enum gguf_type type);
|
GGML_API size_t gguf_type_size(enum gguf_type type);
|
||||||
|
|
||||||
struct gguf_context * gguf_init_from_file_impl(FILE * file, struct gguf_init_params params);
|
GGML_API struct gguf_context * gguf_init_from_file_impl(FILE * file, struct gguf_init_params params);
|
||||||
|
|
||||||
struct gguf_buf {
|
struct gguf_buf {
|
||||||
void * data;
|
void * data;
|
||||||
size_t size;
|
size_t size;
|
||||||
size_t offset;
|
size_t offset;
|
||||||
};
|
};
|
||||||
struct gguf_buf gguf_buf_init(size_t size);
|
GGML_API struct gguf_buf gguf_buf_init(size_t size);
|
||||||
void gguf_buf_free(struct gguf_buf buf);
|
GGML_API void gguf_buf_free(struct gguf_buf buf);
|
||||||
|
|
||||||
void gguf_write_to_buf(const struct gguf_context * ctx, struct gguf_buf * buf, bool only_meta);
|
GGML_API void gguf_write_to_buf(const struct gguf_context * ctx, struct gguf_buf * buf, bool only_meta);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue