-
Notifications
You must be signed in to change notification settings - Fork 37
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
Merge core refactor into v1.0 feature branch #756
Conversation
…martsim-refactor
…martsim-refactor
…martsim-refactor
Move the test suite used for SmartSim v0.X.Y to a `tests/_legacy` dir. This directory is explicitly skipped during test collection as these tests are not expected to pass as SmartSim transitions to a new user facing and core API. Additional changes to CI to make sure the feature branch continues to pass while in a chaotic development state. [ committed by @MattToast ] [ reviewed by @amandarichardsonn ]
Fixed inconsistency when adding run arguments N, nodes, or ntasks, to a RunSettings object with leading `-` characters. [ committed by @juliaputko ] [ reviewed by @amandarichardsonn ]
[ committed by @juliaputko ]
[ committed by @juliaputko ] [ reviewed by @amandarichardsonn ]
[ committed by @juliaputko ] [ reviewed by @amandarichardsonn ]
[ committed by @juliaputko ] [ reviewed by @amandarichardsonn ]
BaseJobGroup, JobGroup and ColocatedJobGroup skeletons added. [ Committed by @amandarichardsonn ] [ Reviewed by @juliaputko ]
This PR adds the Capnproto schemas and initial MessageHandler class and tests.
This PR removes `device` from the schemas, MessageHandler, and tests.
Add `Model` schema with model metadata. [ committed by @AlyssaCote ] [ approved by @ankona ]
78a3a33
to
bfc36e3
Compare
2ab01c4
to
0eded7d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of super small linting nits, but otherwise it looks like the majority of the smartsim-core
work is here and in-tack! Thanks for handling this super large merge!!
def test_unpack_iterates_over_nested_jobs_in_expected_order(wlmutils): | ||
launch_settings = LaunchSettings(wlmutils.get_test_launcher()) | ||
app = Application("app_name", exe="python") | ||
job_1 = Job(app, launch_settings) | ||
job_2 = Job(app, launch_settings) | ||
job_3 = Job(app, launch_settings) | ||
job_4 = Job(app, launch_settings) | ||
job_5 = Job(app, launch_settings) | ||
|
||
assert ( | ||
[job_1, job_2, job_3, job_4, job_5] | ||
== list(unpack([job_1, [job_2, job_3], job_4, [job_5]])) | ||
== list(unpack([job_1, job_2, [job_3, job_4], job_5])) | ||
== list(unpack([job_1, [job_2, [job_3, job_4], job_5]])) | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MattToast this test looks like it is new for the V1 API (and most of the tests in this file look like they are still valid).
TODO: Make a ticket to move valid tests from this file out of tests/_legacy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!! Thanks for getting us down to one really big feature branch instead of two really big (and constantly diverging) feature branches lol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey bro, gnarly job! Keep shredding and stay stoked, man! LGTM 🌊🏄♂️
87319c5
to
629baa5
Compare
Combine the
core-refactor
feature branch withmli-feature
inv1.0
branch