mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
Silence a warning now that we're forked.
This commit is contained in:
parent
442ca09b32
commit
4d26f5daeb
1
ggml
1
ggml
@ -1 +0,0 @@
|
|||||||
Subproject commit cb43158f79fdfb5bfe1863cae764d5354c8ec5bd
|
|
2
gptj.cpp
2
gptj.cpp
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user