aboutsummaryrefslogtreecommitdiff
path: root/src/server_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server_internal.h')
-rw-r--r--src/server_internal.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/server_internal.h b/src/server_internal.h
index c72831e..9aaa5d8 100644
--- a/src/server_internal.h
+++ b/src/server_internal.h
@@ -8,6 +8,7 @@
* the CLI and library do not include it. */
#include "embed.h"
+#include "sbuf.h"
#include "tokenizer_bpe.h"
#include "tokenizer_wordpiece.h"
@@ -67,12 +68,6 @@
#define EMBED_MLX_MEMORY_BUDGET_PERCENT 90
#define EMBED_MLX_RESIDENT_MULTIPLIER 2
-typedef struct {
- char *ptr;
- size_t len;
- size_t cap;
-} sbuf;
-
typedef enum {
MODEL_STD_06,
MODEL_STD_4,