PaddlePaddle / PaddlePaddle/FastDeploy

FastDeploy对PaddlePaddle版本的依赖问题

Open
#5,990 3 comments 0 reactions 1 assignee View on GitHub

@juncaipeng is already working on this.

Since Jan 12, 2026.

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

Description

当我们尝试在PaddlePaddle 3.2.2运行FastDeploy最新代码时,发现两个PaddlePaddle版本的依赖问题
第一个是:paddle.compat
https://github.com/PaddlePaddle/FastDeploy/blob/develop/fastdeploy/__init__.py#L52

Image

会导致如下错误
Image

第二个是:swiglu,而且因为在attention的__init__.py中import所有的backend,导致一个硬件的代码依赖问题对整个FD都有影响

https://github.com/PaddlePaddle/FastDeploy/blob/develop/fastdeploy/model_executor/ops/iluvatar/moe_ops.py#L20

Image

会导致如下错误
Image

因为Nightly build更新太快且存在bug不够稳定,期望可以解决这些依赖问题,使得FastDeploy最新的代码在PaddlePaddle 3.2.2上也可以工作

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.