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

安装高性能插件时报错 #3565

Open
wangwenqi567 opened this issue Mar 10, 2025 · 6 comments
Open

安装高性能插件时报错 #3565

wangwenqi567 opened this issue Mar 10, 2025 · 6 comments
Assignees

Comments

@wangwenqi567
Copy link

用docker 从镜像中启动容器
docker run --gpus all --name pp-layout -v $PWD:/paddle --shm-size=8G --network=host -it paddlex:paddlex3.0.0rc0-paddlepaddle3.0.0rc0-gpu-cuda11.8-cudnn8.6-trt8.5 /bin/bash
安装高性能插件时报错
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
paddlepaddle-gpu 3.0.0rc1 requires nvidia-cublas-cu11==11.11.3.6; platform_system == "Linux" and platform_machine == "x86_64", which is not installed.
paddlepaddle-gpu 3.0.0rc1 requires nvidia-cuda-cupti-cu11==11.8.87; platform_system == "Linux" and platform_machine == "x86_64", which is not installed.
paddlepaddle-gpu 3.0.0rc1 requires nvidia-cuda-nvrtc-cu11==11.8.89; platform_system == "Linux" and platform_machine == "x86_64", which is not installed.
paddlepaddle-gpu 3.0.0rc1 requires nvidia-cuda-runtime-cu11==11.8.89; platform_system == "Linux" and platform_machine == "x86_64", which is not installed.
paddlepaddle-gpu 3.0.0rc1 requires nvidia-cudnn-cu11==8.9.6.50; platform_system == "Linux" and platform_machine == "x86_64", which is not installed.
paddlepaddle-gpu 3.0.0rc1 requires nvidia-cufft-cu11==10.9.0.58; platform_system == "Linux" and platform_machine == "x86_64", which is not installed.
paddlepaddle-gpu 3.0.0rc1 requires nvidia-curand-cu11==10.3.0.86; platform_system == "Linux" and platform_machine == "x86_64", which is not installed.
paddlepaddle-gpu 3.0.0rc1 requires nvidia-cusolver-cu11==11.4.1.48; platform_system == "Linux" and platform_machine == "x86_64", which is not installed.
paddlepaddle-gpu 3.0.0rc1 requires nvidia-cusparse-cu11==11.7.5.86; platform_system == "Linux" and platform_machine == "x86_64", which is not installed.
paddlepaddle-gpu 3.0.0rc1 requires nvidia-nccl-cu11==2.19.3; platform_system == "Linux" and platform_machine == "x86_64", which is not installed.
paddlepaddle-gpu 3.0.0rc1 requires nvidia-nvtx-cu11==11.8.86; platform_system == "Linux" and platform_machine == "x86_64", which is not installed.
paddle3d 0.0.0 requires opencv-python-headless<=4.6.0.66, but you have opencv-python-headless 4.11.0.86 which is incompatible.
paddlex 3.0.0rc0 requires opencv-python-headless==4.10.0.84, but you have opencv-python-headless 4.11.0.86 which is incompatible.
想请教一下原因是什么
但是高性能插件使用版面检测模型时又是可以运行的,为什么会有依赖冲突

@zhangyubo0722
Copy link
Collaborator

运行的命令是什么呢

@wangwenqi567
Copy link
Author

pip install paddlex_hpi-3.0.0rc0-py3-none-any.whl
pip install ultra_infer_gpu_python-1.0.0.3.0.0rc0-cp310-cp310-linux_x86_64.whl
下载完ultra_infer_gpu_python-1.0.0.3.0.0rc0-cp310-cp310-linux_x86_64.whl这个轮子就报错上面的内容

@zhangyubo0722
Copy link
Collaborator

这种依赖冲突并不影响代码运行,在安装时确实会有这种情况

@wangwenqi567
Copy link
Author

这个想请教一下是肯定会出现的依赖冲突情况吗,有没有解决的思路吗,谢谢

@zhangyubo0722
Copy link
Collaborator

如果在一个全新的环境中会有依赖冲突吗

@wangwenqi567
Copy link
Author

都会有,暂时好像避免不了,除非不开高性能推理

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