Skip to content

Extend OpInfo tests to automatically validate noncontiguous inputs #63341

@mruberry

Description

@mruberry

The great majority of PyTorch's operators are supposed to work with both contiguous and noncontiguous tensors, and valid noncontiguous inputs can be generated from an operator's sample inputs. Doing so would increase test coverage and prevent developers having to worry about writing contiguous AND noncontiguous sample inputs.

When doing this we should consider the impact on test time.

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