We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2f2d80 commit 35c734eCopy full SHA for 35c734e
userbenchmark/dynamo/dynamobench/_dynamo/utils.py
@@ -3580,15 +3580,15 @@ def get_torch_function_mode_stack_at(ind):
3580
3581
3582
def set_torch_function_mode_stack(stack):
3583
- for i in range(_len_torch_function_stack()):
+ for _ in range(_len_torch_function_stack()):
3584
_pop_torch_function_stack()
3585
3586
for mode in stack:
3587
_push_on_torch_function_stack(mode)
3588
3589
3590
def clear_torch_function_mode_stack():
3591
3592
3593
3594
0 commit comments