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

when run "Applying BlueFog on Deep Learning problem(High Level API Introduction)",some error happened #104

Open lkzs opened 2 years ago

lkzs commented 2 years ago

ValueError: Arguments self_weight and src_weights have to be presented at the same time 2022-03-16 22:37:31.210 [IPEngine] Sending apply_reply: e562ff7c-8ac0d4eb2886b19e4424ec60_4195_20

hanbinhu commented 2 years ago

Thanks for trying out the Bluefog library. This error is due to the mismatch between Bluefog version (0.3.0) and bluefog-tutorial. The latest Bluefog version deprecates the original neighbor_weights in favor of the new naming using src_weights. In addition, we also deprecate the original send_neighbors in favor of the new naming using dst_weights. The bluefog-tutorial doesn't get updated to the latest usage of these new interface. We will update the bluefog-tutorial as soon as possible. For a short term solution, these variables in the tutorial can be renamed to these new interface, which should work the same as before.