Skip to content

[functionalization] functional tensors fail on torch.lstm #90573

@davidberard98

Description

@davidberard98

🐛 Describe the bug

Minimal repro & logs

torch.lstm fails here due to a mismatch between device type between the tensor.options() and torch.storage().

This issue occurs when running torch.lstm (specifically, demucs model from torchbench) with aot_eager backend in dynamo.

Versions

master branch

cc @bdhirsh @ezyang @soumith

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: functionalizationused for issues that are specific to functionalization (AOTAutograd bugs should start w aotdispatch)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