From 443bc09c11f3cf89ffc573aab2021f0c933aa5b3 Mon Sep 17 00:00:00 2001
From: kmn1024 <kienman@gmail.com>
Date: 星期三, 25 六月 2025 16:34:30 +0800
Subject: [PATCH] Bugfix: Only allow rank==0 to clean up old checkpoints (#2558)

---
 funasr/bin/inference.py |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/funasr/bin/inference.py b/funasr/bin/inference.py
index 2a1b6aa..39ee5c0 100644
--- a/funasr/bin/inference.py
+++ b/funasr/bin/inference.py
@@ -16,9 +16,6 @@
             return cfg_item
 
     kwargs = to_plain_list(cfg)
-    log_level = getattr(logging, kwargs.get("log_level", "INFO").upper())
-
-    logging.basicConfig(level=log_level)
 
     if kwargs.get("debug", False):
         import pdb

--
Gitblit v1.9.1