[GH-ISSUE #1146] Tito Complete Module 01 issues #4327

Closed
opened 2026-04-19 12:19:35 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @profvjreddi on GitHub (Jan 27, 2026).
Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/1146

Discussed in https://github.com/harvard-edge/cs249r_book/discussions/1145

Originally posted by lalalostcode January 27, 2026

╭──────────────────────────────────────────── 🎯 Completing Module 01: 01_tensor ────────────────────────────────────────────╮
│ Unit tests → Export → Integration tests → Progress tracking │
╰───────────────────────────────────────────────────────────────────────────────────

Step 1/4: Running Unit Tests

module_execution
Traceback (most recent call last):
File "C:\Users\LOQ 15\tinytorch\src\01_tensor\01_tensor.py", line 772, in
test_unit_tensor_creation()

Unit tests failed for 01_tensor
💡 Fix the issues and try again
((.venv) )

Originally created by @profvjreddi on GitHub (Jan 27, 2026). Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/1146 ### Discussed in https://github.com/harvard-edge/cs249r_book/discussions/1145 <div type='discussions-op-text'> <sup>Originally posted by **lalalostcode** January 27, 2026</sup> ╭──────────────────────────────────────────── 🎯 Completing Module 01: 01_tensor ────────────────────────────────────────────╮ │ Unit tests → Export → Integration tests → Progress tracking │ ╰─────────────────────────────────────────────────────────────────────────────────── Step 1/4: Running Unit Tests ❌ module_execution Traceback (most recent call last): File "C:\Users\LOQ 15\tinytorch\src\01_tensor\01_tensor.py", line 772, in <module> test_unit_tensor_creation() ❌ Unit tests failed for 01_tensor 💡 Fix the issues and try again ((.venv) ) </div>
GiteaMirror added the type: bugarea: tinytorch labels 2026-04-19 12:19:35 -05:00
Author
Owner

@profvjreddi commented on GitHub (Jan 27, 2026):

Fixed! 🎉

This was a Windows encoding issue with emoji/unicode output. We've added automatic PYTHONIOENCODING=utf-8 setting to tito.

Solution: Update to the latest version by running:

tito system update

Or reinstall TinyTorch to get the fix.

Thanks @lalalostcode for reporting and finding the workaround!

See discussion: #1145

<!-- gh-comment-id:3806854496 --> @profvjreddi commented on GitHub (Jan 27, 2026): Fixed! 🎉 This was a Windows encoding issue with emoji/unicode output. We've added automatic `PYTHONIOENCODING=utf-8` setting to tito. **Solution**: Update to the latest version by running: ```bash tito system update ``` Or reinstall TinyTorch to get the fix. Thanks @lalalostcode for reporting and finding the workaround! See discussion: #1145
Author
Owner

@profvjreddi commented on GitHub (Jan 27, 2026):

@all-contributors @lalalostcode reported Windows encoding bug in tinytorch

<!-- gh-comment-id:3806855011 --> @profvjreddi commented on GitHub (Jan 27, 2026): @all-contributors @lalalostcode reported Windows encoding bug in tinytorch
Author
Owner

@github-actions[bot] commented on GitHub (Jan 27, 2026):

I've added @lalalostcode as a contributor to tinytorch! 🎉

Recognized for: bug
Based on: @all-contributors @lalalostcode reported Windows encoding bug in tinytorch

The contributor list has been updated in:

  • tinytorch/.all-contributorsrc
  • tinytorch/README.md
  • Main README.md

We love recognizing our contributors! ❤️

<!-- gh-comment-id:3806870486 --> @github-actions[bot] commented on GitHub (Jan 27, 2026): I've added @lalalostcode as a contributor to **tinytorch**! :tada: **Recognized for:** bug **Based on:** @all-contributors @lalalostcode reported Windows encoding bug in tinytorch The contributor list has been updated in: - `tinytorch/.all-contributorsrc` - `tinytorch/README.md` - Main `README.md` We love recognizing our contributors! :heart:
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/cs249r_book#4327