mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-08 18:01:20 -05:00
[GH-ISSUE #1278] tinytorch module 09 / milestone 04 potential defect? #1747
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 @asgalon on GitHub (Mar 23, 2026).
Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/1278
While doing routine tests for an unrelated issue, I encountered the following error running milestone04 / 02_lecun_cifar10.py:
The init method of MaxPool2d in 09_convolutions.py looks like this:
I guess the milestone code is missing an update? Probably should be (kernel_size=2, stride=2) instead of pool_size=(2,2) ?
@profvjreddi commented on GitHub (Mar 28, 2026):
Thanks for the detailed report, @asgalon! This has been fixed. I made it such that the milestone script now uses
kernel_sizeto match the MaxPool2d API in09_convolutions.pyina66f2c66a6.Appreciate you taking the time to trace through the traceback and identify the exact mismatch. Closing this out, and thank you again so much!
@all-contributors please add @asgalon as a contributor for 🪲 Bug in TinyTorch
@github-actions[bot] commented on GitHub (Mar 28, 2026):
I couldn't find a GitHub username in that comment. 🤔
Your comment: @all-contributors please add @ as a contributor for 🪲 Bug in TinyTorch
Example formats that work:
Contribution types: bug, code, doc, design, ideas, review, test, tool
Projects (one or more): book, tinytorch, kits, labs — specify in comment (e.g. "in TinyTorch, Book") or auto-detected from PR file paths.
@github-actions[bot] commented on GitHub (Mar 28, 2026):
I've added @asgalon as a contributor to tinytorch! 🎉
Recognized for: code
Project(s): tinytorch (explicitly mentioned in comment)
Based on: @all-contributors please add @asgalon as a contributor for 🪲 Bug in TinyTorch
The contributor list has been updated in:
tinytorch/.all-contributorsrc,tinytorch/README.mdREADME.mdWe love recognizing our contributors! ❤️