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

Move ShellLauncher #658

Merged
merged 23 commits into from
Aug 21, 2024
Merged

Conversation

juliaputko
Copy link
Contributor

No description provided.

ankona and others added 5 commits July 31, 2024 19:23
…abs#653)

This PR mitigates two issues encountered during installation on build
agents

## mypy/typing_extensions

Installation of mypy or dragon in separate build actions caused some
dependencies (typing_extensions, numpy) to be upgraded. Those upgrades
result in runtime failures. The build actions were tweaked to allow pip
to consider all optional dependencies during resolution.

## dragon/numpy

Additionally, the numpy version was capped on dragon installations.

[ committed by @ankona]
[ approved by @ashao @MattToast ]
The builder module was included in `setup.py` to allow us to ship the
main Redis binaries (not RedisAI) with installs from PyPI. The changes
in this PR remove our ability to do this and requires users to build
Redis as part of the `smart build`. This change in behaviour was
deemed reasonable to allow for easier maintenance and extension
of the Builder class as well as simplify the deployment of wheels.

[ committed by @ashao ]
[ reviewed by @MattToast ]
The version of codecov has been updated to
v4.5.0 for the github actions.

[ committed by @mellis13 ]
[ reviewed by @amandarichardsonn ]
@juliaputko juliaputko requested a review from MattToast August 7, 2024 22:43
Copy link
Contributor

@mellis13 mellis13 left a comment

Choose a reason for hiding this comment

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

One quick question before approving

smartsim/_core/dispatch.py Show resolved Hide resolved
smartsim/_core/shell/__init__.py Show resolved Hide resolved
Copy link
Member

@MattToast MattToast left a comment

Choose a reason for hiding this comment

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

A couple of small nits and a couple of philosophy questions on where we think some of the protocols should "live", but otherwise looks about ready to go on my end!

smartsim/_core/dispatch.py Show resolved Hide resolved
smartsim/_core/shell/shellLauncher.py Outdated Show resolved Hide resolved
smartsim/_core/shell/shellLauncher.py Outdated Show resolved Hide resolved
Copy link
Member

@MattToast MattToast left a comment

Choose a reason for hiding this comment

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

Looks great! I have one small philosophy question, but nothing worth holding up approval over.

LGTM!! Thanks for helping to keep us organized!

smartsim/_core/shell/shellLauncher.py Outdated Show resolved Hide resolved
Copy link

codecov bot commented Aug 20, 2024

Codecov Report

Attention: Patch coverage is 70.51282% with 23 lines in your changes missing coverage. Please review.

Please upload report for BASE (smartsim-refactor@ddde9c5). Learn more about missing BASE report.

Files with missing lines Patch % Lines
smartsim/_core/shell/shellLauncher.py 60.86% 18 Missing ⚠️
smartsim/_core/control/launch_history.py 0.00% 1 Missing ⚠️
smartsim/_core/dispatch.py 0.00% 1 Missing ⚠️
smartsim/_core/launcher/dragon/dragonLauncher.py 50.00% 1 Missing ⚠️
smartsim/_core/utils/launcher.py 95.65% 1 Missing ⚠️
smartsim/experiment.py 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@                 Coverage Diff                  @@
##             smartsim-refactor     #658   +/-   ##
====================================================
  Coverage                     ?   40.45%           
====================================================
  Files                        ?      110           
  Lines                        ?     7326           
  Branches                     ?        0           
====================================================
  Hits                         ?     2964           
  Misses                       ?     4362           
  Partials                     ?        0           
Files with missing lines Coverage Δ
smartsim/settings/arguments/launch/local.py 87.50% <100.00%> (ø)
smartsim/settings/arguments/launch/mpi.py 95.34% <100.00%> (ø)
smartsim/_core/control/launch_history.py 92.30% <0.00%> (ø)
smartsim/_core/dispatch.py 96.84% <0.00%> (ø)
smartsim/_core/launcher/dragon/dragonLauncher.py 26.70% <50.00%> (ø)
smartsim/_core/utils/launcher.py 95.65% <95.65%> (ø)
smartsim/experiment.py 81.55% <0.00%> (ø)
smartsim/_core/shell/shellLauncher.py 60.86% <60.86%> (ø)
---- 🚨 Try these New Features:

@juliaputko juliaputko merged commit 0569c05 into CrayLabs:smartsim-refactor Aug 21, 2024
34 of 35 checks passed
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.

5 participants