mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-06-13 20:48:08 +00:00
ggml : sync latest repo (mostly refactoring changes)
This commit is contained in:
@ -57,7 +57,7 @@ bool whisper_model_quantize(const std::string & fname_inp, const std::string & f
|
||||
{
|
||||
uint32_t magic;
|
||||
finp.read((char *) &magic, sizeof(magic));
|
||||
if (magic != 0x67676d6c) {
|
||||
if (magic != GGML_FILE_MAGIC) {
|
||||
fprintf(stderr, "%s: invalid model file '%s' (bad magic)\n", __func__, fname_inp.c_str());
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user