Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add bagua-net switch #183

Merged
merged 8 commits into from
Sep 10, 2021
Merged

Conversation

shjwudp
Copy link
Member

@shjwudp shjwudp commented Sep 10, 2021

No description provided.

bagua/distributed/launch.py Outdated Show resolved Hide resolved
bagua/distributed/launch.py Outdated Show resolved Hide resolved
bagua/distributed/launch.py Outdated Show resolved Hide resolved
bagua/distributed/run.py Outdated Show resolved Hide resolved
bagua/distributed/run.py Outdated Show resolved Hide resolved
bagua/distributed/run.py Outdated Show resolved Hide resolved
bagua/distributed/launch.py Outdated Show resolved Hide resolved
bagua/distributed/run.py Outdated Show resolved Hide resolved
shjwudp and others added 2 commits September 10, 2021 11:29
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@@ -127,6 +127,14 @@ def parse_args():
parser.add_argument(
"--default_bucket_size", type=int, default=10 * 1024 ** 2
) # noqa: E501
parser.add_argument(
"--bagua-net_switch_on",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--enable-bagua-net

"--bagua-net_switch_on",
action="store_true",
default=False,
help="Turning on this switch will load the NCCL network"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Enable Bagua-Net optimization for faster communication performance. See XXX (prepare a tutorial section and put link here) for more details.

@@ -388,6 +388,14 @@ def get_args_parser() -> ArgumentParser:
default=False,
help="Whether autotune output log or not. default is False",
)
parser.add_argument(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as launch.py

Copy link
Contributor

@NOBLES5E NOBLES5E left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comments

@NOBLES5E NOBLES5E merged commit 8025298 into master Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants