diff options
-rw-r--r-- | quantize.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/quantize.cpp b/quantize.cpp index 0bc62db..0ae5373 100644 --- a/quantize.cpp +++ b/quantize.cpp @@ -296,6 +296,13 @@ int main(int argc, char ** argv) { return 1; } + // needed to initialize f16 tables + { + struct ggml_init_params params = { 0, NULL }; + struct ggml_context * ctx = ggml_init(params); + ggml_free(ctx); + } + const std::string fname_inp = argv[1]; const std::string fname_out = argv[2]; |