diff --git a/gpttype_adapter.cpp b/gpttype_adapter.cpp index b6c4f7f73..ce0c24b90 100644 --- a/gpttype_adapter.cpp +++ b/gpttype_adapter.cpp @@ -172,7 +172,7 @@ static std::map> antislop_banned_token_ids; //first is the static int savestate_limit = 0; static std::vector savestates; -extern int kcpp_permit_any_repack; +extern bool kcpp_permit_any_repack; inline int kcpp_cpu_has_blas(void) { #if defined(GGML_USE_BLAS) || defined(GGML_USE_CUDA) || defined(GGML_USE_VULKAN) || defined(GGML_USE_SYCL)