Commit Graph

3 Commits

Author SHA1 Message Date
Vijay Janapa Reddi
446993eee6 feat(tinytorch): improve Windows/Git Bash installer support
Improvements based on PR #1105 by @rnjema:
- Add get_platform() function for OS detection
- Use $PYTHON_CMD -m pip for more reliable pip invocation
- Show Windows-specific guidance during installation
- Add text=auto to .gitattributes for cross-platform line endings

Closes #1078

Co-authored-by: rnjema <rnjema@users.noreply.github.com>
2026-01-27 12:51:38 -05:00
Vijay Janapa Reddi
b529654b86 fix: remove dataset files from Git LFS
TinyDigits pkl files were stored in LFS, causing install failures
when users don't have git-lfs installed. The sparse checkout would
download LFS pointer files instead of actual data, causing pickle
to fail with 'invalid load key' errors.

These files are small (~300KB total) so LFS is unnecessary.

Fixes #1129
2026-01-23 09:12:32 -05:00
Vijay Janapa Reddi
c602f97364 feat: integrate TinyTorch into MLSysBook repository
TinyTorch educational deep learning framework now lives at tinytorch/

Structure:
- tinytorch/src/         - Source modules (single source of truth)
- tinytorch/tito/        - CLI tool
- tinytorch/tests/       - Test suite
- tinytorch/site/        - Jupyter Book website
- tinytorch/milestones/  - Historical ML implementations
- tinytorch/datasets/    - Educational datasets (tinydigits, tinytalks)
- tinytorch/assignments/ - NBGrader assignments
- tinytorch/instructor/  - Teaching materials

Workflows (with tinytorch- prefix):
- tinytorch-ci.yml           - CI/CD pipeline
- tinytorch-publish-dev.yml  - Dev site deployment
- tinytorch-publish-live.yml - Live site deployment
- tinytorch-build-pdf.yml    - PDF generation
- tinytorch-release-check.yml - Release validation

Repository Variables added:
- TINYTORCH_ROOT  = tinytorch
- TINYTORCH_SRC   = tinytorch/src
- TINYTORCH_SITE  = tinytorch/site
- TINYTORCH_TESTS = tinytorch/tests

All workflows use \${{ vars.TINYTORCH_* }} for path configuration.

Note: tinytorch/site/_static/favicon.svg kept as SVG (valid for favicons)
2025-12-05 19:23:18 -08:00