From 6aba126f1e5917152c76dbb0e954eb65615919d8 Mon Sep 17 00:00:00 2001 From: Guilherme Leobas Date: Sun, 19 Oct 2025 17:06:08 +0000 Subject: [PATCH] Update [ghstack-poisoned] --- torch/_dynamo/symbolic_convert.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/torch/_dynamo/symbolic_convert.py b/torch/_dynamo/symbolic_convert.py index 5815473d41f9..c7698eacfab0 100644 --- a/torch/_dynamo/symbolic_convert.py +++ b/torch/_dynamo/symbolic_convert.py @@ -74,6 +74,7 @@ from .bytecode_analysis import ( from .bytecode_transformation import ( cleaned_instructions, create_binary_slice, + create_binary_subscr, create_call_function, create_call_function_ex, create_copy, @@ -2724,7 +2725,7 @@ class InstructionTranslatorBase( *create_copy(2), # frame_values, frame N stack, frame_values create_load_const(0), - create_instruction("BINARY_SUBSCR"), + create_binary_subscr(), *create_binary_slice(0, 0, True), # frame_values[0][0:0] = frame N stack # frame_values left on top of stack