File size: 680 Bytes
6618931
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env bash
set -euo pipefail

echo "=== HYDRA Setup ==="
echo ""

# Check uv
if ! command -v uv &>/dev/null; then
    echo "Installing uv..."
    curl -LsSf https://astral.sh/uv/install.sh | sh
fi

# Install Python dependencies
echo "Installing Python dependencies..."
cd "$(dirname "$0")/.."
uv sync

# Prepare data (download shards + train tokenizer)
echo ""
echo "Preparing data (this may take a few minutes on first run)..."
uv run prepare.py --num-shards 10

echo ""
echo "=== Setup complete ==="
echo "Run experiments with: uv run train.py"
echo "Run orchestrator with: uv run -m harness.orchestrator"
echo "Run Phase 1 subsystems with: bash scripts/run_phase1.sh"