mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-07 18:18:42 -05:00
[PR #1155] [MERGED] fix(attention): correct complexity explanation and memory table bug #5016
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/1155
Author: @profvjreddi
Created: 2/4/2026
Status: ✅ Merged
Merged: 2/4/2026
Merged by: @profvjreddi
Base:
dev← Head:feature/tinytorch-core📝 Commits (1)
20a4ba2fix(attention): correct O(n²) complexity explanation and memory table bug📊 Changes
1 file changed (+10 additions, -7 deletions)
View changed files
📝
tinytorch/src/12_attention/12_attention.py(+10 -7)📄 Description
Summary
Total Memorycolumn inanalyze_attention_memory_overhead()which was duplicating the Optimizer column instead of summing Forward + Gradients + OptimizerFixes #1150
Test plan
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.