未验证 提交 a6cf6cdd 编写于 作者: L LiYuRio 提交者: GitHub

[fleet_executor] fix uninitialized pointer (#38904)

上级 08dcea18
......@@ -101,8 +101,8 @@ class Carrier final {
std::mutex running_mutex_;
std::condition_variable cond_var_;
std::vector<framework::Scope*> microbatch_scopes_;
framework::Scope* root_scope_;
framework::Scope* minibatch_scope_;
framework::Scope* root_scope_{nullptr};
framework::Scope* minibatch_scope_{nullptr};
paddle::platform::Place place_;
paddle::platform::DeviceContext* dev_ctx_{nullptr};
int64_t rank_;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册