This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Setup script for Tinygrad, including all supported backends, made it for WSL2 Ubuntu 22.04 running on Windows 10/11 with an up-to-date Nvidia GPU driver (it should work for native Ubuntu too) | |
# To use this script, save it in a file: nano setup_environment.sh | |
# give it execute permissions: chmod +x setup_environment.sh | |
# and then run it: ./setup_environment.sh | |
# Make sure to run it in a terminal where you have administrative (sudo) access, as some steps require it. | |
# Initialize variables |