File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -420,7 +420,8 @@ int main(int argc, char** argv) {
420420 return 1 ;
421421 }
422422 stats.prompt_eval_end_ms = ::executorch::extension::llm::time_in_ms ();
423- stats.first_token_ms = stats.prompt_eval_end_ms ; // For ASR, first token is at end of encoding
423+ stats.first_token_ms =
424+ stats.prompt_eval_end_ms ; // For ASR, first token is at end of encoding
424425
425426 auto & enc_outputs = enc_result.get ();
426427 auto f_proj = enc_outputs[0 ].toTensor (); // [B, T, joint_hidden]
@@ -500,7 +501,8 @@ int main(int argc, char** argv) {
500501
501502 // Record inference end time and token counts
502503 stats.inference_end_ms = ::executorch::extension::llm::time_in_ms ();
503- stats.num_prompt_tokens = encoded_len; // Use encoder output length as "prompt" tokens
504+ stats.num_prompt_tokens =
505+ encoded_len; // Use encoder output length as "prompt" tokens
504506 stats.num_generated_tokens = static_cast <int64_t >(decoded_tokens.size ());
505507
506508 // Print PyTorchObserver stats for benchmarking
You can’t perform that action at this time.
0 commit comments