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

Fix DistribType for ddp_cpu (spawn) #7492

Merged
merged 3 commits into from
May 14, 2021
Merged

Conversation

alanhdu
Copy link
Contributor

@alanhdu alanhdu commented May 11, 2021

Closes #7491, assuming that ddp_cpu is still using ddp_spawn behind the scenes.

@codecov
Copy link

codecov bot commented May 11, 2021

Codecov Report

Merging #7492 (8c129f5) into master (53f8d9a) will decrease coverage by 5%.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master   #7492    +/-   ##
=======================================
- Coverage      92%     88%    -5%     
=======================================
  Files         196     196            
  Lines       12835   12835            
=======================================
- Hits        11854   11270   -584     
- Misses        981    1565   +584     

@Borda Borda changed the title Potentially fix #7491 Potentially fix using ddp_cpu May 11, 2021
@Borda Borda marked this pull request as draft May 11, 2021 23:12
@Borda Borda added bug Something isn't working distributed Generic distributed-related topic labels May 11, 2021
@Borda Borda added this to the v1.3.x milestone May 11, 2021
@alanhdu alanhdu marked this pull request as ready for review May 12, 2021 00:17
@alanhdu alanhdu marked this pull request as draft May 12, 2021 00:17
@alanhdu alanhdu marked this pull request as ready for review May 12, 2021 13:56
Copy link
Contributor

@awaelchli awaelchli left a comment

Choose a reason for hiding this comment

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

LGTM

tests/accelerators/test_accelerator_connector.py Outdated Show resolved Hide resolved
@alanhdu
Copy link
Contributor Author

alanhdu commented May 14, 2021

Rebased onto master to fix the failing test.

Would it be possible to get another approval + merge this in? This is blocking us from upgrading to Lightning 1.3 (which has several bugfixes that we need).

@awaelchli awaelchli changed the title Potentially fix using ddp_cpu Fix DistribType for ddp_cpu (spawn) May 14, 2021
@kaushikb11 kaushikb11 enabled auto-merge (squash) May 14, 2021 19:17
@awaelchli
Copy link
Contributor

@alanhdu added a changelog and notified staff for review.

@kaushikb11 kaushikb11 merged commit 6ac16ff into Lightning-AI:master May 14, 2021
@alanhdu alanhdu deleted the patch-1 branch May 14, 2021 20:44
@carmocca carmocca mentioned this pull request May 17, 2021
edgarriba pushed a commit that referenced this pull request May 18, 2021
Borda pushed a commit that referenced this pull request May 18, 2021
lexierule pushed a commit that referenced this pull request May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working distributed Generic distributed-related topic
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ddp_cpu cannot run in interactive mode
5 participants