A Fundamental End-to-End Speech Recognition Toolkit and Open Source SOTA Pretrained Models, Supporting Speech Recognition, Voice Activity Detection, Text Post-processing etc.
Execute python3.8 funasr_wss_client.py --host 127.0.0.1 --port 10095 --ssl 1 --mode offline --audio_in "xxx.mp4". Here, "xxx.mp4" is a long video, more than 30 minutes in duration.
After step 3, the funasr-wss-server process's memory usage increases with each audio recognition. This increase seems to be related to the size of the audio.
To Reproduce
Steps to reproduce the behavior (always include the command you ran):
The funasr-wss-server process's memory usage increases with each audio recognition. Using the "xxx.wav" audio file for over 30 minutes will result in a similar reault. You can see memory usage with top command.
Code sample
No
Expected behavior
Solving the memory leak issue in the FunASR Offline File Transcription Software Package.
Environment
OS (e.g., Linux): MacOS
FunASR Version (e.g., 1.0.0): 1.0.13, also have tried 1.0.25
ModelScope Version (e.g., 1.11.0): 1.12.0
PyTorch Version (e.g., 2.0.0): 2.2.1
How you installed funasr (pip, source): installed in official image
Python version: 3.8.18
GPU (e.g., V100M32): use cpu
CUDA/cuDNN version (e.g., cuda11.7): use cpu
Docker version (e.g., funasr-runtime-sdk-cpu-0.4.1): funasr-runtime-sdk-cpu-0.4.4
Notice: In order to resolve issues more efficiently, please raise issue following the template. (注意:为了更加高效率解决您遇到的问题,请按照模板提问,补充细节)
🐛 Bug
To Reproduce
Steps to reproduce the behavior (always include the command you ran):
Run cmd in my macOS terminal
Enter contanier from terminal
Lanuch server
Query by python client. "xxx.mp4" is a long video, more than 30 minutes in duration
The funasr-wss-server process's memory usage increases with each audio recognition. Using the "xxx.wav" audio file for over 30 minutes will result in a similar reault. You can see memory usage with
top
command.Code sample
No
Expected behavior
Solving the memory leak issue in the FunASR Offline File Transcription Software Package.
Environment
pip
, source): installed in official imageAdditional context
No