mtmd: also support LLAMA_ROPE_TYPE_NONE (#22242)
This commit is contained in:
parent
17f6245168
commit
82d3f4d3b2
|
|
@ -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:
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue