fixed rwkv, standardized new ctx usage

This commit is contained in:
Concedo 2023-07-10 20:05:53 +08:00
parent 2827920044
commit 523fc3be52
8 changed files with 27 additions and 8 deletions

View file

@ -707,7 +707,7 @@ bool gpt2_eval(
// run the computation
ggml_build_forward_expand(&gf, inpL);
ggml_graph_compute_with_ctx(ctx0, &gf, n_threads);
kcpp_graph_compute_helper(&gf, n_threads);
//if (n_past%100 == 0) {
// ggml_graph_print (&gf);