PaddlePaddle / PaddlePaddle/FastDeploy

FastDeploy服务化部署,服务启动失败

Open
#2,003 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
3.7k
Forks
756
Avg merge
19h 28m
Merged PRs (30d)
4

Description

环境

  • 【FastDeploy版本】: paddlepaddle/fastdeploy:0.6.0-cpu-only-21.10

  • 【编译命令】直接下载的docker镜像

  • 【系统平台】: Linux x64

  • 【硬件】: CPU

  • 【启动服务时出错】

    • 执行命令“fastdeployserver --model-repository=/serving/models”出现以下错误:
      W0530 07:35:33.065839 152 model_lifecycle.cc:107] ignore version directory '.ipynb_checkpoints' which fails to convert to integral number
      I0530 07:35:33.065931 152 model_lifecycle.cc:459] loading: postprocess:1
      I0530 07:35:33.066111 152 model_lifecycle.cc:459] loading: preprocess:1
      W0530 07:35:33.066222 152 model_lifecycle.cc:107] ignore version directory '.ipynb_checkpoints' which fails to convert to integral number
      I0530 07:35:33.066271 152 model_lifecycle.cc:459] loading: runtime:1
      I0530 07:35:33.346340 178 pb_stub.cc:245] Failed to initialize Python stub for auto-complete: RuntimeError: FastDeploy initalized failed!
  • E0530 07:35:33.355016 152 model_lifecycle.cc:596] failed to load 'postprocess' version 1: Internal: RuntimeError: FastDeploy initalized failed!

  • I0530 07:35:33.601141 195 pb_stub.cc:245] Failed to initialize Python stub for auto-complete: RuntimeError: FastDeploy initalized failed!

  • E0530 07:35:33.609669 152 model_lifecycle.cc:596] failed to load 'preprocess' version 1: Internal: RuntimeError: FastDeploy initalized failed!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with the paddlepaddle/fastdeploy:0.6.0-cpu-only-21.10 image and the fastdeployserver --model-repository=/serving/models command. Start by reading the model_lifecycle.cc and pb_stub.cc log locations, then determine why FastDeploy initialization fails for postprocess and preprocess. Done means the service starts and the listed models load successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
backend, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.