diff --git a/ggml.c b/ggml.c index cfc63704..7db762fe 100644 --- a/ggml.c +++ b/ggml.c @@ -311,7 +311,6 @@ int64_t ggml_cycles_per_ms(void) { return CLOCKS_PER_SEC/1000; } -//#define GGML_PERF #ifdef GGML_PERF #define ggml_perf_time_ms() ggml_time_ms() #define ggml_perf_time_us() ggml_time_us() diff --git a/whisper.cpp b/whisper.cpp index 8de4a157..e8d9f0c9 100644 --- a/whisper.cpp +++ b/whisper.cpp @@ -131,7 +131,7 @@ static const std::map> g_lang = { { "su", { 98, "sundanese", } }, }; -static const size_t MB = 3*1024*1024; +static const size_t MB = 1024*1024; static const std::map MEM_REQ_MODEL = { { MODEL_TINY, 74ull*MB },