Skip to content

Commit 06fb3df

Browse files
author
Anoop Kapoor
committed
Address Ashish's Comment
1 parent 513243b commit 06fb3df

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

ggml/src/ggml-tsavorite/ggml-tsavorite.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,10 +731,8 @@ static void ggml_tsavorite_free(struct ggml_backend_tsavorite_context *ctx) {
731731

732732
void
733733
ggml_tsi_finalize() {
734-
//if (tsi_op_log_file == NULL)
735734
if (runtime_initialized != true)
736735
return;
737-
sleep(2);
738736
tsi_finalize();
739737
GGML_TSAVORITE_LOG_INFO("Start %s\n", __func__);
740738
tsirt::utils::TSIProfiler::finalize();

tools/main/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ int main(int argc, char ** argv) {
154154

155155
if (model == NULL) {
156156
LOG_ERR("%s: error: unable to load model\n", __func__);
157-
ggml_tsi_finalize();
157+
ggml_tsi_finalize();
158158
return 1;
159159
}
160160

0 commit comments

Comments
 (0)