python error UnboundLocalError in jit/frontend.py #32139
Labels
oncall: jit
Add this issue/PR to JIT oncall triage queue
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
馃悰 Bug
One of the error cases in the function
build_param_list
usesctx_range
without defining it, in the following context:To Reproduce
Steps to reproduce the behavior:
I was using
torch.jit.script()
on a large module, and since it's the error reporting that's failing I don't have a line reference. By inspection, however, I believe the unsupported feature was the asterisk in the following function definition:Expected behavior
Relevant error message should be reported.
cc @suo
The text was updated successfully, but these errors were encountered: