Skip to content

Commit

Permalink
Fix prev_iter (#3784)
Browse files Browse the repository at this point in the history
Summary:
X-link: facebookresearch/FBGEMM#868

Pull Request resolved: #3784

as titled.

Reviewed By: q10, sryap

Differential Revision: D70794993

fbshipit-source-id: 07004d78a6112c972d77a3fdf0c74519dcd4019b
  • Loading branch information
spcyppt authored and facebook-github-bot committed Mar 7, 2025
1 parent eb9108c commit 1b31500
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def invoke(
{%- if "prev_iter" not in args_pt2.unified_pt2.split_unpacked_arg_names %}
dict_aux_tensor["prev_iter_dev"] = prev_iter_dev
{%- else %}
dict_aux_tensor["prev_iter_dev"] = prev_iter.prev_iter_dev
dict_aux_tensor["prev_iter_dev"] = prev_iter.dev
{%- endif %}

# optimizer_args
Expand Down

0 comments on commit 1b31500

Please sign in to comment.