Skip to content

Delete four deletion-eligible ALBEF embedding tests - #551

Closed
twmoveon wants to merge 1 commit into
facebookresearch:mainfrom
twmoveon:export-D114397069
Closed

Delete four deletion-eligible ALBEF embedding tests#551
twmoveon wants to merge 1 commit into
facebookresearch:mainfrom
twmoveon:export-D114397069

Conversation

@twmoveon

@twmoveon twmoveon commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary:
Oncall test cleanup for the stl_multimodal rotation. TestX flags these four
tests in tests/models/albef/test_albef.py as eligible for deletion — all sit
in DISABLED_FAILING trunk state with open FAILURE issues, well past the
60-day zero-value threshold:

  • test_albef_image_embeddings (844425197297248, 844425197101365)
  • test_albef_image_embeddings_momentum (562950220612232, 844425197101313)
  • test_albef_multimodal_embeddings (844425197297177, 844425197101408)
  • test_albef_multimodal_embeddings_momentum (562950220612287, 281475243658978)

Each asserted a hard-coded 2x2x3 activation tensor to atol=1e-4 against a
seeded forward pass — golden values that drift whenever RNG or kernel behavior
changes underneath them. Re-baselining numbers nobody has validated since they
broke would restore a green signal without restoring any real assurance, so
they are deleted instead.

The albef_model_output fixture and the surrounding tests are untouched:
test_albef_text_embeddings and test_albef_text_embeddings_momentum still
exercise the same forward pass, and test_similarity, test_neg_embeddings,
test_dequeue_and_enqueue, test_momentum_update, and
test_copy_params_momentum_models still cover ALBEFModelWithSimilarity.

Differential Revision: D114397069

Summary:
Oncall test cleanup for the `stl_multimodal` rotation. TestX flags these four
tests in `tests/models/albef/test_albef.py` as eligible for deletion — all sit
in `DISABLED_FAILING` trunk state with open `FAILURE` issues, well past the
60-day zero-value threshold:

- `test_albef_image_embeddings` (`844425197297248`, `844425197101365`)
- `test_albef_image_embeddings_momentum` (`562950220612232`, `844425197101313`)
- `test_albef_multimodal_embeddings` (`844425197297177`, `844425197101408`)
- `test_albef_multimodal_embeddings_momentum` (`562950220612287`, `281475243658978`)

Each asserted a hard-coded 2x2x3 activation tensor to `atol=1e-4` against a
seeded forward pass — golden values that drift whenever RNG or kernel behavior
changes underneath them. Re-baselining numbers nobody has validated since they
broke would restore a green signal without restoring any real assurance, so
they are deleted instead.

The `albef_model_output` fixture and the surrounding tests are untouched:
`test_albef_text_embeddings` and `test_albef_text_embeddings_momentum` still
exercise the same forward pass, and `test_similarity`, `test_neg_embeddings`,
`test_dequeue_and_enqueue`, `test_momentum_update`, and
`test_copy_params_momentum_models` still cover `ALBEFModelWithSimilarity`.

Differential Revision: D114397069
@meta-codesync

meta-codesync Bot commented Aug 3, 2026

Copy link
Copy Markdown

@twmoveon has exported this pull request. If you are a Meta employee, you can view the originating Diff in D114397069.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 3, 2026
@meta-codesync meta-codesync Bot closed this in 56b552d Aug 3, 2026
@meta-codesync

meta-codesync Bot commented Aug 3, 2026

Copy link
Copy Markdown

This pull request has been merged in 56b552d.

@meta-codesync meta-codesync Bot added the Merged label Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant