Skip to content

Support PyTorch custom ops when they have meta functions (also autograd) #1123

@t-vi

Description

@t-vi

PyTorch allows to register meta functions with custom ops
With that information, we should be able to apply the fallback mechanism that @kiya00 developed for PyTorch operations in thunder.

https://pytorch.org/docs/stable/library.html

There also is support for registering backward rules, which might also be of interest.

cc @apaz-cli

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions