mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-06 09:38:33 -05:00
[PR #1105] [CLOSED] Patch tinytorch installer script for Windows-Unix Support #1122
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?
📋 Pull Request Information
Original PR: https://github.com/harvard-edge/cs249r_book/pull/1105
Author: @rnjema
Created: 1/8/2026
Status: ❌ Closed
Base:
dev← Head:fix-tt-win-install📝 Commits (2)
f8f4af4Ensure all file modifications follow Unix-style LF EOL specification27a1bcdfeat(tinytorch): add functionality support for Linux and Git Bash environments.📊 Changes
2 files changed (+37 additions, -8 deletions)
View changed files
📝
tinytorch/.gitattributes(+2 -0)📝
tinytorch/site/extra/install.sh(+35 -8)📄 Description
This pull request proposes an enhancement to the installer Bash script, thus, in a way addresses #1078 as well as follows up on #1083 .
First of all the enhancement to this script assumes the user will run it on a UNIX environment, thus, for Windows users in particular, running using Git Bash or WSL should work just fine. As I have noticed, the painpoint in the original
install.shscript emanates from the differences in setting up virtual environments between UNIX and Windows.The proposed modification checks the platform before use to dynamically determine how the virtual environment must be setup, on the other hand, it forces the setup to use the Python executable defined within the scope of the virtual environment.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.