Skip to content

Commit

Permalink
try Windows fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesGaessler committed Dec 14, 2024
1 parent baa8b5d commit fecf662
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ggml/src/ggml-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -553,19 +553,19 @@ static inline ggml_bf16_t ggml_compute_fp32_to_bf16(float s) {

// 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 {
void * data;
size_t size;
size_t offset;
};
struct gguf_buf gguf_buf_init(size_t size);
void gguf_buf_free(struct gguf_buf buf);
GGML_API struct gguf_buf gguf_buf_init(size_t size);
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
}
Expand Down

0 comments on commit fecf662

Please sign in to comment.