Skip to content

EXLA.CustomCall: expose compiler-visible operation attributes #1823

Description

@humdrum00001010

EXLA.CustomCall.Spec.attributes is emitted only as stablehlo.custom_call's opaque backend_config. Consequently, an external layout-sensitive, sharded custom call cannot express compiler-visible metadata such as operand_layouts, result_layouts, or an sdy.sharding_rule.

Would EXLA accept a generic way for Spec to attach validated top-level attributes to the emitted stablehlo.custom_call? This would keep native targets in external dependencies while allowing XLA layout assignment and Shardy to reason about them.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

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