mtmd: also support LLAMA_ROPE_TYPE_NONE (#22242)
This commit is contained in:
@@ -195,6 +195,7 @@ struct mtmd_context {
|
|||||||
|
|
||||||
auto decoder_rope_type = llama_model_rope_type(text_model);
|
auto decoder_rope_type = llama_model_rope_type(text_model);
|
||||||
switch (decoder_rope_type) {
|
switch (decoder_rope_type) {
|
||||||
|
case LLAMA_ROPE_TYPE_NONE:
|
||||||
case LLAMA_ROPE_TYPE_NORM:
|
case LLAMA_ROPE_TYPE_NORM:
|
||||||
case LLAMA_ROPE_TYPE_NEOX:
|
case LLAMA_ROPE_TYPE_NEOX:
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user