Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fastdeploy import 导入期 提示 初始化失败 #1798

Closed
sanbuphy opened this issue Apr 11, 2023 · 6 comments
Closed

fastdeploy import 导入期 提示 初始化失败 #1798

sanbuphy opened this issue Apr 11, 2023 · 6 comments
Assignees

Comments

@sanbuphy
Copy link

sanbuphy commented Apr 11, 2023


温馨提示:根据社区不完全统计,按照模板提问,可以加快回复和解决问题的速度


环境

  • 【FastDeploy版本】: fastdeploy-linux-gpu-1.0.5

  • 【系统平台】: Linux x64(Ubuntu 20.04)

  • 【硬件】: 3060

  • 【编译语言】:python3.7

问题日志及出现问题的操作流程

安装fd结束后,如果不安装paddle可以正常import,
如果装了paddle(无论是2.4.2还是2.4.0,无论是gpu还是cpu),就会import期出错:(有可能遇到这两种错误)
8db913d4a2280d9ebaa436219022d64

727be60d0389da08e91d710fcf17edf

怀疑是paddleinfer相关出现冲突,不过1.0.4版本是可以正常使用的

@DefTruth
Copy link
Collaborator

目前需要升级paddle到最新版本,这个问题,我们正在优化中。

@sanbuphy
Copy link
Author

目前需要升级paddle到最新版本,这个问题,我们正在优化中。

收到,请问最新版本指的是develop吗?我试试看

@sanbuphy
Copy link
Author

刚测试了,develop也挂了,报错是:
e78c129f61871a56c589de1ada4cd7e

@DefTruth
Copy link
Collaborator

可以安装FD dev包试一下哈:

pip install fastdeploy-gpu-python==0.0.0 -f https://www.paddlepaddle.org.cn/whl/fastdeploy_nightly_build.html --no-cache

@DefTruth
Copy link
Collaborator

paddle dev安装可以运行:

python -m pip install paddlepaddle-gpu==0.0.0.post112 -f https://www.paddlepaddle.org.cn/whl/linux/gpu/develop.html --no-cache

@DefTruth DefTruth self-assigned this Apr 11, 2023
@sanbuphy
Copy link
Author

dev安装版的可以正常导入 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants