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

AssertionError: Not compiled with CUDA #96

Open
twwch opened this issue Apr 24, 2023 · 1 comment
Open

AssertionError: Not compiled with CUDA #96

twwch opened this issue Apr 24, 2023 · 1 comment

Comments

@twwch
Copy link

twwch commented Apr 24, 2023

python3 index.py zh ../data/dureader.para test_index 出现这个错误
image

@ylf-Ng
Copy link

ylf-Ng commented May 8, 2023

可能是因为你没有cuda环境或者安装的是cpu版的paddle。可以尝试将index.py 48行的use_cuda改为False,使用cpu推理。

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