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

GPU usage #5

Open
kudpolser opened this issue Jul 20, 2021 · 2 comments
Open

GPU usage #5

kudpolser opened this issue Jul 20, 2021 · 2 comments

Comments

@kudpolser
Copy link

Dear developers,

DeepRescore does not use the GPU on our server. How do I get him to see our graphic cards?
I assume I need to pass the parameters to Docker --runtime=nvidia --NVIDIA_VISIBLE_DEVICES=all, but due to the fact that I am using nextflow, I don't understand how to do this.

Thanks in advance.

Polina

@wenbostar
Copy link
Collaborator

Have you installed https://github.com/NVIDIA/nvidia-docker?

Bo

@nukaemon
Copy link

nukaemon commented Sep 8, 2021

Hello @kudpolser

I encountered with the same problem when running on AWS server.
Add '--gpus all' to nextflow.config like as

docker {

        enabled    = true
        remove     = true
        runOptions = '-u $(id -u):$(id -g) --gpus all'
        temp       = "/tmp/"
}

then you should pass train_autoRT process.

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

3 participants