From 57cdde132fe73397b2d3e2de24d4fa12febe7775 Mon Sep 17 00:00:00 2001 From: zmxdream Date: Sun, 9 Oct 2022 13:06:29 +0800 Subject: [PATCH] Update device_worker.cc (#46723) --- paddle/fluid/framework/device_worker.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/paddle/fluid/framework/device_worker.cc b/paddle/fluid/framework/device_worker.cc index e3115b58f1f..4aa1690030e 100644 --- a/paddle/fluid/framework/device_worker.cc +++ b/paddle/fluid/framework/device_worker.cc @@ -458,6 +458,7 @@ void DeviceWorker::DumpField(const Scope& scope, } writer_ << ars[i]; } + writer_.Flush(); } } // namespace framework -- GitLab