mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2023-11-04 02:52:44 +03:00
Update tests
This commit is contained in:
@@ -1012,7 +1012,7 @@ bool whisper_model_load(const std::string & fname, whisper_context & wctx) {
|
||||
|
||||
if (n_loaded == 0) {
|
||||
printf("%s: WARN no tensors loaded from model file - assuming empty model for testing\n", __func__);
|
||||
} else if (n_loaded != model.tensors.size()) {
|
||||
} else if (n_loaded != (int) model.tensors.size()) {
|
||||
fprintf(stderr, "%s: ERROR not all tensors loaded from model file - expected %zu, got %d\n", __func__, model.tensors.size(), n_loaded);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user