8000 Update on "[cudagraphs] Fix issue in collecting static_input_idxs" · pytorch/pytorch@f0f3526 · GitHub
[go: up one dir, main page]

Skip to content

Commit f0f3526

Browse files
committed
Update on "[cudagraphs] Fix issue in collecting static_input_idxs"
related to #152275 cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov [ghstack-poisoned]

1 parent 8e3ed46 commit f0f3526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/_functorch/aot_autograd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1058,10 +1058,10 @@ def _try_get_metadata_from_dynamo(
10581058
if "tensor_dict" in node.meta and node.meta["tensor_dict"].get(
10591059
"_dynamo_static_input_type", None
10601060
):
1061-
static_input_indices.append(actual_pos)
10621061
static_inputs_log.debug(
10631062
"Adding static input pos %s for source %s", actual_pos, source_name
10641063
)
1064+
static_input_indices.append(actual_pos)
10651065
else:
10661066
static_inputs_log.debug(
10671067
"Non-static input pos %s for source %s", actual_pos, source_name

0 commit comments

Comments
 (0)
0