Skip to content

[Testcase Refactoring] Remove test_multi_threaded_pg from the TEST_LINTER allowlist - #202866

Closed
twthighd wants to merge 1 commit into
pytorch:mainfrom
twthighd:test/linter-allowlist-multi-threaded-pg
Closed

twthighd wants to merge 1 commit into
pytorch:mainfrom
twthighd:test/linter-allowlist-multi-threaded-pg

Conversation

@twthighd

Copy link
Copy Markdown
Contributor

Summary

test/distributed/test_multi_threaded_pg.py was migrated to the TEST_LINTER's requirements by #191905 (hw_classification on every test class, device-type instantiation for the device-dependent class), but that PR landed after the allowlist's last regeneration, leaving a stale exemption in place. Drop the entry so the linter enforces its requirements on future changes to this file.

Changes

  • tools/linter/adapters/test_linter_allowlist.json: removed the single test/distributed/test_multi_threaded_pg.py entry.

Test Plan

  • python3 -m json.tool on the edited allowlist: valid JSON.
  • From the repo root, a fresh process: python3 tools/linter/adapters/test_linter.py tools/linter/adapters/test_linter_allowlist.json — passing the allowlist file re-checks every test file, the same full run lintrunner triggers in CI (the allowlist JSON matches TEST_LINTER's include patterns). Result: exit code 0, zero lint messages on stdout, empty stderr — the now-unexempted file passes and no other file regressed.

Notes

  • The file's compliance is structural, per the adapter's own rules: all four test classes declare hw_classification (3 GENERIC + 1 ACCELERATOR); the shared _TestCollectivesBase defines no test methods, so it is not a test class under the linter's definition; the ACCELERATOR class is instantiated via instantiate_device_type_tests with allow_xpu=True and no only_for, its two test methods take a device parameter, and its only @only* decorator is @onlyAccelerator.
  • This is part of the test case refactoring initiative tracked in [Test] PyTorch Test Case Refactoring and Track #185590.

…NTER allowlist

Summary:
- The file was migrated in pytorch#191905: every test class declares
  hw_classification, the device-dependent class is instantiated via
  instantiate_device_type_tests without only_for, and the shared base
  class defines no test methods, so it satisfies the linter's
  requirements. Drop the allowlist exemption so the linter enforces
  them on future changes to this file.

This closes the follow-up left by the migration PR, which labeled the
file but kept the exemption in place.
@pytorch-bot

pytorch-bot Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

PR Status: missing actionable issue

Auto PR Triage did not find either of the following when it checked this PR:

  • a linked issue labeled actionable (Fixes #<issue> or Part of #<issue>); or
  • a maintainer named in the description who agreed to the change (Supported by @<maintainer>).

Such PRs are a low priority for maintainers to review and might not get a response given the very high volume of PRs we receive. Please focus on actionable issues to ensure a maintainer will be available to review your PR.

If one of these applies, add the matching line to the PR description. If there is no actionable issue for this change yet, you can open one (or comment on an existing one) and wait for a maintainer to label it actionable. Then ask a maintainer to triage the PR again: they remove the triaged, bot-triaged, and missing actionable issue labels, then remove and re-add open source.

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/202866

Note: Links to docs will display an error until the docs builds have been completed.

⚠️ 5 Awaiting Approval

As of commit abb902d with merge base 97d0fc0 (image):

AWAITING APPROVAL - The following workflows need approval before CI can run:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot Bot added the topic: not user facing topic category label Oct 31, 2026
@twthighd

Copy link
Copy Markdown
Contributor Author

@pytorchbot label "module: tests/distributed"

@pytorch-bot pytorch-bot Bot added the module: tests/distributed This label covers all test cases within the Distributed sheet. label Oct 31, 2026
@twthighd
twthighd marked this pull request as ready for review October 31, 2026 02:27
@github-actions github-actions Bot added bot-triaged This is a label only to be used by the auto triage bot missing actionable issue A PR without a linked actionable issue or maintainer sponsor triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module labels Oct 31, 2026
twthighd added a commit to twthighd/pytorch that referenced this pull request Oct 31, 2026
…TER allowlist

Summary:
- This PR migrates test/distributed/test_c10d_torchcomms.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Oct 31, 2026
…llowlist

Summary:
- This PR migrates test/distributed/fsdp/test_fsdp_apply.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Oct 31, 2026
…LINTER allowlist

Summary:
- This PR migrates test/distributed/fsdp/test_checkpoint_wrapper.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Oct 31, 2026
…TER allowlist

Summary:
- This PR migrates test/distributed/fsdp/test_fsdp_checkpoint.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Oct 31, 2026
…lowlist

Summary:
- This PR migrates test/distributed/fsdp/test_fsdp_core.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Oct 31, 2026
… allowlist

Summary:
- This PR migrates test/distributed/test_shmem_triton.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Oct 31, 2026
…wlist

Summary:
- This PR migrates test/distributed/test_fake_pg.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Oct 31, 2026
… TEST_LINTER allowlist

Summary:
- This PR migrates test/distributed/test_functional_differentials.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Oct 31, 2026
…EST_LINTER allowlist

Summary:
- This PR migrates test/distributed/test_c10d_functional_native.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
@twthighd twthighd closed this Oct 31, 2026
twthighd added a commit to twthighd/pytorch that referenced this pull request Oct 31, 2026
…_LINTER allowlist

Summary:
- This PR migrates test/distributed/fsdp/test_fsdp_clip_grad_norm.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Oct 31, 2026
…TEST_LINTER allowlist

Summary:
- This PR migrates test/distributed/test_c10d_object_collectives.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Oct 31, 2026
… allowlist

Summary:
- This PR migrates test/distributed/test_c10d_spawn_gloo.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Oct 31, 2026
…EST_LINTER allowlist

Summary:
- This PR migrates test/distributed/fsdp/test_fsdp_backward_prefetch.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Nov 4, 2026
…TER allowlist

Summary:
- This PR migrates test/distributed/fsdp/test_fsdp_checkpoint.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Nov 9, 2026
…EST_LINTER allowlist

Summary:
- This PR migrates test/distributed/fsdp/test_fsdp_backward_prefetch.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Nov 9, 2026
…_LINTER allowlist

Summary:
- This PR migrates test/distributed/fsdp/test_fsdp_clip_grad_norm.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Nov 9, 2026
… allowlist

Summary:
- This PR migrates test/distributed/test_shmem_triton.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Nov 13, 2026
…_LINTER allowlist

Summary:
- This PR migrates test/distributed/fsdp/test_fsdp_clip_grad_norm.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Nov 16, 2026
…llowlist

Summary:
- This PR migrates test/distributed/fsdp/test_fsdp_apply.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Nov 16, 2026
… allowlist

Summary:
- This PR migrates test/distributed/test_shmem_triton.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Nov 18, 2026
…EST_LINTER allowlist

Summary:
- This PR migrates test/distributed/test_c10d_functional_native.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Nov 23, 2026
…wlist

Summary:
- This PR migrates test/distributed/test_fake_pg.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Nov 23, 2026
… TEST_LINTER allowlist

Summary:
- This PR migrates test/distributed/test_functional_differentials.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
pytorchmergebot pushed a commit to twthighd/pytorch that referenced this pull request Nov 25, 2026
…LINTER allowlist

Summary:
- This PR migrates test/distributed/fsdp/test_checkpoint_wrapper.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Nov 26, 2026
…TEST_LINTER allowlist

Summary:
- This PR migrates test/distributed/test_c10d_object_collectives.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Nov 27, 2026
… allowlist

Summary:
- This PR migrates test/distributed/test_shmem_triton.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Nov 27, 2026
…lowlist

Summary:
- This PR migrates test/distributed/fsdp/test_fsdp_core.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Nov 27, 2026
…llowlist

Summary:
- This PR migrates test/distributed/fsdp/test_fsdp_apply.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Dec 2, 2026
…lowlist

Summary:
- This PR migrates test/distributed/fsdp/test_fsdp_core.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Dec 3, 2026
…wlist

Summary:
- This PR migrates test/distributed/test_fake_pg.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Dec 3, 2026
…EST_LINTER allowlist

Summary:
- This PR migrates test/distributed/test_c10d_functional_native.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Dec 3, 2026
…llowlist

Summary:
- This PR migrates test/distributed/fsdp/test_fsdp_apply.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Dec 3, 2026
…lowlist

Summary:
- This PR migrates test/distributed/fsdp/test_fsdp_core.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Dec 3, 2026
…TEST_LINTER allowlist

Summary:
- This PR migrates test/distributed/test_c10d_object_collectives.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.
twthighd added a commit to twthighd/pytorch that referenced this pull request Dec 4, 2026
…_LINTER allowlist

Summary:
- This PR migrates test/distributed/fsdp/test_fsdp_clip_grad_norm.py to the TEST_LINTER's
  requirements (hw_classification on every test class plus the per-classification
  structure rules), and the file currently sits in test_linter_allowlist.json.
  Drop its one-line entry in the same PR: the allowlist is a regenerated snapshot
  of non-compliant files, and a migration landing without the deletion leaves a
  silently-stale exemption (canonical: pytorch#191905 needed the follow-up pytorch#202866).

This lets the linter enforce its requirements on future changes to this file
as part of the same change, instead of a separate cleanup PR later.

This branch was previously deployed

1 inactive deployment
bedrock — abb902d5 Deployed Oct 31, 2026 by pytorchbot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot-triaged This is a label only to be used by the auto triage bot missing actionable issue A PR without a linked actionable issue or maintainer sponsor module: tests/distributed This label covers all test cases within the Distributed sheet. open source topic: not user facing topic category triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants