Skip to content

[Question] Kindly ask for metal example. #281

@oraluben

Description

@oraluben

This is related to #255.

I'm trying to migrate a torch extension for mps backend to tvm-ffi and have met various issue, mainly the internal metal context management not exposed by torch.

I saw many code in tvm-ffi involves metal logic so I'd like to know if you have some working example of writing (or loading) metal kernel with tvm-ffi.

Here's a very simple torch extension that I'm trying to get started with: https://gist.github.com/oraluben/9f4834ba13b32090967d86babbc72389

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions