tinytorch/site/tito/data.md
Purpose: Learn how TinyTorch tracks your progress, where your data lives, and how to manage it effectively.
TinyTorch uses a clean, simple approach to track your ML systems engineering journey:
:align: center
:caption: "**Progress Tracking Flow.** Build modules, export to package, unlock historical milestones, and track achievements through two parallel systems."
graph LR
A[Build Modules] --> B[Complete 01-20]
B --> C[Export to Package]
C --> D[Unlock Milestones]
D --> E[Achieve 1958-2018]
E --> F[Track Progress]
style A fill:#e3f2fd
style B fill:#fffbeb
style C fill:#f0fdf4
style D fill:#fef3c7
style E fill:#f3e5f5
style F fill:#e8eaf6
Simple relationship:
All your progress is stored in the .tito/ folder:
TinyTorch/
├── .tito/ ← Your progress data
│ ├── config.json ← User preferences
│ ├── progress.json ← Module completion (01-20)
│ ├── milestones.json ← Milestone achievements (01-06)
│ └── backups/ ← Automatic safety backups
│ ├── 01_tensor_YYYYMMDD_HHMMSS.py
│ ├── 02_activations_YYYYMMDD_HHMMSS.py
│ └── ...
├── modules/ ← Where you edit
├── tinytorch/ ← Where code exports
└── ...
config.json - User Preferences
{
"logo_theme": "standard"
}
progress.json - Module Completion
{
"version": "1.0",
"completed_modules": [1, 2, 3, 4, 5, 6, 7],
"completion_dates": {
"1": "2025-11-16T10:00:00",
"2": "2025-11-16T11:00:00",
...
}
}
tito module complete XXmilestones.json - Milestone Achievements
{
"version": "1.0",
"completed_milestones": ["03"],
"completion_dates": {
"03": "2025-11-16T15:00:00"
}
}
tito milestone run XXbackups/ - Module Backups
XX_name_YYYYMMDD_HHMMSS.pytito module statustito module status
Shows your module completion progress:
╭─────────────── TinyTorch Progress ────────────────╮
│ │
│ Modules Completed: 7/20 (35%) │
│ Milestones Achieved: 1/6 (17%) │
│ Last Activity: Module 07 (2 hours ago) │
│ │
│ Next Steps: │
│ • Complete modules 08-09 to unlock Milestone 04 │
│ │
╰──────────────────────────────────────────────────────╯
Module Progress:
01 Tensor
02 Activations
03 Layers
04 Losses
05 DataLoader
06 Autograd
07 Optimizers
08 Training
09 Convolutions
10 Tokenization
...
Milestone Achievements:
03 - MLP Revival (1986)
04 - CNN Revolution (1998) [Ready after modules 08-09]
05 - Transformer Era (2017)
06 - MLPerf (2018)
Use this to:
tito milestone statustito milestone status
Shows your milestone achievements:
Need to start a module over? The reset command lets you reset a specific module cleanly.
tito module reset XX
What this does:
Example:
tito module reset 03
Example output:
️ Warning: This will reset Module 03 (Layers)
This will:
• Backup current implementation
• Reset module to clean state
• Clear module completion status
Your code will be backed up to .tito/backups/
Continue? [y/N]: y
Creating backup at .tito/backups/03_layers_20251116_143000.py
Resetting module to clean state
Reset Complete!
You're ready to start fresh on Module 03.
Run: tito module start 03
Before any reset, TinyTorch automatically:
.tito/backups/XX_name_YYYYMMDD_HHMMSS.pyTinyTorch automatically backs up your work:
<div style="background: #f0fdf4; padding: 1.5rem; border-radius: 0.5rem; border-left: 4px solid #22c55e; margin: 1.5rem 0;">When backups happen:
.tito/ backupWhere backups go:
.tito/backups/
├── 01_tensor_20251116_100000.py
├── 01_tensor_20251116_143000.py
├── 03_layers_20251115_180000.py
└── ...
How to use backups:
# Backups are timestamped - find the one you need
ls -la .tito/backups/
# Manually restore if needed
cp .tito/backups/03_layers_20251115_180000.py modules/03_layers/layers_dev.py
No problem! TinyTorch recovers gracefully:
# If .tito/ is deleted, next command recreates it
tito system health
What happens:
.tito/ foldermodules/ and tinytorch/ is safeImportant: Your actual code (source in src/, notebooks in modules/, package in tinytorch/) is separate from progress tracking (in .tito/). Deleting .tito/ only resets progress tracking, not your implementations.
tito system health
Now includes data health checks:
╭────────── TinyTorch System Check ──────────╮
│ │
│ Environment setup │
│ Dependencies installed │
│ TinyTorch in development mode │
│ Data files intact │
│ .tito/progress.json valid │
│ .tito/milestones.json valid │
│ .tito/config.json valid │
│ Backups directory exists │
│ │
╰───────────────────────────────────────────────╯
All systems ready!
If data is corrupted:
Data files corrupted
.tito/progress.json is malformed
Fix by removing and recreating:
rm .tito/progress.json
tito system health # Recreates the file
Or restore from backup:
cp .tito_backup_YYYYMMDD/.tito/progress.json .tito/
Good habits:
tito module status
tito milestone status
See where you are, what's next
tito system health
Catch issues early
tito module reset XX # Reset a specific module
git commit -m "Completed Module 05: DataLoader"
.tito/ is gitignored - use git for code versions
Tracked when: You run tito module complete XX
What's recorded:
Visible in:
tito module status.tito/progress.jsonTracked when: You run tito milestone run XX
What's recorded:
Visible in:
tito milestone status.tito/milestones.jsonTinyTorch does NOT track:
src/, notebooks in modules/, package in tinytorch/)Why: TinyTorch is a local, offline learning tool. Your privacy is protected. All data stays on your machine.
</div># Reset module 03 to start fresh
tito module reset 03
# Start working on it again
tito module start 03
Result: Module 03 reset to clean state, backup created, other modules untouched
</div># Just run the milestone again
tito milestone run 03
Result: Milestone re-runs using your current implementations
</div># Just run any tito command
tito system health
# OR
# If you have a backup
cp -r .tito_backup_YYYYMMDD/ .tito/
Result: .tito/ folder recreated, either fresh or from backup
# Copy your progress folder
cp -r .tito/ ~/Desktop/my-tinytorch-progress/
Result: Friend can see your progress by copying to their .tito/ folder
A: No! Reset commands only affect progress tracking in .tito/. Your source code in src/, notebooks in modules/, and exported code in tinytorch/ are never touched.
A: Yes, but not recommended. Use tito commands instead. Manual edits might break validation.
A: Just run tito module complete XX again. It will re-run tests and re-export. Progress tracking remains unchanged.
A: Run tito module status for a formatted view, or check .tito/progress.json and .tito/milestones.json directly.
A: Yes, backups in .tito/backups/ can be deleted manually. They're safety nets, not requirements.
A: No. TinyTorch is completely local. No data leaves your machine. No tracking, no analytics, no cloud sync.
Your progress is tracked, your data is safe, and your journey is yours. TinyTorch keeps track of what you've built and achieved - you focus on learning ML systems engineering.