Using notebook created from tito module start 03, the tests fail in the notebook due to requires_grad=True flag 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 03 has ❌ Unit tests failed at test_unit_linear_layer()
I used tito module reset 03 to reset notebook and still get same errors.
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 to `requires_grad=True` flag 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 03` has ❌ Unit tests failed at `test_unit_linear_layer()`
I used `tito module reset 03` to reset notebook and still get same errors.
I will start creating tags so it is easier to know which fixes were done etc.
<!-- gh-comment-id:3745604538 -->
@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.
v0.1.4 is now released with this fix! See #1129 for update instructions.
<!-- gh-comment-id:3787479268 -->
@profvjreddi commented on GitHub (Jan 23, 2026):
v0.1.4 is now released with this fix! See #1129 for update instructions.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.