Solve the bug of dead lock when restore state #254
Conversation
// fix the start iter_ for slave solver when the
// root solver restore state from binary file
// this will cause deadlock when using NCCL
|
After doing the testAll, the root solver will enter into barrier wait state. |
|
I met this issue every time. But this bug doesn't impact digits, why? |
|
@ChenFengAndy could you please check 0.16 branch? |
|
|===============================+======================+======================| +-----------------------------------------------------------------------------+ I0606 14:26:59.799461 18501 sgd_solver.cpp:108] Iteration 234960, lr = 0.053008 |
|
still there |
|
Thanks, reopening. Was this state file created in 0.15 release? |
|
caffe-0.16+cuDNNv6 |
|
do you want me to test my fix on 0.16 or you can fix it? |
|
create a fix for 0.16 #350. |
|
Fixed in v0.16.2 |
Fix the start iter_ for slave solver when the root solver restore state from binary file .
This will cause deadlock when using NCCL