PaddlePaddle / PaddlePaddle/FastDeploy

Using celery is very slow

Open
#2,494 0 comments 0 reactions 1 assignee View on GitHub

@rainyfly is already working on this.

Since Jul 16, 2024.

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

Description

Environment

FastDeploy version: e.g 0.8.0 or the latest code in develop branch
OS Platform: Huawei
Hardware: Atlas300I pro
Program Language: Python 3.9

fastdeploy-python 0.0.0
fastdeploy-tools 0.0.5

d919468e04f5bb805f4be20deacabb9

Problem description

I am using celery + fastapi + fastdeploy on Huawei qilin arm64 Docker. But if I do not use celery, the inference time is 2s while 6s with celery. Does anyone know how to solve this?

ps: The time count is minimum (no redundant codes).

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.