Fix build
Signed-off-by: Molly Sophia <mollysophia379@gmail.com>
This commit is contained in:
parent
b3b17e05fe
commit
700dad1b86
1 changed files with 1 additions and 1 deletions
|
@ -14811,7 +14811,7 @@ struct llm_build_context {
|
||||||
}
|
}
|
||||||
|
|
||||||
ggml_cgraph * build_rwkv() {
|
ggml_cgraph * build_rwkv() {
|
||||||
ggml_cgraph *gf = ggml_new_graph_custom(ctx0, LLAMA_MAX_NODES, false);
|
ggml_cgraph *gf = ggml_new_graph_custom(ctx0, llama_model_max_nodes(model), false);
|
||||||
|
|
||||||
// Input embeddings, start of the model after tokenizing ({n_embd, n_tokens})
|
// Input embeddings, start of the model after tokenizing ({n_embd, n_tokens})
|
||||||
ggml_tensor * input_embeddings = llm_build_inp_embd(ctx0, lctx, hparams, batch, model.tok_embd, cb);
|
ggml_tensor * input_embeddings = llm_build_inp_embd(ctx0, lctx, hparams, batch, model.tok_embd, cb);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue