We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d13d6ff commit 822807bCopy full SHA for 822807b
src/llama-model.cpp
@@ -1407,7 +1407,8 @@ bool llama_model::load_tensors(llama_model_loader & ml) {
1407
if (flags & TENSOR_NOT_REQUIRED) {
1408
return nullptr;
1409
}
1410
- throw std::runtime_error(format("missing tensor '%s'", tn.str().c_str()));
+ LLAMA_LOG_WARN("missing tensor info mapping for %s -- ignoring\n", tn.str().c_str());
1411
+ return nullptr;
1412
1413
1414
// some models use the token embedding tensor as the output, but since these are used in different layers and with different ops
0 commit comments