mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-07-16 23:24:55 -05:00
[GH-ISSUE #1134] v0.1.4: tito module export: Unexpected error #27835
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 @Takosaga on GitHub (Jan 23, 2026).
Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/1134
Did a fresh install and received the following
@profvjreddi commented on GitHub (Jan 23, 2026):
Hi @Takosaga -- thanks for reporting it, appreciate you posting an issue!
In commit
e7051671d(Jan 15, 2026), theExportCommandclass was removed fromtito/commands/export.pyas "unused", but the import in workflow.py:1372 was not updated:The fix: The
ModuleWorkflowCommandclass already has anexport_module()method (line 960) that handles student exports correctly. Thetito module exportsubcommand just needs to call that method instead of trying to import the deletedExportCommand.@profvjreddi commented on GitHub (Jan 23, 2026):
Fixed by removing the
tito module exportsubcommand entirely.Why it was removed:
tito module completewhich handles tests + exporttito module complete --skip-tests--all,--from-release) is developer-oriented and available viatito dev exportChanges made to workflow.py:
exportsubparser (lines 184-208)elif args.module_command == 'export'handler that was trying to import the deletedExportCommandtito module exportfrom the help textThe original
ExportCommandclass was removed in commite7051671dbut the subcommand reference was left behind, causing this error.@profvjreddi commented on GitHub (Jan 23, 2026):
Please use
tito module complete <module number>The complete command does:
Unit tests → Export → Integration tests → Progress tracking. With--skip-testsit just does the export step. But I wouldn't recommend it.@profvjreddi commented on GitHub (Feb 19, 2026):
Hi @Takosaga, thanks for all the bug reports across the early modules and tooling. You were one of the first people to really stress test tito and the module pipeline, and that feedback was invaluable for improving the experience for everyone who came after.
We're having a TinyTorch community meetup on Tuesday, March 3rd at 9am. Would you be interested in sharing a few minutes about your journey? What brought you to TinyTorch, what was your experience like getting started, that kind of thing.
As one of our earliest users, we'd love to thank you with a small gift too. Check Discord for more details!
@profvjreddi commented on GitHub (Feb 24, 2026):
Hi @Takosaga,
Thanks for your interest in the TinyTorch community meetup on Tuesday, March 3rd at 9am. To get you set up as a speaker and share logistics, we need a few details from you.
Please:
Reply to: karijanapareddi@gmail.com
CC: vj@eecs.harvard.edu and andreamattia.garavagno@santannapisa.it
Use the email address you want us to use for Zoom registration and for promoting you to panelist so you can speak on the call (it's a webinar-style meeting).
Slide We'd love it if you could share a slide or two about your experience, you can add them here—there's a template to follow:
https://docs.google.com/presentation/d/1h0bQZJVtmXYuO4jgakE3x3xGt0e8fNsvW7QfWK1_5D4/edit?slide=id.g3cac3cc65ae_0_19#slide=id.g3cac3cc65ae_0_19
We'll send logistical details (Zoom link, agenda, etc.) to your registered email.
Looking forward to having you on the call.