Files
TinyTorch/setup-dev.sh
Vijay Janapa Reddi 09d1d00f06 Remove stale documentation files
Removed orphaned/duplicate files not referenced in table of contents:
- INSTRUCTOR_GUIDE.md (duplicate of instructor-guide.md)
- STUDENT_QUICKSTART.md (duplicate of quickstart-guide.md)
- TEAM_ONBOARDING.md (moved to usage-paths/)
- checkpoint-system.md (not in TOC, minimal refs)
- learning-progress.md (not in TOC, minimal refs)
- learning-journey-visual.md (not in TOC, self-ref only)
- cifar10-training-guide.md (no references)
- cover.md (not in TOC)
- PRIVACY_DATA_RETENTION.md (internal doc)
- INSTRUCTOR.md (root level, moved to docs/)
- Various old scripts (activate-tinytorch, cleanup scripts, etc.)

Website rebuilt successfully with 46 warnings (same as before).
All critical content preserved (student-workflow, quickstart-guide, etc.)
2025-11-28 05:05:44 +01:00

47 lines
1.3 KiB
Bash
Executable File

#!/bin/bash
# TinyTorch Development Environment Setup
# This script sets up the development environment for TinyTorch
set -e # Exit on error
echo "🔥 Setting up TinyTorch development environment..."
# Check if virtual environment exists, create if not
if [ ! -d ".venv" ]; then
echo "📦 Creating virtual environment..."
python3 -m venv .venv || {
echo "❌ Failed to create virtual environment"
exit 1
}
fi
# Activate virtual environment
echo "🔄 Activating virtual environment..."
source .venv/bin/activate
# Upgrade pip
echo "⬆️ Upgrading pip..."
pip install --upgrade pip
# Install dependencies
echo "📦 Installing dependencies..."
pip install -r requirements.txt || {
echo "⚠️ Some dependencies failed - continuing with essential packages"
}
# Install TinyTorch in development mode
echo "🔧 Installing TinyTorch in development mode..."
pip install -e . || {
echo "⚠️ Development install had issues - continuing"
}
echo "✅ Development environment setup complete!"
echo "💡 To activate the environment in the future, run:"
echo " source .venv/bin/activate"
echo ""
echo "💡 Quick commands:"
echo " tito system doctor - Diagnose environment"
echo " tito module test - Run tests"
echo " tito --help - See all commands"