Skip to content

Conversation

goutamyg
Copy link

@goutamyg goutamyg commented Jul 31, 2023

For a downstream task, I see better training convergence upon normalizing both x and x_prev during the computation of cross-attention here: https://github.com/apple/ml-cvnets/blob/main/cvnets/modules/transformer.py#L258

Currently, I am conducting model training with and without the proposed normalization of x_prev and will share the results for the two cases. In the meantime, if this change makes sense, kindly include it. Let me know if you need any related info.

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