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

cuda12 err #623

Open
Hepengzhou opened this issue May 8, 2024 · 0 comments
Open

cuda12 err #623

Hepengzhou opened this issue May 8, 2024 · 0 comments

Comments

@Hepengzhou
Copy link

Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2529, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/usr/local/lib/python3.8/dist-packages/libretranslate/app.py", line 345, in time_func
return func(*a, **kw)
File "/usr/local/lib/python3.8/dist-packages/libretranslate/app.py", line 319, in func
return f(*a, **kw)
File "/usr/local/lib/python3.8/dist-packages/libretranslate/app.py", line 678, in translate
raise e
File "/usr/local/lib/python3.8/dist-packages/libretranslate/app.py", line 662, in translate
translated_text = improve_translation_formatting(q, translator.translate(q))
File "/usr/local/lib/python3.8/dist-packages/argostranslate/translate.py", line 63, in translate
return self.hypotheses(input_text, num_hypotheses=1)[0].value
File "/usr/local/lib/python3.8/dist-packages/argostranslate/translate.py", line 296, in hypotheses
translated_paragraph = self.underlying.hypotheses(
File "/usr/local/lib/python3.8/dist-packages/argostranslate/translate.py", line 167, in hypotheses
self.translator = ctranslate2.Translator(model_path, device=settings.device)
RuntimeError: CUDA failed with error forward compatibility was attempted on non supported HW

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

1 participant