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

ensemble model parallelism #1342

Merged
merged 27 commits into from
Oct 22, 2020
Merged

ensemble model parallelism #1342

merged 27 commits into from
Oct 22, 2020

Conversation

alfoa
Copy link
Collaborator

@alfoa alfoa commented Oct 13, 2020


Pull Request Description

What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)

Closes #1341

What are the significant changes in functionality due to this change request?

Changed the parallelism strategy in case of ensemble model.


For Change Control Board: Change Request Review

The following review must be completed by an authorized member of the Change Control Board.

  • 1. Review all computer code.
  • 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts). (No changes to input syntax)
  • 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details. (Yes)
  • 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass. (yes)
  • 5. If significant functionality is added, there must be tests added to check this. Tests should cover all possible options. Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in XML block, the node <internalParallel> to True. (no significant functionality added)
  • 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change. The requirements and the requirements test shall be in sync. (needs second)
  • 7. The merge request must reference an issue. If the issue is closed, the issue close checklist shall be done. (done)
  • 8. If an analytic test is changed/added is the the analytic documentation updated/added? (no change)
  • 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example. (no change)

@alfoa alfoa changed the title Alfoa/few ray mods ensemble model parallelism Oct 13, 2020
@alfoa
Copy link
Collaborator Author

alfoa commented Oct 13, 2020

@JiaZhou-PU

@moosebuild
Copy link

Job Mingw Test on 32960e5 : invalidated by @joshua-cogliati-inl

test civet

1 similar comment
@moosebuild
Copy link

Job Mingw Test on 32960e5 : invalidated by @joshua-cogliati-inl

test civet

@alfoa
Copy link
Collaborator Author

alfoa commented Oct 20, 2020

@joshua-cogliati-inl ready to review

Copy link
Contributor

@joshua-cogliati-inl joshua-cogliati-inl left a comment

Choose a reason for hiding this comment

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

There are some things that need to be fixed. I would prefer if this was split into two pull requests, but that is not necessary. I also had some questions.

There are definitely improvements in this pull request :)

@alfoa
Copy link
Collaborator Author

alfoa commented Oct 22, 2020

@joshua-cogliati-inl Josh I addressed your comments

@moosebuild
Copy link

Job Test Ubuntu 18-2 Python 3 on da1cd4f : invalidated by @joshua-cogliati-inl

failed tests/framework/Optimizers/SimulatedAnnealing/ExponentialEggHolder

@PaulTalbot-INL
Copy link
Collaborator

Any hope for a end-of-week miracle merge on this?

@alfoa
Copy link
Collaborator Author

alfoa commented Oct 22, 2020

@PaulTalbot-INL looks like Josh is on it...so you called the miracle ehhehe

@joshua-cogliati-inl
Copy link
Contributor

I approve, but this changes a requirements test so needs a second approval from the CCB chair or designee.

@joshua-cogliati-inl
Copy link
Contributor

@PaulTalbot-INL @alfoa This changes a requirements test, so it needs a second approver.

@alfoa
Copy link
Collaborator Author

alfoa commented Oct 22, 2020

As chair of COB I approve the requirement test modifications.

@alfoa
Copy link
Collaborator Author

alfoa commented Oct 22, 2020

@PaulTalbot-INL can you also approve the PR?

Copy link
Collaborator

@PaulTalbot-INL PaulTalbot-INL left a comment

Choose a reason for hiding this comment

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

I'm okay with all these changes, as well.

kwargsKeys.pop(kwargsKeys.index("jobHandler"))
kwargsToKeep = { keepKey: kwargs[keepKey] for keepKey in kwargsKeys}
jobHandler = kwargs['jobHandler']
kwargsToKeep = { keepKey: kwargs[keepKey] for keepKey in list(kwargs.keys())}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this just kwargsToKeep == copy.deepcopy(kwargs)? No change needed, I see how this could be useful in the future if we have keys we don't want to keep.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ops...yes.. i will address this in next PR

@PaulTalbot-INL PaulTalbot-INL merged commit 580af97 into devel Oct 22, 2020
@alfoa alfoa deleted the alfoa/few_ray_mods branch October 22, 2020 23:51
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.

[TASK] Ensembe model improve parallelism strategy in case of no codes involved
4 participants