Commit Graph

18 Commits

Author SHA1 Message Date
Vijay Janapa Reddi
173f28f88d fix(tinytorch): clean up Windows install fix comments from PR #1169
Polish the contributor's Windows fix with proper comments explaining
the Microsoft Store alias issue and WinError 32 file lock. Move
is_windows check closer to usage site for clarity.
2026-02-13 11:39:28 -05:00
Adil Mubashir Chaudhry
f2975daa67 Fix Windows install issues
- Prefer python over python3 in Git Bash to avoid Microsoft Store alias and incorrect venv paths
- Skip TinyTorch self-reinstall on Windows if already installed (prevents WinError 32 file lock)
2026-02-12 14:47:35 +05:00
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
0f67780f5a feat: enable Windows support by default with Git Bash
- CI now runs both Linux and Windows by default (matrix)
- Updated install.sh to detect Windows venv path (Scripts/ vs bin/)
- Added Windows installation instructions to getting-started.md
- Updated troubleshooting guide with Git Bash guidance
- Windows uses Git Bash for cross-platform bash script compatibility
2026-01-26 10:02:27 -05:00
Vijay Janapa Reddi
e7bdbe9e58 fix: integrate fresh install test into CI pipeline
- Add TINYTORCH_NON_INTERACTIVE env var to install.sh for CI/scripted usage
- Skip interactive prompts when no TTY available or non-interactive mode set
- Add Stage 7 (Fresh Install) to tinytorch-ci.yml
- Remove separate tinytorch-install-test.yml workflow
- Fresh install now gates PRs/merges like other tests
2026-01-25 10:51:04 -05:00
Vijay Janapa Reddi
eea7f690dc feat(tinytorch): single source of truth for version management
- install.sh now fetches version from GitHub tags API instead of hardcoding
- README.md badge uses dynamic shields.io GitHub tag filter
- Add release.sh script for version bumping and tagging workflow

Version is now managed solely in pyproject.toml. Other files read it at
runtime or via GitHub API, eliminating version drift across files.
2026-01-23 14:48:55 -05:00
Vijay Janapa Reddi
71b754037a feat: apply stashed improvements after merge
Key improvements from local development:
- conftest.py: Add package export validation before tests run
- preflight.py: Stricter Tensor import check (fail if None)
- 06_autograd.py: Set requires_grad manually in tests (progressive disclosure)
- 08_training.py, 09_convolutions.py: Add enable_autograd() calls
- install.sh: Environment variable overrides for testing
- nbdev.py: Fix import path for DevExportCommand

Also syncs CI/publish workflows from origin/dev
2026-01-23 13:31:27 -05:00
github-actions[bot]
91d1ab407f chore(tinytorch): bump version to tinytorch-v0.1.4 2026-01-22 17:44:59 +00:00
github-actions[bot]
c1a99d4054 chore(tinytorch): bump version to tinytorch-v0.1.3 2026-01-14 22:40:59 +00:00
github-actions[bot]
ef998d35c0 chore(tinytorch): bump version to tinytorch-v0.1.2 2026-01-14 16:59:57 +00:00
github-actions[bot]
146bdd0aba chore(tinytorch): bump version to tinytorch-v0.1.3 2026-01-14 16:47:15 +00:00
Vijay Janapa Reddi
5189ebb8ed feat(tinytorch): install script pulls from main branch for stability
Users now get stable, released code instead of potentially untested dev code.
Bug fixes and features still reach users quickly via the release workflow.
2026-01-14 11:27:55 -05:00
github-actions[bot]
c5dd3ce232 chore(tinytorch): bump version to tinytorch-v0.1.2 2026-01-14 16:27:05 +00:00
Vijay Janapa Reddi
4d776ee8ee fix(tinytorch): support Python 3.8+ instead of 3.10+
- Use typing.Optional and typing.Tuple for 3.8 compatibility
- Update installer to check for 3.8+ instead of 3.10+
- Update docs to reflect 3.8+ requirement
- Matches pyproject.toml classifiers
2026-01-13 14:46:48 -05:00
Vijay Janapa Reddi
152f701171 fix(tinytorch): update install URL and version in installer
- Use mlsysbook.ai/tinytorch/install.sh for update command
- Update installer version to 0.1.1
- Add installer version bump to publish workflow
2026-01-13 14:42:58 -05:00
Karthik Dani
75d330ea58 Fix: Update installer to require Python 3.10+ and detect Homebrew version (#1086)
* Fix: Update installer to require Python 3.10+ and detect Homebrew versions

* Retained removal of files and folders not required by students
2025-12-30 15:20:22 -05:00
Vijay Janapa Reddi
7f2b504041 fix(tinytorch): update install URL to mlsysbook.ai/tinytorch/install.sh 2025-12-16 08:35:03 -05:00
Vijay Janapa Reddi
ae0248b9e9 fix(tinytorch): rename install to install.sh for correct content-type serving 2025-12-16 08:15:45 -05:00