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

bfloat16 support for monomer models #930

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

oliverdutton
Copy link

@oliverdutton oliverdutton commented Apr 20, 2024

Matches the casting in multimer for monomers

Runtime speedup of ~1.8x and reduces peak memory usage ~2x (for 759 residue protein, model_5)

Here's a colab link showing runtime improvement and no significant change in prediction output by visual inspection

No effect on default usage as bfloat16 turned off.

I've checked a profile on tensorboard and there's no float32 gemms with significant runtime.

@oliverdutton oliverdutton mentioned this pull request Apr 20, 2024
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

Successfully merging this pull request may close these issues.

1 participant