Skip to content

A RuntimeError should be raised when input and out= tensor are on different devices for torch.{dot, vdot} #55561

@anjali411

Description

@anjali411

Reference: #55492
Failure from the OpInfo generated test for torch.{dot, vdot}
RuntimeError not raised : Expected RuntimeError when calling with input.device=cuda:0 and out.device=cpu

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: error checkingBugs related to incorrect/lacking error checkingmodule: testingIssues related to the torch.testing module (not tests)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