summaryrefslogtreecommitdiff
path: root/ggml-mpi.h
diff options
context:
space:
mode:
authorslaren <slarengh@gmail.com>2024-05-20 01:17:03 +0200
committerGitHub <noreply@github.com>2024-05-20 01:17:03 +0200
commitd359f30921a9f62a0fd299c412ff3f270286fea6 (patch)
treecaf5c58a4166edbc3c98ad5a168f307a2bd4b93d /ggml-mpi.h
parent1ea2a0036e88172d6c8bf7e1a1989a03894dc955 (diff)
llama : remove MPI backend (#7395)
Diffstat (limited to 'ggml-mpi.h')
-rw-r--r--ggml-mpi.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/ggml-mpi.h b/ggml-mpi.h
deleted file mode 100644
index eda119d4..00000000
--- a/ggml-mpi.h
+++ /dev/null
@@ -1,39 +0,0 @@
-#pragma once
-
-struct ggml_context;
-struct ggml_tensor;
-struct ggml_cgraph;
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-struct ggml_mpi_context;
-
-void ggml_mpi_backend_init(void);
-void ggml_mpi_backend_free(void);
-
-struct ggml_mpi_context * ggml_mpi_init(void);
-void ggml_mpi_free(struct ggml_mpi_context * ctx);
-
-int ggml_mpi_rank(struct ggml_mpi_context * ctx);
-
-void ggml_mpi_eval_init(
- struct ggml_mpi_context * ctx_mpi,
- int * n_tokens,
- int * n_past,
- int * n_threads);
-
-void ggml_mpi_graph_compute_pre(
- struct ggml_mpi_context * ctx_mpi,
- struct ggml_cgraph * gf,
- int n_layers);
-
-void ggml_mpi_graph_compute_post(
- struct ggml_mpi_context * ctx_mpi,
- struct ggml_cgraph * gf,
- int n_layers);
-
-#ifdef __cplusplus
-}
-#endif