未验证 提交 66c58fa3 编写于 作者: D duanboqiang 提交者: GitHub

optimize-offload support adamw op type (#36432)

上级 8256f6fa
......@@ -284,7 +284,7 @@ class OffloadHelper(object):
break
vars_name = []
if op.type == "adam":
if op.type == "adam" or op.type == "adamw":
# {Moment1Out = [''], Moment2Out = [''], ParamOut = ['']} =
# adam(inputs={Moment1 = [''], Moment2 = [''], Param = ['']})
vars_name.append(op.desc.input("Moment1")[0])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册