Skip to content

[REFACTOR] Simplify canonical script operation adapters - #20623

Merged
tqchen merged 10 commits into
apache:mainfrom
tqchen:simplify-script-adapters
Oct 9, 2026
Merged

tqchen merged 10 commits into
apache:mainfrom
tqchen:simplify-script-adapters

Conversation

@tqchen

@tqchen tqchen commented Oct 9, 2026

Copy link
Copy Markdown
Member

Align selected TIRx, CUDA and Relax adapters with canonical operands so ordinary call printing reconstructs their IR directly. Preserve canonical isnan operands, remove the obsolete CUDA ldg surface, and align reduce_negate consumers with its public operand order.

Construct Relax Python callbacks and destination-passing calls with canonical operands and keyword-only type arguments, preserving inference, semantic attributes and explicit result types. Retain call_dps_packed string-callee convenience with guarded printing that preserves explicit callee identity. Migrate native, script, distributed and frontend consumers to these forms.

@tqchen
tqchen merged commit 815cc41 into apache:main Oct 9, 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