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

Executor doesn't support recent CUDA capabilities #13

Open
freddyheppell opened this issue Jul 19, 2022 · 1 comment
Open

Executor doesn't support recent CUDA capabilities #13

freddyheppell opened this issue Jul 19, 2022 · 1 comment

Comments

@freddyheppell
Copy link

When I try and use this executor on a compute server with an RTX 3090, I get the following warning:

executor0_1  | NVIDIA GeForce RTX 3090 with CUDA capability sm_86 is not compatible with the current PyTorch installation.
executor0_1  | The current PyTorch install supports CUDA capabilities sm_37 sm_50 sm_60 sm_70.

I'm using the latest-gpu tag of the executor, inside a Docker container, from running jina export docker-compose on this flow:

jtype: Flow
executors:
  - uses: 'jinahub+docker://TransformerTorchEncoder/latest-gpu'
    uses_with:
      pretrained_model_name_or_path: 'sentence-transformers/distiluse-base-multilingual-cased-v2'
      device: cuda
    gpus: 1
@samsja
Copy link
Contributor

samsja commented Jul 19, 2022

This is a known issue with pytorch and the rtx 3090 : https://discuss.pytorch.org/t/geforce-rtx-3090-with-cuda-capability-sm-86-is-not-compatible-with-the-current-pytorch-installation/123499?u=samsja

Unfortunately we build our docker image with the default pytorch version that is available on pypi and which is incompatible with the rtx 3090. This version being the one which is compatible for most of the people with have to stick with it.

In your case, unfortunately, the only current solution is to build the docker image for the TransformerTorchEncoder yourself.

You can follow these steps

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