mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-07-17 16:34:48 -05:00
[PR #1117] [MERGED] fix: fix module import in Transformers module test #1127
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/1117
Author: @minhdang26403
Created: 1/19/2026
Status: ✅ Merged
Merged: 1/19/2026
Merged by: @profvjreddi
Base:
dev← Head:fix/transformers-test📝 Commits (2)
3bbb0aefix: fix GPT model to use Embedding Layer created in module 11 instead of re-defining token embedding and positional embeddinga673625fix: fix module import in Transformers module test📊 Changes
3 files changed (+32 additions, -41 deletions)
View changed files
📝
tinytorch/src/13_transformers/13_transformers.py(+17 -27)📝
tinytorch/tests/13_transformers/test_training_simple.py(+8 -8)📝
tinytorch/tests/13_transformers/test_transformers_core.py(+7 -6)📄 Description
The current tests for Transformers module have wrong import path for Transformers, which lead to test failure. This Pull Request attempts to fix that issue.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.