Silence a warning now that we're forked.

This commit is contained in:
Adam Treat 2023-04-20 17:27:06 -04:00
parent 442ca09b32
commit 4d26f5daeb
2 changed files with 1 additions and 2 deletions

1
ggml

@ -1 +0,0 @@
Subproject commit cb43158f79fdfb5bfe1863cae764d5354c8ec5bd

View File

@ -327,7 +327,7 @@ bool gptj_model_load(const std::string &fname, std::istream &fin, gptj_model & m
} }
if (tensor->ne[0] != ne[0] || tensor->ne[1] != ne[1]) { if (tensor->ne[0] != ne[0] || tensor->ne[1] != ne[1]) {
fprintf(stderr, "%s: tensor '%s' has wrong shape in model file: got [%d, %d], expected [%d, %d]\n", fprintf(stderr, "%s: tensor '%s' has wrong shape in model file: got [%lu, %lu], expected [%d, %d]\n",
__func__, name.data(), tensor->ne[0], tensor->ne[1], ne[0], ne[1]); __func__, name.data(), tensor->ne[0], tensor->ne[1], ne[0], ne[1]);
return false; return false;
} }