Skip to content

[QUERY] How to stop torch-mlir from decomposing certain ops when using torch dynamo #3953

Open
@Abhishek-TyRnT

Description

When I was torchscript.compile, there is a argument backend_legal_ops which optionally stops torch-mlir from decomposing certain aten ops. But I couldn't find something similar when using fx.import_and_export. If there is someone please help how to do it.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions