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

FEATURE REQUEST: Use GPUs for tasks that can utilise them. #58

Open
darcyabjones opened this issue Nov 18, 2021 · 1 comment
Open

FEATURE REQUEST: Use GPUs for tasks that can utilise them. #58

darcyabjones opened this issue Nov 18, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@darcyabjones
Copy link
Member

SignalP6 is very slow on CPU but reasonably quick on GPU.

Others like deepredeff, deepsig, deeploc, and signalp5 aren't prohibitively slow on CPU, but should be able to be sped up with a GPU.

This would probably require a separate install environment using GPU variants of deep-learning tools.
We'd also need to find a good way to make this customisable with configuration. I'm thinking that instead of a cpu_small kind of label, introduce a gpu_task label. In CPU environments set this to X-many cpus. In a GPU environment set this to use the GPU.

Could be a pain, but signalp6 is really slow without it, making it impractical to run for more than a few thousand proteins.

@darcyabjones darcyabjones added the enhancement New feature or request label Nov 18, 2021
@darcyabjones
Copy link
Member Author

Note, that Signalp6 can be sped up quite a lot simply by increasing the minibatch size. with the --bsize argument.
The default if 10 is super un-necessarily conservative. Especially for CPUs.
Bumping it up to 64 roughly triples speed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant