!10133 [bugfix]:add ps cache status reset

From: @zyli2020
Reviewed-by: @limingqi107,@cristoval
Signed-off-by: @cristoval
pull/10133/MERGE
mindspore-ci-bot 4 years ago committed by Gitee
commit 7697492fb2

@ -62,6 +62,7 @@ void PSContext::Reset() {
is_worker_ = false; is_worker_ = false;
is_pserver_ = false; is_pserver_ = false;
is_sched_ = false; is_sched_ = false;
set_cache_enable(false);
} }
std::string PSContext::ms_role() const { std::string PSContext::ms_role() const {

Loading…
Cancel
Save