Add name of external file at end

This commit is contained in:
pudepiedj 2023-09-30 17:07:31 +01:00
parent 2a5c27053e
commit f71068fd98
2 changed files with 5 additions and 5 deletions

View file

@ -20,11 +20,11 @@ Will religion ever die?
Do we understand ourselves?
What is the best way to cook eggs?
If you cannot see things, on what basis do you evaluate them?
What is belief?
Explain the role of the np junction in photovoltaic cells?
Is professional sport a good or bad influence on human behaviour?
Is capital punishment immoral?
Should we care about other people?
Who am I?
Who are you?
Which sense would you surrender if you could?
Was Henry Ford a hero or a villain?
Do we need leaders?

View file

@ -135,7 +135,7 @@ int main(int argc, char ** argv) {
k_prompts.resize(index + 1);
k_prompts[index] = prompt;
index++;
std::cout << std::setw(3) << std::right << index << " prompt: " << prompt << std::endl;
std::cout << std::setw(2) << std::right << index << " prompt: " << prompt << std::endl;
}
}
@ -395,14 +395,14 @@ int main(int argc, char ** argv) {
printDateTime();
LOG_TEE("\n%s: n_parallel = %d, n_sequences = %d, cont_batching = %d, system tokens = %d\n", __func__, n_clients, n_seq, cont_batching, n_tokens_system);
LOG_TEE("\n");
std::cout << "external prompt file (if any): " << params.prompt_file << "\n\n";
LOG_TEE("Total prompt tokens: %6d, speed: %5.2f t/s\n", n_total_prompt, (double) (n_total_prompt ) / (t_main_end - t_main_start) * 1e6);
LOG_TEE("Total gen tokens: %6d, speed: %5.2f t/s\n", n_total_gen, (double) (n_total_gen ) / (t_main_end - t_main_start) * 1e6);
LOG_TEE("Total speed (AVG): %6s speed: %5.2f t/s\n", "", (double) (n_total_prompt + n_total_gen) / (t_main_end - t_main_start) * 1e6);
LOG_TEE("Cache misses: %6d\n", n_cache_miss);
LOG_TEE("\n\n");
LOG_TEE("\n");
llama_print_timings(ctx);