Skip to content

Finish deprecation cycle for inplace view error checks #50617

@albanD

Description

@albanD

Finish deprecation cycle for inplace view by making the warnings in this function into errors:

msg = c10::str(msg, " Given that this use case is ambiguous and error-prone, it is deprecated and will be forbidden"

cc @ezyang @albanD @zou3519 @gqchen @pearu @nikitaved @soulitzer @gchanan

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: autogradRelated to torch.autograd, and the autograd engine in generalmodule: bc-breakingRelated to a BC-breaking changetriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions