Skip to content

Migrating existing backend-MAIA integration toward PrivateUse1 / openReg #155864

@trajepl

Description

@trajepl

We’d like to follow up on the feedback regarding backend integration and the recommended direction of using PrivateUse1 via the open registration (openReg) mechanism.

Our team has already integrated a custom accelerator backend using the older in-tree approach. This includes a large amount of internal scaffolding — kernel registrations, memory allocator, device guards, dispatcher logic, and more — which are tightly coupled with the current PyTorch internal APIs. As a result, a full switch to PrivateUse1 is non-trivial for us in the short term.

That said, we fully agree that PrivateUse1/openReg is the right long-term path for out-of-tree device integration. We are very open to gradually migrating toward that direction and would appreciate your input on how best to plan and prioritize this work.

Ideally, we’d like to find a way to incrementally align with openReg while minimizing disruption to our current infrastructure.

cc @bdhirsh @NmomoN @mengpenghui @fwenguang @cdzhan @1274085042 @PHLens @albanD @golvok @wschin

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: PrivateUse1private usemodule: backendnon-standard backend supporttriagedThis 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