Skip to content

Fix bf16/fp32 dtype mismatches in binder_design confidence path - #371

Open
Spongeorge wants to merge 1 commit into
Biohub:mainfrom
Spongeorge:main
Open

Fix bf16/fp32 dtype mismatches in binder_design confidence path#371
Spongeorge wants to merge 1 commit into
Biohub:mainfrom
Spongeorge:main

Conversation

@Spongeorge

Copy link
Copy Markdown

Folding with calculate_confidence=True crashes because the confidence head runs fp32 while the trunk feeds it bf16; happens in compiled trimul addmm, the head's layernorm, and numpy conversion of outputs.

folding with `calculate_confidence=True` crashes because the confidence head runs fp32 while the trunk feeds it bf16; happens in compiled trimul addmm, the head's layernorm, and numpy conversion of outputs
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