From: Georgi Gerganov Date: Mon, 17 Oct 2022 20:50:44 +0000 (+0300) Subject: Fix memory sizes X-Git-Tag: upstream/1.7.4~1952 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=20d8e7a309fde7fdee641debfc4961ab7aff9902;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp Fix memory sizes --- diff --git a/whisper.cpp b/whisper.cpp index d0e6e766..fab7071f 100644 --- a/whisper.cpp +++ b/whisper.cpp @@ -156,11 +156,11 @@ static const std::map MEM_REQ_ENCODE_LAYER = { }; static const std::map MEM_REQ_DECODE = { - { MODEL_TINY, 94ull*MB }, - { MODEL_BASE, 96ull*MB }, - { MODEL_SMALL, 98ull*MB }, - { MODEL_MEDIUM, 100ull*MB }, - { MODEL_LARGE, 102ull*MB }, + { MODEL_TINY, 200ull*MB }, + { MODEL_BASE, 202ull*MB }, + { MODEL_SMALL, 204ull*MB }, + { MODEL_MEDIUM, 206ull*MB }, + { MODEL_LARGE, 208ull*MB }, }; static const std::map MEM_REQ_DECODE_LAYER = {