Skip to content

Commit

Permalink
ggml : fix rope calculation (!inplace + GPT-NeoX mode)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed May 14, 2023
1 parent df6a3d3 commit 788381e
Show file tree
Hide file tree
Showing 2 changed files with 170 additions and 102 deletions.
2 changes: 1 addition & 1 deletion examples/gpt-j/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ bool gptj_eval(

//if (n_past%100 == 0) {
// ggml_graph_print (&gf);
// ggml_graph_dump_dot(&gf, NULL, "gpt-2.dot");
// ggml_graph_dump_dot(&gf, NULL, "gpt-j.dot");
//}

//embd_w.resize(n_vocab*N);
Expand Down
Loading

0 comments on commit 788381e

Please sign in to comment.