Skip to content

Commit

Permalink
Update request_manager.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob-Chen222 authored Nov 8, 2024
1 parent 5fe3a8a commit a721926
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/runtime/request_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2466,7 +2466,6 @@ void RequestManager::start_background_server(FFModel *model) {
{
std::set_terminate([]() {
RequestManager::terminate_background_server_at_exit();
printStackTrace();
std::abort();
});
}
Expand Down Expand Up @@ -2711,10 +2710,6 @@ void RequestManager::terminate_background_server_at_exit() {

void RequestManager::terminate_background_server() {
if (is_background_server_serving()) {
printf("profiling llm step times size: %ld\n",
profiling.llm_step_times.size());
printf("profiling requests per step size: %ld\n",
profiling.requests_per_step.size());
assert(profiling.llm_step_times.size() ==
profiling.requests_per_step.size());
// Write the last profiling statistics to output file
Expand Down

0 comments on commit a721926

Please sign in to comment.