Arbitrary token len (>32) work; Fix bug in mulmat
This commit is contained in:
parent
8d263bd6a5
commit
8b408869ae
|
|
@ -56,13 +56,8 @@ void GgmlOvDecoder::set_input_output(ggml_tensor* node, std::map<std::string, gg
|
|||
break;
|
||||
}
|
||||
case GGML_OP_MUL_MAT: {
|
||||
if (!ggml_is_contiguous(node->src[1]) ||
|
||||
node->src[1]->ne[0] * node->src[1]->nb[0] != node->src[1]->nb[1]) {
|
||||
m_continuous = false;
|
||||
} else {
|
||||
m_continuous = true;
|
||||
}
|
||||
break;
|
||||
m_continuous = node->src[0]->view_src == nullptr;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue