The GitHub Actions job "Lint" on tvm.git/fix-pep563-closure-vars has failed.
Run started by GitHub user tqchen (triggered by tqchen).

Head commit for run:
b6e7d32a9e4941ce75f63ddd5c9875f7d27dc5ae / tqchen <[email protected]>
fix ir_module closure: resolve only annotation-referenced names

The previous with_caller_frame_fallback added ALL caller-frame locals
to the TVMScript namespace, causing name collisions (e.g., `gv` from
a test function shadowing a nested @R.function def gv).

Replace with resolve_closure_vars: parses the class source AST to find
names used in function annotations, then looks up only those names in
enclosing frames. This resolves PEP 563 closure variables (like M in
T.Buffer((M,), "float32")) without polluting the namespace.

Report URL: https://github.com/apache/tvm/actions/runs/22533336923

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to