Spaces:
Sleeping
Sleeping
ggml, common, examples, tests : fixed type arguments in printf (llama/5528)
Browse files
ggml.c
CHANGED
|
@@ -17909,7 +17909,7 @@ struct ggml_cgraph * ggml_graph_import(const char * fname, struct ggml_context *
|
|
| 17909 |
|
| 17910 |
ptr += ggml_nbytes(tensor);
|
| 17911 |
|
| 17912 |
-
fprintf(stderr, "%s: loaded leaf %
|
| 17913 |
}
|
| 17914 |
}
|
| 17915 |
|
|
@@ -18012,7 +18012,7 @@ struct ggml_cgraph * ggml_graph_import(const char * fname, struct ggml_context *
|
|
| 18012 |
|
| 18013 |
result->nodes[i] = tensor;
|
| 18014 |
|
| 18015 |
-
fprintf(stderr, "%s: loaded node %
|
| 18016 |
}
|
| 18017 |
}
|
| 18018 |
}
|
|
|
|
| 17909 |
|
| 17910 |
ptr += ggml_nbytes(tensor);
|
| 17911 |
|
| 17912 |
+
fprintf(stderr, "%s: loaded leaf %u: '%16s', %9zu bytes\n", __func__, i, tensor->name, ggml_nbytes(tensor));
|
| 17913 |
}
|
| 17914 |
}
|
| 17915 |
|
|
|
|
| 18012 |
|
| 18013 |
result->nodes[i] = tensor;
|
| 18014 |
|
| 18015 |
+
fprintf(stderr, "%s: loaded node %u: '%16s', %9zu bytes\n", __func__, i, tensor->name, ggml_nbytes(tensor));
|
| 18016 |
}
|
| 18017 |
}
|
| 18018 |
}
|