mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-23 07:23:03 -05:00
[GH-ISSUE #1109] Unit Tested Failed for Module 03 in Tinytorch #1696
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 @Takosaga on GitHub (Jan 13, 2026).
Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/1109
Originally assigned to: @profvjreddi on GitHub.
Using notebook created from
tito module start 03, the tests fail in the notebook due torequires_grad=Trueflag for the weight and bias even though it states the flag marks these tensors for gradient computation in Module 06. Though I remove in the notebook to pass the test,tito module complete 03has ❌ Unit tests failed attest_unit_linear_layer()I used
tito module reset 03to reset notebook and still get same errors.@profvjreddi commented on GitHub (Jan 13, 2026):
Hi!
This is the same issue I just fixed this morning.
Module 03 was incorrectly using requires_grad=True before it's introduced in Module 06.
Please pull the latest dev branch and run tito module reset 03 again.
The fix is in commit https://github.com/harvard-edge/cs249r_book/commit/a36340690
Thanks for reporting!
I will start creating tags so it is easier to know which fixes were done etc.
@profvjreddi commented on GitHub (Jan 23, 2026):
v0.1.4 is now released with this fix! See #1129 for update instructions.