* model: don't crash on unsupported architecture
* Update src/llama-model.cpp
Co-authored-by: Sigbjørn Skjæret <redacted>
---------
Co-authored-by: Sigbjørn Skjæret <redacted>
case LLM_ARCH_STEP35:
return new llama_model_step35(params);
default:
- GGML_ABORT("unimplemented model class");
+ throw std::runtime_error(std::string("unsupported model architecture: '") + llm_arch_name(arch) + "'");
}
}