There was an error while loading. Please reload this page.
1 parent 90e6af5 commit 76a5b09Copy full SHA for 76a5b09
paddle/fluid/distributed/fleet_executor/carrier.h
@@ -75,6 +75,9 @@ class Carrier final {
75
76
bool IsInit() const;
77
78
+ // NOTE: This mutex will be used in interceptor's RunOps function.
79
+ // This mutex is used for avoiding forward ops and backward ops run
80
+ // simultaneously, which will lead to a random hang for some sync ops.
81
std::mutex run;
82
83
DISABLE_COPY_AND_ASSIGN(Carrier);
0 commit comments