[Core] remove deparated code from PR391 (#502)

Signed-off-by: yinpeiqi <yinpeiqi809@gmail.com>
Co-authored-by: Hongsheng Liu <liuhongsheng4@huawei.com>
This commit is contained in:
Peiqi YinandHongsheng Liu authored and GitHub committed 2025-12-28 21:11:37 +13:00
1 parent be81443c8a
commit 60143adc52
6 files changed
+87 -418

No files matched your search

@@ -322,7 +322,6 @@ def main(args):
omni_llm = Omni(
model=model_name,
log_stats=args.enable_stats,
log_file=("omni_llm_pipeline.log" if args.enable_stats else None),
init_sleep_seconds=args.init_sleep_seconds,
batch_timeout=args.batch_timeout,
init_timeout=args.init_timeout,
@@ -170,15 +170,9 @@ def main(args):
else:
query_result = query_func()
if not args.enable_stats:
log_file = None
else:
log_file = os.path.join(args.log_dir, f"omni_llm_pipeline_{args.query_type}")
omni_llm = Omni(
model=model_name,
stage_configs_path=args.stage_configs_path,
log_file=log_file,
log_stats=args.enable_stats,
)