Skip to content

TEST: audit uses of maybeWarnsRegex #52025

@mattip

Description

@mattip

Follow on for #47624, which created an assertWarnsOnceRegex context manager to test C-level TORCH_WARN_ONCE. All the places that currently use maybeWarnsRegex should be replaced with the assrtWarnsOnceRegex, and any untested TORCH_WARN_ONCE code should be covered by a test.

cc @mruberry @VitalyFedyunin @walterddr

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: testsIssues related to tests (not the torch.testing module)triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions