⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

GPU镜像拉下之后跑会报错,尝试转onnx发现跟外部CUDA12.2不兼容,里面构建的CUDA太老。 #2781

@vigney-young

Description

@vigney-young

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

🐛 Bug

按照官网教程部署 registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-gpu-0.2.1 的时候会报:

Image

尝试转onnx报:

Image

To Reproduce

Steps to reproduce the behavior (always include the command you ran):

  1. Run cmd '....'
    nohup bash run_server.sh --download-model-dir /workspace/models --vad-dir iic/speech_fsmn_vad_zh-cn-16k-common-onnx --model-dir iic/speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-pytorch --punc-dir iic/punc_ct-transformer_cn-en-common-vocab471067-large-onnx --lm-dir iic/speech_ngram_lm_zh-cn-ai-wesp-fst --itn-dir thuduj12/fst_itn_zh --hotword /workspace/models/hotwords.txt --batch-size 1 > log.txt 2>&1 &

  2. See error

Image

Code sample

Expected behavior

Environment

  • OS (e.g., Linux):ubuntu 24.04 x86
  • FunASR Version (e.g., 1.0.0): 镜像: registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-gpu-0.2.1
  • ModelScope Version (e.g., 1.11.0):镜像: registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-gpu-0.2.1
  • PyTorch Version (e.g., 2.0.0):镜像: registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-gpu-0.2.1 1.12.0+cu113
  • How you installed funasr (pip, source):镜像直接部署
  • Python version:3.8
  • GPU (e.g., V100M32):nvidia 4090
  • CUDA/cuDNN version (e.g., cuda11.7): 12.2
  • Docker version (e.g., funasr-runtime-sdk-cpu-0.4.1) registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-gpu-0.2.1 1.12.0+cu113
  • Any other relevant information:

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions