ref: bb95b76619b6ce71052a4669bbe545d3a5544afa
parent: fb96cdcca9643a613d602450f8dc530db713f682
author: eli <eli@owl>
date: Fri Jul 11 22:08:14 EDT 2025
github.com/karpathy/llama2.c
--- a/llama2.c
+++ b/llama2.c
@@ -881,10 +881,10 @@
printf("\n");
// report achieved tok/s (pos-1 because the timer starts after first iteration)
- if (pos > 1) {
- long end = time_in_ms();
- fprintf(stderr, "achieved tok/s: %f\n", (pos-1) / (double)(end-start)*1000);
- }
+// if (pos > 1) {
+// long end = time_in_ms();
+// fprintf(stderr, "achieved tok/s: %f\n", (pos-1) / (double)(end-start)*1000);
+// }
free(prompt_tokens);
}
--
⑨