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

Docker 内安装高性能插件失败 #3428

Open
4 tasks done
yeliulee opened this issue Feb 20, 2025 · 3 comments
Open
4 tasks done

Docker 内安装高性能插件失败 #3428

yeliulee opened this issue Feb 20, 2025 · 3 comments
Assignees

Comments

@yeliulee
Copy link

yeliulee commented Feb 20, 2025

Checklist:

#3437

环境

根据官网最新 docker 安装的 paddlex

描述问题

paddlex --install hpi-cpu

安装高性能插件失败

疑似是 PR #3422 更新后,但是 docker 镜像内未使用最新 paddlex 导致的

报错如下

λ ca6bb1981fd9 ~/PaddleX paddlex --install hpi-cpu
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Looking in links: https://github.com/PaddlePaddle/PaddleX/blob/develop/docs/pipeline_deploy/high_performance_inference.md
ERROR: Could not find a version that satisfies the requirement ultra_infer_python (from versions: none)
ERROR: No matching distribution found for ultra_infer_python
Traceback (most recent call last):
  File "/usr/local/bin/paddlex", line 8, in <module>
    sys.exit(console_entry())
  File "/root/PaddleX/paddlex/__main__.py", line 26, in console_entry
    main()
  File "/root/PaddleX/paddlex/paddlex_cli.py", line 424, in main
    install(args)
  File "/root/PaddleX/paddlex/paddlex_cli.py", line 280, in install
    _install_hpi_deps(device_type=device_type)
  File "/root/PaddleX/paddlex/paddlex_cli.py", line 233, in _install_hpi_deps
    return subprocess.check_call(
  File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3.10', '-m', 'pip', 'install', 'ultra_infer_python', 'paddlex_hpi', '--find-links', 'https://github.com/PaddlePaddle/PaddleX/blob/develop/docs/pipeline_deploy/high_performance_inference.md']' returned non-zero exit status 1.

复现

paddlex --install hpi-cpu
@Bobholamovic
Copy link
Member

你好,当前镜像中的paddlex代码可能存在问题,我们正在重新构建镜像中,一个临时的解决办法是拉取paddlex release/3.0-rc分支的最新代码~

@yeliulee
Copy link
Author

#3428 (comment)

好的,目前正是这么做的,期待镜像更新哦

@changdazhou
Copy link
Collaborator

changdazhou commented Feb 21, 2025 via email

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

3 participants