Bluefog-Lib / bluefog

Distributed and decentralized training framework for PyTorch over graph
https://bluefog-lib.github.io/bluefog/
Apache License 2.0
291 stars 71 forks source link

is_homogeneous in mpi_context causes double free memory issue #30

Closed hanbinhu closed 4 years ago

hanbinhu commented 4 years ago

Command to run: bfrun -np 8 python examples/pytorch_optimization.py Commit 61caada causes double free or corruption (out) issue.

Bluefog-Lib commented 4 years ago

Failed due to size_ is not initialized correctly before calling MPI_Allgather function. Fixed.