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

The compilation passed, but an error was reported in test phase #823

Open
hanhanhanhanhana opened this issue Mar 28, 2023 · 2 comments
Open

Comments

@hanhanhanhanhana
Copy link

What are the problems?(screenshots or detailed error messages)

Use ./build.sh -DPPLNN_USE_CUDA=ON to compile successfully, but use ./pplnn-build/tools/pplnn --use-cuda --onnx-model tests/testdata/conv.onnx to report an error Segmentation fault (core dumped )

What are the types of GPU/CPU you are using?

GPU

What's the operating system ppl.nn runs on?

Linux

What's the compiler and its version?

nvcc version:11.0

Which version(commit id or tag) of ppl.nn is used?

7d63ace

What are the commands used to build ppl.nn?

./build.sh -DPPLNN_USE_CUDA=ON

What are the execution commands?

./pplnn-build/tools/pplnn --use-cuda --onnx-model tests/testdata/conv.onnx

minimal code snippets for reproducing these problems(if necessary)

models and inputs for reproducing these problems (send them to [email protected] if necessary)

@hanhanhanhanhana
Copy link
Author

The gpu type is p100

@jianfei-wangg
Copy link
Contributor

The gpu type is p100

pplnn only support nv-gpu with sm > 7.5 now. P100 is sm_60, so segment fault occured. We now add the arch check and reminders for unsupported gpus with OpenPPL/ppl.kernel.cuda#25

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