Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

callback to abort ggml_graph_compute() #328

Merged
merged 13 commits into from
Jul 11, 2023
Prev Previous commit
Next Next commit
forgot to commit ggml.h
  • Loading branch information
CCLDArjun committed Jul 2, 2023
commit 293d605beb03035ab2fabe08fe370ac53e0ae70f
3 changes: 3 additions & 0 deletions include/ggml/ggml.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@
#define GGML_MAX_NAME 48
#define GGML_DEFAULT_N_THREADS 4

#define GGML_EXIT_SUCCESS 0
#define GGML_EXIT_ABORTED 1

ggerganov marked this conversation as resolved.
Show resolved Hide resolved
#define GGML_ASSERT(x) \
do { \
if (!(x)) { \
Expand Down