Skip to content

[Feature Request] Batch inference/representations #324

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

Open
joseacitores opened this issue Mar 6, 2025 · 2 comments
Open

[Feature Request] Batch inference/representations #324

joseacitores opened this issue Mar 6, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@joseacitores
Copy link

Summary

Having batch inference/representations would allow faster compute for any large scale project

Detailed Description

Hello!
I am working on a large scale molecule project and have been using Uni-Mol representations, I am implementing a larger batch size for the representation from tools, but I believe you know the architecture better than me, is this something you are working on/ think of implementing in the near future?
Thank you!

Further Information, Files, and Links

No response

@joseacitores joseacitores added the enhancement New feature or request label Mar 6, 2025
@joseacitores joseacitores changed the title [Feature Request] _Batch inference/representations_ [Feature Request] Batch inference/representations Mar 6, 2025
@mahdip72
Copy link

mahdip72 commented Mar 7, 2025

I am looking for the same thing. Like a maximum length argument to make batch processing possible.

@emotionor
Copy link
Collaborator

Thank you for your suggestion!
It's a great idea to enable batch inference/representations for large-scale projects. In our earlier code, the inference batch size was fixed at 32, and this has remained the case until now.
We plan to open up this API in the near future to allow more flexibility. Additionally, we will also be adding support for DDP (Distributed Data Parallel) for inference, which should further enhance performance for large-scale tasks.
Stay tuned for these updates!

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

3 participants