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(python): support find_unused_parameters on BaguaDDP #409

Merged
merged 12 commits into from
Dec 2, 2021

Conversation

shjwudp
Copy link
Member

@shjwudp shjwudp commented Dec 2, 2021

No description provided.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

bagua/torch_api/algorithms/async_model_average.py Outdated Show resolved Hide resolved
bagua/torch_api/algorithms/async_model_average.py Outdated Show resolved Hide resolved
bagua/torch_api/algorithms/async_model_average.py Outdated Show resolved Hide resolved
bagua/torch_api/algorithms/async_model_average.py Outdated Show resolved Hide resolved
bagua/torch_api/algorithms/async_model_average.py Outdated Show resolved Hide resolved
bagua/torch_api/data_parallel/bagua_distributed.py Outdated Show resolved Hide resolved
bagua/torch_api/data_parallel/distributed.py Show resolved Hide resolved
@shjwudp shjwudp removed the request for review from wangraying December 2, 2021 05:20
@BaguaSys BaguaSys deleted a comment from todo bot Dec 2, 2021
@@ -101,7 +101,7 @@ def __init__(
bucket_cap_mb=25,
find_unused_parameters=False,
check_reduction=False,
gradient_as_bucket_view=False,
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems to contradict with PyTorch default value?

@NOBLES5E NOBLES5E merged commit f5b4343 into master Dec 2, 2021
@NOBLES5E NOBLES5E deleted the find_unused_parameters branch December 2, 2021 08:27
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