Silence a warning now that we're forked.

pull/520/head
Adam Treat 1 year ago
parent 442ca09b32
commit 4d26f5daeb

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

@ -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]) {
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]);
return false;
}

Loading…
Cancel
Save