Skip to content

Commit

Permalink
whisper : add Q4_1 model sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Feb 26, 2023
1 parent 2bdc3d1 commit 24330b8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/whisper/whisper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,15 @@ static const std::map<ggml_type, std::map<e_model, size_t>> MEM_REQ_MODEL = {
{ MODEL_LARGE, 940ull*MB },
},
},
{ GGML_TYPE_Q4_1,
{
{ MODEL_TINY, 31ull*MB },
{ MODEL_BASE, 57ull*MB },
{ MODEL_SMALL, 181ull*MB },
{ MODEL_MEDIUM, 559ull*MB },
{ MODEL_LARGE, 1122ull*MB },
},
},
};

static const std::map<e_model, size_t> MEM_REQ_KV_SELF = {
Expand Down

0 comments on commit 24330b8

Please sign in to comment.