Skip to content

请问一下有没有funasr-runtime-sdk-online-cpu的dockerfile文件 #2807

Description

@hjj-lmx

自己打镜像,但是不知道怎么写funasr-runtime-sdk-online-cpu的dockerfile,请问有对应的文件吗?

Activity

  1. LauraGPT commented on May 23, 2026

    @LauraGPT
    Collaborator

    在线流式服务的 Dockerfile 在:

    runtime/dockerfile/Dockerfile.online.cpu
    

    或者直接拉取预构建镜像:

    docker pull registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-online-cpu-0.1.12

    参考文档:runtime/readme.md

  2. Cui0526 commented on Aug 14, 2026

    @Cui0526

    runtime/dockerfile/Dockerfile.online.cpu 这个文件能给个地址吗 源码工程没看到

  3. LauraGPT commented on Aug 29, 2026

    @LauraGPT
    Collaborator

    重新打开。之前给出的 runtime/dockerfile/Dockerfile.online.cpu 路径在当前 main 中并不存在,后续用户也已明确反馈找不到文件,所以原先的关闭结论和 completed 状态不成立。

    我们会把“可从源码构建 online CPU runtime”的实际入口、对应镜像 tag 和版本边界核对清楚后再处理状态。在此之前保持打开;也请补充你要构建的是 2-pass WebSocket online runtime 还是 Python realtime service,以便给出准确 Dockerfile,而不是再给一个失效路径。

  4. LauraGPT commented on Aug 30, 2026

    @LauraGPT
    Collaborator

    源码构建入口现在已经补齐,并且这次同时验证了 PR head 和合并后的 exact main,不再只给一个未经验证的路径。

    • 修复 PR:#3582
    • PR exact head:144d2db5f1b34c164f48c45ccb7f944b7e656400
    • PR 构建 run:33328864241 — source image build 与容器内 server smoke test 均成功
    • exact merge/main commit:3df326b5d88ff3a46b5835307f514983f3d2d474
    • exact-main run:33332088116 — Build source image 与 Smoke test linked server 均成功

    请用下面的精确提交复测源码构建:

    git clone https://github.com/modelscope/FunASR.git
    cd FunASR
    git checkout 3df326b5d88ff3a46b5835307f514983f3d2d474
    
    docker build --progress=plain \
      -f runtime/dockerfile/Dockerfile.online.cpu \
      -t funasr-online-cpu:3df326b5 .
    
    docker run --rm \
      --entrypoint /workspace/FunASR/runtime/websocket/build/bin/funasr-wss-server-2pass \
      funasr-online-cpu:3df326b5 \
      --help

    Dockerfile 的准确路径是:

    runtime/dockerfile/Dockerfile.online.cpu
    

    这条路径面向 C++ 2-pass WebSocket online CPU runtime;如果你实际需要的是 Python realtime_ws.py 服务,请回复具体入口,我会把两种部署路径分开说明,避免再次混淆。

    issue 继续保持 open / needs feedback。请回传 docker build 的最后部分输出,以及容器内 --help 是否成功;不会因为 CI 通过就直接关闭。

  5. added
    needs feedbackWaiting for reporter feedback or retest results
    and removed
    needs triageNeeds maintainer triage and routing
    on Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs feedbackWaiting for reporter feedback or retest resultsquestionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions