diff options
Diffstat (limited to 'pplx_server.h')
| -rw-r--r-- | pplx_server.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/pplx_server.h b/pplx_server.h deleted file mode 100644 index c38f0ca..0000000 --- a/pplx_server.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef PPLX_SERVER_H -#define PPLX_SERVER_H - -#include <stdbool.h> - -typedef struct { - const char *id; - const char *path; -} pplx_server_model_spec_t; - -typedef struct { - const pplx_server_model_spec_t *models; - int n_models; - const char *host; - int port; - int batch_size; - int max_batch_tokens; - int batch_wait_us; - int use_mlx; - int use_cuda; - int mlx_quantize_bits; - int mlx_quantize_group_size; - double memory_utilization; /* fraction of physical memory the MLX - preflight may plan for; 0 = default 0.90, - values above 1.0 allow overcommit */ - int enable_cors; - const char *api_key; -} pplx_server_config_t; - -int pplx_run_server(const pplx_server_config_t *cfg); - -#endif |
