!18766 Fix issue: longtime testcase with heterogeneous lenet train has host mem leak
Merge pull request !18766 from zhangzhaoju/ms_master_heterogeneous_leak
This commit is contained in:
commit
f493a3539f
|
@ -381,6 +381,7 @@ void Executor::RunGraphAsync(const SessionPtr &session, const GraphId &graph_id,
|
|||
{
|
||||
std::lock_guard<std::mutex> lock(pending_task_mutex_);
|
||||
if (!IsTaskReady(task)) {
|
||||
ClearDoneTasks();
|
||||
pending_tasks_.push_back(task);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue