未验证 提交 536d9d8c 编写于 作者: Z ziyoujiyi 提交者: GitHub

cherry-pick V2.4 (#46358)

* back fl

* delete ssl cert

* .

* make warning

* .

* unittest paral degree

* solve unittest

* heter & multi cloud commm ready

* .

* .

* fix gloo compile warning

* adapt for nn fl-ps

* flps del fake-init op

* add learning_rate_0 intializer op

* bug fix

* .

* .
上级 4a8aa6d8
......@@ -192,6 +192,8 @@ class Accessor:
sgd_param.name = "SparseNaiveSGDRule"
if common_accessor.accessor_class == "adam":
sgd_param.name = "SparseAdamSGDRule"
else: # for fl-ps, because geo accessor is 'sum'
sgd_param.name = "SparseAdamSGDRule"
if sgd_param.name == "SparseAdaGradSGDRule" or sgd_param.name == "StdAdaGradSGDRule":
if not sgd_param.adagrad.HasField("learning_rate"):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册