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

Remove zero initialization for adaln_zero_gamma_linear #303

Closed
wants to merge 1 commit into from

Conversation

amorehead
Copy link
Contributor

@amorehead amorehead commented Oct 3, 2024

Zero initialization here differs from the paper (as shown below) and also prevents any non-zero gradients from being associated with adaln_zero_gamma_linear (since the gradient of a constant bias with no associated weights - i.e., -2.0 is 0.0).
image

@amorehead amorehead changed the title Update alphafold3.py Remove zero initialization for adaln_zero_gamma_linear Oct 3, 2024
@amorehead amorehead closed this Oct 3, 2024
@amorehead amorehead deleted the patch-1 branch October 3, 2024 21:09
@amorehead
Copy link
Contributor Author

Will re-investigate locally

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