Skip to content

Commit f40a781

Browse files
committed
fix print
Signed-off-by: Gangmuk Lim <[email protected]>
1 parent 23ef8c5 commit f40a781

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

modules/llm-cache/storage/aibrix_blob_storage.cc

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,8 +532,16 @@ Status AIBrixBlobStorage::QueryInternal(
532532
auto hit_ratio = matched / static_cast<float>(tokens.size());
533533
auto total_time_in_ms = std::chrono::duration_cast<std::chrono::milliseconds>(query_end_time - query_start_time).count();
534534
size_t total_kv_tensors_size = tokens.size() * tensor_nbytes_ * 2 * layer_;
535-
VLOG(100) << "QueryInternalPerf,Query_start_time," << query_start_time << ",Query_end_time," << query_end_time << ",Query_total_time_in_ms," << total_time_in_ms << ",threads," << thread_count << ",tokens," << tokens.size() << ",matched," << matched ",hit_ratio," << hit_ratio
536-
<< ",num_objects," << obj_names.size() << ",total_kv_tensors_size," << total_kv_tensors_size;
535+
VLOG(100) << "QueryInternalPerf,Query_start_time,"
536+
<< std::chrono::duration_cast<std::chrono::milliseconds>(query_start_time.time_since_epoch()).count()
537+
<< ",Query_end_time,"
538+
<< std::chrono::duration_cast<std::chrono::milliseconds>(query_end_time.time_since_epoch()).count()
539+
<< ",Query_total_time_in_ms," << total_time_in_ms
540+
<< ",threads," << thread_count
541+
<< ",tokens," << tokens.size()
542+
<< ",matched," << matched << ",hit_ratio," << hit_ratio
543+
<< ",num_objects," << obj_names.size()
544+
<< ",total_kv_tensors_size," << total_kv_tensors_size; << ",num_objects," << obj_names.size() << ",total_kv_tensors_size," << total_kv_tensors_size;
537545
return first_error;
538546
}
539547

0 commit comments

Comments
 (0)