You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Any other relevant information: No
Additional context
No
The text was updated successfully, but these errors were encountered:
Notice: In order to resolve issues more efficiently, please raise issue following the template.
(注意:为了更加高效率解决您遇到的问题,请按照模板提问,补充细节)
🐛 Bug
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):
Run cmd in my macOS terminal
sudo docker pull registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-cpu-0.4.4 mkdir -p ./funasr-runtime-resources/models sudo docker run -p 10095:10095 -it --privileged=true -v $PWD/funasr-runtime-resources/models:/workspace/models registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-cpu-0.4.4
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
The text was updated successfully, but these errors were encountered: