Buckets:
| set -e | |
| echo "๐ Setting up TTT Pipeline Environment" | |
| echo "======================================" | |
| PROJECT_DIR="/Users/tahamajs/Documents/uni/Sysmem2_in_AI/CAs/CA15" | |
| cd "$PROJECT_DIR" | |
| if [ ! -d "venv" ]; then | |
| echo "๐ฆ Creating virtual environment..." | |
| python3 -m venv venv | |
| echo "โ Virtual environment created" | |
| else | |
| echo "โ Virtual environment already exists" | |
| fi | |
| echo "๐ง Activating virtual environment..." | |
| source venv/bin/activate | |
| echo "โฌ๏ธ Upgrading pip..." | |
| pip install --upgrade pip | |
| echo "๐ฆ Installing dependencies..." | |
| pip install -q torch transformers peft accelerate bitsandbytes \ | |
| openai wandb numpy matplotlib seaborn pandas datasets \ | |
| scikit-learn tqdm plotly jupyter ipywidgets | |
| echo "โ All dependencies installed successfully!" | |
| echo "๐งช Testing installation..." | |
| python -c " | |
| import torch | |
| import transformers | |
| import peft | |
| import matplotlib | |
| import seaborn | |
| import numpy as np | |
| print('โ All core packages imported successfully') | |
| print(f'PyTorch version: {torch.__version__}') | |
| print(f'Transformers version: {transformers.__version__}') | |
| print(f'PEFT version: {peft.__version__}') | |
| " | |
| echo "" | |
| echo "๐ Setup completed successfully!" | |
| echo "๐ You can now run: ./run.sh" | |
| echo "" | |
| echo "๐ Available commands:" | |
| echo " ./run.sh - Run complete TTT pipeline" | |
| echo " python test_comprehensive.py - Test all components" | |
| echo " python test_components.py - Test basic components" | |
| echo " source venv/bin/activate - Activate virtual environment" | |
Xet Storage Details
- Size:
- 1.54 kB
- Xet hash:
- 941e82ea926b97841ba96bf5ef68e42e13eb4daa99542d2cd5c7defbd0bd430c
ยท
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.