always show reported arch

This commit is contained in:
Concedo 2023-12-22 11:15:07 +08:00
parent 2378a29bde
commit 375003b458

View file

@ -274,13 +274,12 @@ void print_tok_vec(std::vector<float> &embd)
else if(modelarch=="falcon")
{
fileformat = FileFormat::GGUF_FALCON; //uses the same loader
printf("\nDetected GGUF FALCON format.\n");
}
else
{
printf("\nERROR: Detected unimplemented GGUF Arch: %s\n",modelarch.c_str());
}
printf("\nThe reported GGUF Arch is: %s\n",(modelarch==""?"unknown":modelarch.c_str()));
if(modelarch!="" && fileformatmeta!=nullptr)
{
std::string fkey = modelarch+".context_length";