You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that strategy=ddp_spawn can not give deterministic results. If I change strategy=ddp_spawn to strategy=ddp_fork, then training results are deterministic. I use pytorch_lightning==1.9.5 and torch==1.11.0
Bug description
I noticed that
strategy=ddp_spawn
can not give deterministic results. If I changestrategy=ddp_spawn
tostrategy=ddp_fork
, then training results are deterministic. I usepytorch_lightning==1.9.5
andtorch==1.11.0
Below is the code that can reproduce the bug.
What version are you seeing the problem on?
1.9.x
How to reproduce the bug
No response
Error messages and logs
Environment
Current environment
More info
No response
cc @awaelchli @justusschock
The text was updated successfully, but these errors were encountered: