Tutorial: Allocation of Computing Resources - #319
Open
bennoschoenstein wants to merge 3 commits into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new tutorial notebook documenting how QUEENS’ scheduler core budget is split between num_jobs (parallel jobs) and num_procs (cores per job), including examples of idle-core scenarios and a mitigation strategy by splitting work into multiple runs/phases.
Changes:
- Added
tutorials/6_core_allocation.ipynbdemonstrating resource-allocation behavior and phase splitting. - Registered the new notebook under the
tutorial_testsmarker so it is executed by the tutorial test suite. - Ignored
tutorials/output/to prevent tutorial-generated outputs from being tracked.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| tutorials/6_core_allocation.ipynb | New tutorial illustrating core allocation, idle cores, and multi-phase execution patterns. |
| test_utils/tutorial_tests.py | Adds the new tutorial to the tutorial_tests marker list so it runs in CI. |
| .gitignore | Ignores tutorials/output/ generated by tutorial execution. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
BishrMaradni
left a comment
Contributor
There was a problem hiding this comment.
Thanks a lot Benno for the Tutorial! I have some minor comments regarding the text but everything else looks on point! Glad to see the tutorial library slowly growing 😁
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds tutorial
6_core_allocation.ipynb: how a QUEENS scheduler splits a fixed core budget betweennum_jobs(parallel jobs) andnum_procs(cores per job).Why
Closes #307
Notes
tutorial_testsmarker intest_utils/tutorial_tests.py.tutorials/output/added to.gitignore.