model : restore support for T5Encoder (#12590)
This commit is contained in:
parent
d5c6309d91
commit
953c2a62cf
1 changed files with 5 additions and 4 deletions
|
@ -11846,10 +11846,11 @@ llm_graph_result_ptr llama_model::build_graph(
|
|||
GGML_ABORT("invalid graph type");
|
||||
};
|
||||
} break;
|
||||
//case LLM_ARCH_T5ENCODER:
|
||||
// {
|
||||
// llm.build_t5_enc(gf);
|
||||
// } break;
|
||||
case LLM_ARCH_T5ENCODER:
|
||||
{
|
||||
llm = std::make_unique<llm_build_t5_enc>(*this, params, gf);
|
||||
}
|
||||
break;
|
||||
case LLM_ARCH_JAIS:
|
||||
{
|
||||
llm = std::make_unique<llm_build_jais>(*this, params, gf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue