Skip to content

bfloat16 support for monomer models#930

Open
oliverdutton wants to merge 1 commit intogoogle-deepmind:mainfrom
oliverdutton:bfloat16_monomer
Open

bfloat16 support for monomer models#930
oliverdutton wants to merge 1 commit intogoogle-deepmind:mainfrom
oliverdutton:bfloat16_monomer

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