remove trailing whitespace
This commit is contained in:
parent
fc456edda6
commit
f3590ad8d9
2 changed files with 3 additions and 3 deletions
4
ggml.c
4
ggml.c
|
@ -16191,9 +16191,9 @@ static size_t hash_find(void * hash_table[], void * p) {
|
|||
|
||||
static bool hash_insert(void * hash_table[], void * p) {
|
||||
size_t i = hash_find(hash_table, p);
|
||||
|
||||
|
||||
GGML_ASSERT(i < GGML_GRAPH_HASHTABLE_SIZE); // assert that not full
|
||||
|
||||
|
||||
if (hash_table[i] == p) {
|
||||
return true;
|
||||
}
|
||||
|
|
2
ggml.h
2
ggml.h
|
@ -1665,7 +1665,7 @@ extern "C" {
|
|||
GGML_API void ggml_graph_dump_dot(const struct ggml_cgraph * gb, const struct ggml_cgraph * gf, const char * filename);
|
||||
|
||||
// build gradient checkpointing backward graph gb for gf using provided checkpoints
|
||||
// gb_tmp will contain original backward graph with rewritten backward process nodes,
|
||||
// gb_tmp will contain original backward graph with rewritten backward process nodes,
|
||||
// but without the second forward pass nodes.
|
||||
GGML_API void ggml_build_backward_gradient_checkpointing(
|
||||
struct ggml_context * ctx,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue