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

ENH: Enable distributed inference #761

Merged
merged 38 commits into from
Jan 25, 2023
Merged

ENH: Enable distributed inference #761

merged 38 commits into from
Jan 25, 2023

Conversation

kenza-bouzid
Copy link
Contributor

Add --max_num_gpus_inference flag to be able to use all gpus during inference. DDP processes are only killed if max_num_gpus_inference == 1

@codecov
Copy link

codecov bot commented Jan 23, 2023

Codecov Report

Merging #761 (2be293a) into main (ca4eb45) will increase coverage by 0.02%.
The diff coverage is 80.95%.

Impacted file tree graph

Flag Coverage Δ
hi-ml 82.24% <89.47%> (+0.02%) ⬆️
hi-ml-azure 25.86% <0.00%> (ø)
hi-ml-cpath 75.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
hi-ml-azure/src/health_azure/logging.py 0.00% <0.00%> (ø)
hi-ml/src/health_ml/run_ml.py 77.55% <85.71%> (+0.06%) ⬆️
hi-ml/src/health_ml/deep_learning_config.py 84.23% <100.00%> (+0.28%) ⬆️
hi-ml/src/health_ml/lightning_container.py 79.46% <100.00%> (+0.18%) ⬆️

@kenza-bouzid kenza-bouzid marked this pull request as ready for review January 24, 2023 11:28
Copy link
Collaborator

@ant0nsc ant0nsc left a comment

Choose a reason for hiding this comment

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

Great job! Does not look complicated at all anymore

hi-ml/src/health_ml/deep_learning_config.py Outdated Show resolved Hide resolved
hi-ml/src/health_ml/run_ml.py Outdated Show resolved Hide resolved
hi-ml/src/health_ml/run_ml.py Outdated Show resolved Hide resolved
hi-ml/src/health_ml/run_ml.py Show resolved Hide resolved
Co-authored-by: Anton Schwaighofer <antonsc@microsoft.com>
@kenza-bouzid kenza-bouzid merged commit ec8b795 into main Jan 25, 2023
@kenza-bouzid kenza-bouzid deleted the kenzab/ddp_evaluation branch January 25, 2023 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants