Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
feifei-111 committed Nov 16, 2023
1 parent fbc5064 commit 88f7b16
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/paddle/jit/dy2static/partial_program.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,11 @@ def __call__(self, inputs):
self._cast_fp16_if_pure_fp16(in_vars)
attrs = self._prepare_attributes()

for idx, val in enumerate(attrs):
if val == "x_names":
attrs[idx + 1] = in_var_names
break

self._sync_lr_value_with_scheduler()

_legacy_C_ops.run_program(
Expand Down

0 comments on commit 88f7b16

Please sign in to comment.