aboutsummaryrefslogtreecommitdiff
path: root/embed_mlx.h
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-06-10 08:28:13 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-06-14 08:27:03 +0200
commitac994a45e239bdbb9aa5c34cbab2de71295ba420 (patch)
tree98c7adf49d156f641d5f0b1e02bcc79aea75991f /embed_mlx.h
parent2c37727e653d2340d8977dd5db4addc767dd81ea (diff)
downloadffwd-ac994a45e239bdbb9aa5c34cbab2de71295ba420.tar.gz
ffwd-ac994a45e239bdbb9aa5c34cbab2de71295ba420.zip
chore: rename sources; binaries pplx-embed, pplx-embed-server
Diffstat (limited to 'embed_mlx.h')
-rw-r--r--embed_mlx.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/embed_mlx.h b/embed_mlx.h
index f2ad136..25376e9 100644
--- a/embed_mlx.h
+++ b/embed_mlx.h
@@ -1,5 +1,5 @@
/*
- * pplx_embed_mlx.h - MLX GPU backend for pplx-embed inference
+ * embed_mlx.h - MLX GPU backend for pplx-embed inference
*
* Uses Apple's mlx-c to run the transformer on Metal.
*/
@@ -9,7 +9,7 @@
#include <stddef.h>
#include <stdint.h>
-#include "pplx_embed.h"
+#include "embed.h"
/* Opaque MLX model context */
typedef struct pplx_mlx_ctx pplx_mlx_ctx_t;
@@ -143,7 +143,7 @@ int pplx_mlx_embed_spans_batch(pplx_mlx_ctx_t *ctx,
const pplx_context_input_t *inputs, int batch,
float *out_embeddings);
-/* Get the config (so main.c can read hidden_size etc.) */
+/* Get the config (so embed_cli.c can read hidden_size etc.) */
const pplx_config_t *pplx_mlx_config(const pplx_mlx_ctx_t *ctx);
#endif /* PPLX_EMBED_MLX_H */