ggerganov commited on
Commit
72754e0
·
1 Parent(s): acee614

Print system info in main

Browse files
examples/bench/bench.cpp CHANGED
@@ -75,7 +75,7 @@ int main(int argc, char ** argv) {
75
  whisper_free(ctx);
76
 
77
  fprintf(stderr, "\n");
78
- fprintf(stderr, "system_info: n_threads = %d | %s\n", params.n_threads, whisper_print_system_info());
79
 
80
  fprintf(stderr, "\n");
81
  fprintf(stderr, "If you wish, you can submit these results here:\n");
 
75
  whisper_free(ctx);
76
 
77
  fprintf(stderr, "\n");
78
+ fprintf(stderr, "system_info: n_threads = %d / %d | %s\n", params.n_threads, std::thread::hardware_concurrency(), whisper_print_system_info());
79
 
80
  fprintf(stderr, "\n");
81
  fprintf(stderr, "If you wish, you can submit these results here:\n");
examples/main/main.cpp CHANGED
@@ -412,5 +412,8 @@ int main(int argc, char ** argv) {
412
  whisper_print_timings(ctx);
413
  whisper_free(ctx);
414
 
 
 
 
415
  return 0;
416
  }
 
412
  whisper_print_timings(ctx);
413
  whisper_free(ctx);
414
 
415
+ fprintf(stderr, "\n");
416
+ fprintf(stderr, "system_info: n_threads = %d / %d | %s\n", params.n_threads, std::thread::hardware_concurrency(), whisper_print_system_info());
417
+
418
  return 0;
419
  }