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

Can't find CUDA when I use CUDA10 #627

Closed
gongweibao opened this issue Jun 1, 2020 · 10 comments
Closed

Can't find CUDA when I use CUDA10 #627

gongweibao opened this issue Jun 1, 2020 · 10 comments
Assignees

Comments

@gongweibao
Copy link
Contributor

when I use CUDA10, it reports that serving can't find CUDA and I use CUDA 9 resolve it!

@github-actions
Copy link

github-actions bot commented Jun 1, 2020

Message that will be displayed on users' first issue

@barrierye
Copy link
Contributor

CUDA9 is used by default for Paddle Serving.
If you need CUDA10, you can compile it from source.

@gongweibao
Copy link
Contributor Author

Why not just release CUDA-9.0, CUDA-10.0 version's wheel package?

@barrierye
Copy link
Contributor

We will consider release CUDA9 and CUDA10 version later.

@guru4elephant
Copy link
Member

will release in 0.4.0

@sevenold
Copy link

@guru4elephant

example: https://github.com/PaddlePaddle/Serving/tree/develop/python/examples/ocr

paddle-serving-app        0.1.1                    pypi_0    pypi
paddle-serving-client     0.3.1                    pypi_0    pypi
paddle-serving-server     0.3.1                    pypi_0    pypi
paddle-serving-server-gpu 0.3.1                    pypi_0    pypi
paddlepaddle-gpu          1.8.3.post97             pypi_0    pypi

image

@barrierye
Copy link
Contributor

barrierye commented Jul 24, 2020

Please run ldd <PATH/TO/SERVING_BIN>| grep cudart to see the output.

By the way, CUDA10 has been supported recently. You can download CUDA10 temporary version binary file(https://paddle-serving.bj.bcebos.com/temporary_files_for_docker/serving-gpu-0.3.1.tar.gz) and use it with the
command export SERVING_BIN=<PATH/TO/CUDA10_SERVING_BIN>.

@sevenold
Copy link

  • docker image : paddlepaddle/serving:latest-cuda10.0-cudnn7
  • cudart
[root@PC models]# ldd $SERVING_BIN | grep cudart
        libcudart.so.10.0 => /usr/local/cuda-10.0/targets/x86_64-linux/lib/libcudart.so.10.0 (0x00007f215c489000)

image

@barrierye

@barrierye
Copy link
Contributor

Please check nvidia devices by ls /dev/ | grep nvidia

@iceriver97
Copy link

您好,在AIstudio上运行Serving的相关项目也需要更改CUDA的版本吗?

@paddle-bot paddle-bot bot closed this as completed Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants