Skip to content

[REFACTOR][TIRx] Emit tensor declarations without a dedicated frame - #20587

Open
tqchen wants to merge 1 commit into
apache:mainfrom
tqchen:task627-direct-decltensor
Open

tqchen wants to merge 1 commit into
apache:mainfrom
tqchen:task627-direct-decltensor

Conversation

@tqchen

@tqchen tqchen commented Oct 7, 2026

Copy link
Copy Markdown
Member

Emit tensor declaration bindings directly and return the tensor value from the script builder. Remove the dedicated declaration frame and Python enter/exit callbacks while preserving allocation selection, tensor metadata, statement ordering, and source spans.

Return TensorVar directly from the declaration builder and emit its binding with the current source location. Remove the dedicated declaration frame and Python scope callbacks while preserving allocation fallback, external tensor-memory bindings, and tensor metadata.

This branch has not been deployed

No deployments
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.

1 participant