mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-22 14:03:46 -05:00
[GH-ISSUE #1547] [Bug] Module complete 05 doesn't work #10813
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kkkamur07 on GitHub (Apr 26, 2026).
Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/1547
Originally assigned to: @profvjreddi on GitHub.
Area
Book — Volume I
Location
Module 05 DataLoaders
Description
When I run
it returns
But when I run the
test_module()in the notebook. It returnsPlease help me through this.
Expected Behavior
No response
Environment (TinyTorch bugs only)
No response
@profvjreddi commented on GitHub (Apr 26, 2026):
Ah, I just fixed quite a few of these. The labs are the last part that I really need to iron out now. So thank you for sharing these, I just need to push my changes up and publish the live version! Thanks @kkkamur07
@profvjreddi commented on GitHub (Apr 26, 2026):
Hey @kkkamur07, thanks for the detailed bug report — the full test trace was the key to figuring this out.
Good news: this isn't a code bug in current dev, it's a stale-checkout issue. The class names in your trace (
Module 09AutogradCore,CompleteMLPipelineStillWorks,AutogradIntegration,GradientBasedLearningFoundation) don't exist anywhere in the current branch — they got removed when we did a big module renumber back in January 2026. In the new layout, Module 06 isautogradand Module 09 isconvolutions, and the test scaffolding aroundtinytorch.core.spatiallooks completely different.Could you pull the latest and try again?
That should pick up the post-renumber module layout and the failures should disappear. If anything still breaks after that, please reopen with the fresh trace and I'll dig back in.
Really appreciate you taking the time to file this with full output — it made the diagnosis straightforward.