FunASR icon indicating copy to clipboard operation
FunASR copied to clipboard

如何能禁用模型执行时输出的日志?

Open zshnb opened this issue 2 months ago • 0 comments

Notice: In order to resolve issues more efficiently, please raise issue following the template. (注意:为了更加高效率解决您遇到的问题,请按照模板提问,补充细节)

❓ Questions and Help

有2个问题

  1. 我已经下载了模型文件在本地,为什么每次运行模型时,还会提示下载,这个下载步骤可以关掉吗?
  2. 执行过程中如图所示的输出可以禁用掉吗?
Image Image

Before asking:

  1. search the issues.
  2. search the docs.

What is your question?

Code

What have you tried?

重定向sys.out到null,修改logging level

What's your environment?

  • OS (e.g., Linux): Linux
  • FunASR Version (e.g., 1.0.0): 1.2.7
  • ModelScope Version (e.g., 1.11.0):
  • PyTorch Version (e.g., 2.0.0): 2.0.8
  • How you installed funasr (pip, source): uv
  • Python version: 3.11
  • GPU (e.g., V100M32) A10
  • CUDA/cuDNN version (e.g., cuda11.7): cuda 12.4
  • Docker version (e.g., funasr-runtime-sdk-cpu-0.4.1)
  • Any other relevant information:

zshnb avatar Sep 25 '25 08:09 zshnb