mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-19 13:52:07 +00:00
Improve message to be useful without spans
This commit is contained in:
parent
54d15462dc
commit
cee44bff7a
@ -421,7 +421,12 @@ pub(crate) async fn generate_internal(
|
||||
}
|
||||
|
||||
tracing::debug!("Output: {}", output_text);
|
||||
tracing::info!("Success");
|
||||
tracing::info!(
|
||||
"Success. total_time={}s inference_time={}s tokens={}",
|
||||
total_time.as_secs_f32(),
|
||||
inference_time.as_secs_f32(),
|
||||
response.generated_text.generated_tokens,
|
||||
);
|
||||
|
||||
let response = GenerateResponse {
|
||||
generated_text: output_text,
|
||||
|
Loading…
Reference in New Issue
Block a user