We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我第一步 运行 python index.py zh ${your_data} ${index_name} 时要报错,我把 index.py中48行的 "use_cuda": True,换成了 "use_cuda": False, 然后没有报错了 我继续运行 python rocketqa_service.py zh ${your_data} ${index_name} & 时就会报错报错如下 Traceback (most recent call last): File "rocketqa_service.py", line 160, in <module> app = create_rocketqa_app(sub_address, RocketQAServer, language, data_file, index_file) File "rocketqa_service.py", line 130, in create_rocketqa_app dual_encoder = rocketqa.load_model(**de_conf) File "D:\Anaconda\envs\python3818_0110\lib\site-packages\rocketqa\rocketqa.py", line 120, in load_model encoder = DualEncoder(**encoder_conf) File "D:\Anaconda\envs\python3818_0110\lib\site-packages\rocketqa\encoder\dual_encoder.py", line 62, in __init__ dev_list = fluid.cuda_places() File "D:\Anaconda\envs\python3818_0110\lib\site-packages\paddle\fluid\framework.py", line 769, in cuda_places assert core.is_compiled_with_cuda(), \ AssertionError: Not compiled with CUDA
python index.py zh ${your_data} ${index_name}
"use_cuda": True
"use_cuda": False
python rocketqa_service.py zh ${your_data} ${index_name} &
Traceback (most recent call last): File "rocketqa_service.py", line 160, in <module> app = create_rocketqa_app(sub_address, RocketQAServer, language, data_file, index_file) File "rocketqa_service.py", line 130, in create_rocketqa_app dual_encoder = rocketqa.load_model(**de_conf) File "D:\Anaconda\envs\python3818_0110\lib\site-packages\rocketqa\rocketqa.py", line 120, in load_model encoder = DualEncoder(**encoder_conf) File "D:\Anaconda\envs\python3818_0110\lib\site-packages\rocketqa\encoder\dual_encoder.py", line 62, in __init__ dev_list = fluid.cuda_places() File "D:\Anaconda\envs\python3818_0110\lib\site-packages\paddle\fluid\framework.py", line 769, in cuda_places assert core.is_compiled_with_cuda(), \ AssertionError: Not compiled with CUDA
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我第一步 运行
python index.py zh ${your_data} ${index_name}
时要报错,我把 index.py中48行的"use_cuda": True
,换成了"use_cuda": False
, 然后没有报错了我继续运行
python rocketqa_service.py zh ${your_data} ${index_name} &
时就会报错报错如下Traceback (most recent call last): File "rocketqa_service.py", line 160, in <module> app = create_rocketqa_app(sub_address, RocketQAServer, language, data_file, index_file) File "rocketqa_service.py", line 130, in create_rocketqa_app dual_encoder = rocketqa.load_model(**de_conf) File "D:\Anaconda\envs\python3818_0110\lib\site-packages\rocketqa\rocketqa.py", line 120, in load_model encoder = DualEncoder(**encoder_conf) File "D:\Anaconda\envs\python3818_0110\lib\site-packages\rocketqa\encoder\dual_encoder.py", line 62, in __init__ dev_list = fluid.cuda_places() File "D:\Anaconda\envs\python3818_0110\lib\site-packages\paddle\fluid\framework.py", line 769, in cuda_places assert core.is_compiled_with_cuda(), \ AssertionError: Not compiled with CUDA
The text was updated successfully, but these errors were encountered: