Tune PyHPC power iteration for H100#227
Merged
brycelelbach merged 1 commit intoJul 25, 2026
Merged
Conversation
Contributor
|
👋 Thank you for your contribution! This pull request is from a forked repository so GitHub Actions will not be able to run CI. A maintainer will review your changes shortly and manually trigger the CI. @maintainers Please review this PR when you have a chance and follow the instructions in the CONTRIBUTING.md file to trigger the CI. |
robobryce
force-pushed
the
update/power-iteration-config
branch
from
July 24, 2026 18:24
5e617b7 to
ea974f1
Compare
robobryce
force-pushed
the
update/power-iteration-config
branch
2 times, most recently
from
July 25, 2026 09:42
4cbdca6 to
1b9e4e0
Compare
robobryce
force-pushed
the
update/power-iteration-config
branch
from
July 25, 2026 10:00
1b9e4e0 to
2f3250c
Compare
This was referenced Jul 25, 2026
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.
Summary
Tune only the H100-backed PyHPC power-iteration notebooks.
Memory-spaces defaults:
dim = 10000dominance = 0.05max_steps = 1000check_frequency = 25progress = Trueresidual_threshold = 1e-10Asynchrony defaults:
dim = 19000dominance = 0.05max_steps = 400check_frequency = 25, overrideable with the first command-line argumentprogress = Trueresidual_threshold = 1e-10All seven inner iteration loops in the four PyHPC exercise/solution notebooks cap their stop at
cfg.max_steps. This includes the two indexed loops and five equivalent loops whose index is unused.The asynchrony exercise now asks students to sweep check frequencies 20 through 30 and balance CPU checkpoint I/O against GPU compute. Its solution runs the complete command-line sweep, prints the timings, displays an annotated performance graph in notebook 01 style, selects the fastest frequency, and captures, exports, and opens a final Nsight Systems profile for that setting.
The accelerated-python tutorial remains unchanged because it targets different hardware.
The memory-spaces solution contained saved results from the old
4096 / 0.1 / 400 / 10configuration, so those stale outputs remain cleared rather than presenting incorrect shapes, residuals, and timings. Its8192experiment is relabeled as a smaller configuration.Validation
sysimport in all four generated asynchrony scriptscfg.max_stepsnbformatgit diff --checkFull notebook execution was not run locally because these defaults require the H100 tutorial environment.