llama : better express the KV cache dependencies in the graph
This commit is contained in:
parent
60c2ef6d92
commit
f3a84b2e0d
2 changed files with 41 additions and 31 deletions
2
ggml.c
2
ggml.c
|
@ -5213,6 +5213,8 @@ struct ggml_tensor * ggml_view_tensor(
|
|||
result->nb[i] = src->nb[i];
|
||||
}
|
||||
|
||||
result->op = GGML_OP_VIEW;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue