Skip to content

Commit

Permalink
add annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
FeixLiu committed Dec 9, 2021
1 parent 90e6af5 commit 76a5b09
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions paddle/fluid/distributed/fleet_executor/carrier.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ class Carrier final {

bool IsInit() const;

// NOTE: This mutex will be used in interceptor's RunOps function.
// This mutex is used for avoiding forward ops and backward ops run
// simultaneously, which will lead to a random hang for some sync ops.
std::mutex run;

DISABLE_COPY_AND_ASSIGN(Carrier);
Expand Down

1 comment on commit 76a5b09

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on 76a5b09 Dec 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🕵️ CI failures summary

🔍 PR: #38024 Commit ID: 76a5b09 contains failed CI.

🔹 Failed: PR-CI-Windows-Inference

Unknown Failed
2021-12-10 10:09:03   File "C:\Users\Administrator\Downloads\workspace\8bc4ffc7-f6c6-4cf8-a9b1-67faa7b9f352\Paddle\paddle\scripts\installation_validate.py", line 15, in 
2021-12-10 10:09:03 import paddle.fluid as fluid
2021-12-10 10:09:03 File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\paddle_init_.py", line 25, in
2021-12-10 10:09:03 from .fluid import monkey_patch_variable
2021-12-10 10:09:03 File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\paddle\fluid_init_.py", line 223, in
2021-12-10 10:09:03 monkey_patch_eagertensor()
2021-12-10 10:09:03 File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\paddle\fluid\eager\eager_tensor_patch_methods.py", line 23, in monkey_patch_eagertensor
2021-12-10 10:09:03 setattr(core.eager.EagerTensor, "str", str)
2021-12-10 10:09:03 AttributeError: module 'paddle.fluid.core_avx' has no attribute 'eager'
2021-12-10 10:09:03 C:\Users\Administrator\Downloads\workspace\8bc4ffc7-f6c6-4cf8-a9b1-67faa7b9f352\Paddle\build>goto:eof
2021-12-10 10:09:03 C:\Users\Administrator\Downloads\workspace\8bc4ffc7-f6c6-4cf8-a9b1-67faa7b9f352\Paddle\build>echo Test import paddle failed, will exit!
2021-12-10 10:09:03 Test import paddle failed, will exit
2021-12-10 10:09:03 C:\Users\Administrator\Downloads\workspace\8bc4ffc7-f6c6-4cf8-a9b1-67faa7b9f352\Paddle\build>exit /b 1
2021-12-10 10:09:03 C:\Users\Administrator\Downloads\workspace\8bc4ffc7-f6c6-4cf8-a9b1-67faa7b9f352\Paddle>set EXCODE=1
2021-12-10 10:09:03 C:\Users\Administrator\Downloads\workspace\8bc4ffc7-f6c6-4cf8-a9b1-67faa7b9f352\Paddle>cd C:\Users\administrator\Downloads
2021-12-10 10:09:03 C:\Users\Administrator\Downloads>rmdir C:\Users\administrator\Downloads\workspace /s/q 2>NUL
2021-12-10 10:09:12 C:\Users\Administrator\Downloads>echo EXCODE: 1
2021-12-10 10:09:12 EXCODE: 1
2021-12-10 10:09:12 C:\Users\Administrator\Downloads>exit /b 1

Please sign in to comment.