Skip to content

Commit 7b72f48

Browse files
committed
GGML_MAX_CONTXT 2048
if needed.
1 parent 640af50 commit 7b72f48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ggml/include/ggml.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@
220220
#define GGML_MAX_SRC 10
221221
#define GGML_MAX_N_THREADS 512
222222
#define GGML_MAX_OP_PARAMS 64
223+
#define GGML_MAX_CONTEXTS 2048 // Bump from 64 to allow loading more than 64 model shards - https://github.com/ggml-org/whisper.cpp/discussions/2520
223224

224225
#ifndef GGML_MAX_NAME
225226
# define GGML_MAX_NAME 128

0 commit comments

Comments
 (0)