Remove attentions from TransformerOutput and stop computing attention weights in FLAVA#535
Open
stashuk-olek wants to merge 1 commit into
Open
Remove attentions from TransformerOutput and stop computing attention weights in FLAVA#535stashuk-olek wants to merge 1 commit into
stashuk-olek wants to merge 1 commit into
Conversation
|
@stashuk-olek has exported this pull request. If you are a Meta employee, you can view the originating Diff in D92927086. |
7a54c92 to
aee4101
Compare
stashuk-olek
added a commit
to stashuk-olek/multimodal
that referenced
this pull request
Feb 12, 2026
… weights in FLAVA (facebookresearch#535) Summary: The `attentions` field on `TransformerOutput` and `return_attn_weights`/`head_mask` parameters in the FLAVA encoder stack were never used by any consumer. This diffs cleans it up. Later the intent is to simplify attention usage / use common API for them. Differential Revision: D92927086
aee4101 to
2ff615a
Compare
stashuk-olek
added a commit
to stashuk-olek/multimodal
that referenced
this pull request
Feb 12, 2026
… weights in FLAVA (facebookresearch#535) Summary: The `attentions` field on `TransformerOutput` and `return_attn_weights`/`head_mask` parameters in the FLAVA encoder stack were never used by any consumer. This diffs cleans it up. Later the intent is to simplify attention usage / use common API for them. Differential Revision: D92927086
stashuk-olek
added a commit
to stashuk-olek/multimodal
that referenced
this pull request
Feb 13, 2026
… weights in FLAVA (facebookresearch#535) Summary: The `attentions` field on `TransformerOutput` and `return_attn_weights`/`head_mask` parameters in the FLAVA encoder stack were never used by any consumer. This diffs cleans it up. Later the intent is to simplify attention usage / use common API for them. Reviewed By: OmarPavel Differential Revision: D92927086
stashuk-olek
added a commit
to stashuk-olek/multimodal
that referenced
this pull request
Feb 13, 2026
… weights in FLAVA (facebookresearch#535) Summary: The `attentions` field on `TransformerOutput` and `return_attn_weights`/`head_mask` parameters in the FLAVA encoder stack were never used by any consumer. This diffs cleans it up. Later the intent is to simplify attention usage / use common API for them. Reviewed By: OmarPavel Differential Revision: D92927086
2ff615a to
88a8cbd
Compare
stashuk-olek
added a commit
to stashuk-olek/multimodal
that referenced
this pull request
Feb 13, 2026
… weights in FLAVA (facebookresearch#535) Summary: The `attentions` field on `TransformerOutput` and `return_attn_weights`/`head_mask` parameters in the FLAVA encoder stack were never used by any consumer. This diffs cleans it up. Later the intent is to simplify attention usage / use common API for them. Reviewed By: OmarPavel Differential Revision: D92927086
stashuk-olek
added a commit
to stashuk-olek/multimodal
that referenced
this pull request
Feb 13, 2026
… weights in FLAVA (facebookresearch#535) Summary: The `attentions` field on `TransformerOutput` and `return_attn_weights`/`head_mask` parameters in the FLAVA encoder stack were never used by any consumer. This diffs cleans it up. Later the intent is to simplify attention usage / use common API for them. Reviewed By: OmarPavel Differential Revision: D92927086
stashuk-olek
added a commit
to stashuk-olek/multimodal
that referenced
this pull request
Feb 13, 2026
… weights in FLAVA (facebookresearch#535) Summary: The `attentions` field on `TransformerOutput` and `return_attn_weights`/`head_mask` parameters in the FLAVA encoder stack were never used by any consumer. This diffs cleans it up. Later the intent is to simplify attention usage / use common API for them. Reviewed By: OmarPavel Differential Revision: D92927086
stashuk-olek
added a commit
to stashuk-olek/multimodal
that referenced
this pull request
Feb 13, 2026
… weights in FLAVA (facebookresearch#535) Summary: The `attentions` field on `TransformerOutput` and `return_attn_weights`/`head_mask` parameters in the FLAVA encoder stack were never used by any consumer. This diffs cleans it up. Later the intent is to simplify attention usage / use common API for them. Reviewed By: OmarPavel Differential Revision: D92927086
stashuk-olek
added a commit
to stashuk-olek/multimodal
that referenced
this pull request
Feb 13, 2026
… weights in FLAVA (facebookresearch#535) Summary: The `attentions` field on `TransformerOutput` and `return_attn_weights`/`head_mask` parameters in the FLAVA encoder stack were never used by any consumer. This diffs cleans it up. Later the intent is to simplify attention usage / use common API for them. Reviewed By: OmarPavel Differential Revision: D92927086
88a8cbd to
d78d740
Compare
d78d740 to
a56867f
Compare
stashuk-olek
added a commit
to stashuk-olek/multimodal
that referenced
this pull request
Feb 25, 2026
… weights in FLAVA (facebookresearch#535) Summary: The `attentions` field on `TransformerOutput` and `return_attn_weights`/`head_mask` parameters in the FLAVA encoder stack were never used by any consumer. This diffs cleans it up. Later the intent is to simplify attention usage / use common API for them. Reviewed By: OmarPavel Differential Revision: D92927086
a56867f to
d4dfc62
Compare
… weights in FLAVA (facebookresearch#535) Summary: Pull Request resolved: facebookresearch#535 The `attentions` field on `TransformerOutput` and `return_attn_weights`/`head_mask` parameters in the FLAVA encoder stack were never used by any consumer. This diffs cleans it up. Later the intent is to simplify attention usage / use common API for them. Reviewed By: OmarPavel Differential Revision: D92927086
d4dfc62 to
d021530
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
The
attentionsfield onTransformerOutputandreturn_attn_weights/head_maskparameters in the FLAVA encoder stack were never used by any consumer.This diffs cleans it up. Later the intent is to simplify attention usage / use common API for them.
Differential Revision: D92927086