Skip to content

Commit

Permalink
train(chore): Add spacing for improved readability
Browse files Browse the repository at this point in the history
  • Loading branch information
teleprint-me committed Aug 10, 2024
1 parent 1ba2014 commit cee1c07
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/train-text-from-scratch/train-text-from-scratch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,9 @@ static struct ggml_tensor * llama_build_train_graphs(
ggml_build_forward_expand(gf, t36);

if (enable_checkpointing) {
ggml_build_backward_gradient_checkpointing(ctx, gf, gb, gb_tmp, checkpoints.data(), (int) checkpoints.size());
ggml_build_backward_gradient_checkpointing(
ctx, gf, gb, gb_tmp, checkpoints.data(), (int) checkpoints.size()
);
} else {
ggml_graph_cpy(gf, gb);
ggml_build_backward_expand(ctx, gf, gb, true);
Expand Down

0 comments on commit cee1c07

Please sign in to comment.