mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-06-01 23:21:29 -05:00
- Replace complex setup module with simple hello_tinytorch() function - Keep only the ASCII art file (tinytorch_flame.txt) for visual appeal - Simplify tests to just verify function runs and file exists - Update README to reflect simplified purpose and usage - Remove complex developer profiles and system info classes - Focus on minimal introduction to TinyTorch workflow
Setup Module
Welcome to TinyTorch! This is your first module in the Machine Learning Systems course.
Overview
The setup module is a simple introduction to TinyTorch that displays beautiful ASCII art to get you started on your ML systems journey.
Files
setup_dev.py- Main development file with the hello_tinytorch() functionsetup_dev.ipynb- Jupyter notebook version (auto-generated)tinytorch_flame.txt- ASCII art file containing the TinyTorch flame designtests/test_setup.py- Simple tests for the moduleREADME.md- This file
Usage
Python Script
from setup_dev import hello_tinytorch
hello_tinytorch()
Jupyter Notebook
Open setup_dev.ipynb and run the cells to see the ASCII art displayed.
Testing
Run the tests to verify everything works:
python3 tests/test_setup.py
ASCII Art Customization
The ASCII art is loaded from tinytorch_flame.txt. You can customize it by:
- Edit the file directly: Modify
tinytorch_flame.txtwith your own ASCII art - Create your own design: Replace the flame with your initials, logo, or any design you like
What You'll Learn
This simple module introduces:
- Basic Python file structure
- File I/O operations
- Error handling (fallback when file not found)
- Testing with simple assertions
- The TinyTorch development workflow
Next Steps
Once you've explored this module, you're ready to move on to the tensor module where you'll build the core data structures for TinyTorch!