mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-06 17:49:07 -05:00
[PR #1136] [MERGED] Fix optimizer gradient bug and CI improvements #2359
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?
📋 Pull Request Information
Original PR: https://github.com/harvard-edge/cs249r_book/pull/1136
Author: @profvjreddi
Created: 1/25/2026
Status: ✅ Merged
Merged: 1/25/2026
Merged by: @profvjreddi
Base:
dev← Head:feature/tinytorch📝 Commits (10+)
ed709c9fix(tests): resolve import errors for honest test execution22a94d2fix(ci): increase unit test timeout from 10 to 30 minutesf524506fix(tests): resolve API mismatches and fix test infrastructure770dac3fix(tests): correct API calls in system milestone tests1dab26bfix(tests): add optimizer creation to enable gradient flow in tests975c92afix(cli): resolve Rich markup rendering in module completion messageaafd7a8refactor(modules): standardize formatting and fix NBGrader directives389989erefactor(tests): clean up test folder and fix gradient flow issues999fd13refactor(tests): reorganize test folders and fix misplaced filesd53722efix(tests): skip flaky performance and transformer training tests in CI📊 Changes
161 files changed (+3813 additions, -29990 deletions)
View changed files
📝
.github/workflows/tinytorch-ci.yml(+18 -78)➖
.vscode/settings.json(+0 -23)📝
tinytorch/milestones/02_1969_xor/01_xor_crisis.py(+2 -2)📝
tinytorch/milestones/03_1986_mlp/01_rumelhart_tinydigits.py(+3 -10)📝
tinytorch/milestones/06_2018_mlperf/02_generation_speedup.py(+1 -1)📝
tinytorch/src/01_tensor/01_tensor.py(+52 -92)📝
tinytorch/src/02_activations/02_activations.py(+204 -205)📝
tinytorch/src/03_layers/03_layers.py(+123 -92)📝
tinytorch/src/04_losses/04_losses.py(+115 -71)📝
tinytorch/src/05_dataloader/05_dataloader.py(+161 -35)📝
tinytorch/src/06_autograd/06_autograd.py(+87 -41)📝
tinytorch/src/07_optimizers/07_optimizers.py(+144 -96)📝
tinytorch/src/08_training/08_training.py(+117 -66)📝
tinytorch/src/09_convolutions/09_convolutions.py(+301 -80)📝
tinytorch/src/10_tokenization/10_tokenization.py(+240 -97)📝
tinytorch/src/11_embeddings/11_embeddings.py(+142 -64)📝
tinytorch/src/12_attention/12_attention.py(+170 -145)📝
tinytorch/src/13_transformers/13_transformers.py(+89 -43)📝
tinytorch/src/14_profiling/14_profiling.py(+249 -176)📝
tinytorch/src/15_quantization/15_quantization.py(+290 -233)...and 80 more files
📄 Description
Summary
This PR includes:
Bug Fixes:
Test Infrastructure:
Style Improvements:
Test plan
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.