使用services: cpp-runtime-sdk: image: registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-cpu-0.4.7 container_name: cpp-runtime-sdk ports: - "10095:10095" volumes: - ./models:/workspace/models command: > bash -c "cd FunASR/runtime && nohup bash run_server.sh \ --download-model-dir /workspace/models \ --model-dir damo/speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-onnx \ --certfile 0 \ --hotword /workspace/models/hotwords.txt > /tmp/runtime.log 2>&1 & tail -f /tmp/runtime.log" restart: unless-stopped healthcheck: test: ["CMD-SHELL", "bash -lc 'echo > /dev/tcp/127.0.0.1/10095'"] interval: 30s timeout: 5s retries: 3
测试脚本是:
如果调用次数增加岂不是,32G内存都不够用,这里有什么办法解决吗