Closed NOBLES5E closed 3 years ago
We can do this in a similar way as we add nccl to bagua-core: https://github.com/BaguaSys/bagua-core/blob/master/setup.py and https://github.com/BaguaSys/bagua-core/blob/master/python/bagua_core/_environment.py
We can control whether to enable bagua-net with the environment variable ENABLE_BAGUA_NET.
bagua-net
ENABLE_BAGUA_NET
https://github.com/BaguaSys/bagua-core/pull/89
We can do this in a similar way as we add nccl to bagua-core: https://github.com/BaguaSys/bagua-core/blob/master/setup.py and https://github.com/BaguaSys/bagua-core/blob/master/python/bagua_core/_environment.py
We can control whether to enable
bagua-net
with the environment variableENABLE_BAGUA_NET
.