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

Multi-GPU support in embeddings.py #27

Open
staszekdh opened this issue Nov 8, 2023 · 3 comments · Fixed by #8
Open

Multi-GPU support in embeddings.py #27

staszekdh opened this issue Nov 8, 2023 · 3 comments · Fixed by #8
Assignees
Labels
bug Something isn't working

Comments

@staszekdh
Copy link
Member

python embeddings.py start data_set_fullseq.fasta data_set_fullseq -embedder pt --gpu -bs 0

When run as above, everything works fine. However, if I use the -nproc 2 flag, the computations are much faster, but the resulting database file contains embeddings for only half of the input sequences.

@staszekdh staszekdh added the bug Something isn't working label Nov 8, 2023
@Argusmocny
Copy link
Contributor

-nproc will only work correctly when asdir or h5py option is specified, this should be validated before actual run

@jludwiczak
Copy link
Member

I've stumbled upon this too - there are also 2 overlapping progress bars shown as I recall.
Additionally there's a typo in README that I've followed at that time: https://github.com/labstructbioinf/pLM-BLAST/blob/main/README.md?plain=1#L64

@staszekdh
Copy link
Member Author

Yes, the progress bars looked weird (one was updating during the calculations and the other was stuck at 20%).

@Argusmocny Argusmocny linked a pull request Nov 14, 2023 that will close this issue
Merged
@Argusmocny Argusmocny self-assigned this Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants