Skip to content

[REFACTOR][IR] Initialize Python Op APIs from registered namespaces - #20539

Merged
tqchen merged 5 commits into
apache:mainfrom
tqchen:ir/op-api-init
Oct 4, 2026
Merged

tqchen merged 5 commits into
apache:mainfrom
tqchen:ir/op-api-init

Conversation

@tqchen

@tqchen tqchen commented Oct 3, 2026

Copy link
Copy Markdown
Member

Registered Op identities define canonical Python construction names, while meaningful wrappers retain their explicit calling conventions. Add a prefix-first namespace initializer with collision preflight and live result inference, expose CUDA APIs through its backend module, and publish canonical printer names only for matching exposed callables.

Remove superseded forwarding builders and retain lossless reconstruction for calls that convenience APIs cannot represent.

tqchen added 4 commits October 4, 2026 11:31
Accept a temporary OpDef and return its reference for chained result metadata. Keep canonical names explicit and colocate fixed and inferred result types with each signature.
Keep the documented leader shared-address helper as the existing conversion and mask expression, removing its unused native Op placeholder. Align IKET printer expectations with canonical registered names.
@tqchen
tqchen merged commit 5d1cc1f into apache:main Oct 4, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants