mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-01-19 12:28:52 +01:00
whisper : revert accidental MB change
This commit is contained in:
parent
d61d55cd4b
commit
65fdcbbbbb
1
ggml.c
1
ggml.c
@ -311,7 +311,6 @@ int64_t ggml_cycles_per_ms(void) {
|
|||||||
return CLOCKS_PER_SEC/1000;
|
return CLOCKS_PER_SEC/1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
//#define GGML_PERF
|
|
||||||
#ifdef GGML_PERF
|
#ifdef GGML_PERF
|
||||||
#define ggml_perf_time_ms() ggml_time_ms()
|
#define ggml_perf_time_ms() ggml_time_ms()
|
||||||
#define ggml_perf_time_us() ggml_time_us()
|
#define ggml_perf_time_us() ggml_time_us()
|
||||||
|
@ -131,7 +131,7 @@ static const std::map<std::string, std::pair<int, std::string>> g_lang = {
|
|||||||
{ "su", { 98, "sundanese", } },
|
{ "su", { 98, "sundanese", } },
|
||||||
};
|
};
|
||||||
|
|
||||||
static const size_t MB = 3*1024*1024;
|
static const size_t MB = 1024*1024;
|
||||||
|
|
||||||
static const std::map<e_model, size_t> MEM_REQ_MODEL = {
|
static const std::map<e_model, size_t> MEM_REQ_MODEL = {
|
||||||
{ MODEL_TINY, 74ull*MB },
|
{ MODEL_TINY, 74ull*MB },
|
||||||
|
Loading…
Reference in New Issue
Block a user