Tutorials/Accelerated Python: Notebook improvements and consistency fixes#151
Open
brycelelbach wants to merge 17 commits intomainfrom
Open
Tutorials/Accelerated Python: Notebook improvements and consistency fixes#151brycelelbach wants to merge 17 commits intomainfrom
brycelelbach wants to merge 17 commits intomainfrom
Conversation
…atrix sizes for reliable speedups. Ensure all cupyx.profiler.benchmark calls specify n_warmup=1 to avoid cold-start measurement noise. Adjust SVD benchmark matrix shape from (1000, 1000) to (3000, 1000) so GPU speedups are shown reliably in the production environment. Made-with: Cursor
…in notebook 03. Simplify sequential operations intro, add Copy vs View pitfall note, clarify that GPU copies stay on device, and clean up device management text. Made-with: Cursor
… conversions. Made-with: Cursor
…iew vs Copy explanation in notebook 01. Made-with: Cursor
…nd solutions. Audit and sync all regular notebooks with their solution counterparts: - 02: Sync "Then we read" wording, add JPEG size comparison to solution. - 03: Use self-contained benchmark cells with shape variables (matching solution). - 04: Fix "signular" typo, sync tiling factor to (3,3), fix "differ sizes" typo, sync wording and quote style in solution. - 05: Sync estimate_host comments/formatting, fix docstring steps, preserve "Think About It" question in solution, correct GPU memory description. - 06: Fix pseudo-code typo in solution, sync Perfetto display title. Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
…rnels notebooks. - 20 (cuDF): Sync import order, add %%time to Task 2 placeholder. - 23 (cuda-cccl): Fix "excercise" typos, sync capstone print statement and remove stale TODO markers from solution iterator lines. - 40 (copy kernel): Fix CLI arg bug (output -> check), sync profiling description and benchmarking text with solution. - 43 (black and white): Fix hint to say 256 (matching solution's (16,16) block size), add Colab warning to solution. - Re-canonicalize notebook formatting. Made-with: Cursor
…ynamic computation in notebook 02.
…s for filenames in notebook 04.
… statements and markdown.
…ne check frequency in notebooks 05 and 06.
…05 and 06. Fixes performance issues when the Git repository is on a network or slow filesystem by writing checkpoint files to /tmp instead of the working directory.
… SOLUTION notebook outputs. Add validation and auto-fix for execute_result and display_data outputs missing required nbformat fields, which caused test-links CI to fail during nbconvert.
…the 8 hour syllabus notebooks.
nv-kriehl
approved these changes
Mar 9, 2026
Collaborator
nv-kriehl
left a comment
There was a problem hiding this comment.
Please use function names with parentheses for function names as well as function calls. .foo -> .foo()
Leave parentheses off for attribute names
This was referenced Mar 9, 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
n_warmupto allcupyx.profiler.benchmarkcalls and adjust matrix sizes for consistent GPU speedups./tmpfor better performance on network filesystems (notebooks 05-06).CONTRIBUTING.md.