-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreproduce.sh
More file actions
executable file
Β·45 lines (39 loc) Β· 1.39 KB
/
reproduce.sh
File metadata and controls
executable file
Β·45 lines (39 loc) Β· 1.39 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/bash
# Quick validation workflow for reviewers (10 minutes)
# Assumes results/ directory contains pre-computed results.json files
set -e
echo "π¬ BitNet Reproducibility Validation..."
echo ""
echo "This script validates that paper artifacts can be regenerated from results/"
echo "Full experimental reproduction requires 920 GPU-hours (see EXPERIMENTS_REFERENCE.sh)"
echo ""
# Setup environment
echo "π¦ Setting up environment..."
uv sync
echo "β Environment ready"
echo ""
# Aggregate results
echo "π Aggregating 153 experiment results..."
uv run python -m analysis.aggregate_results
echo "β Created: results/processed/aggregated.csv"
echo ""
# Generate paper content
echo "π Generating paper tables and figures..."
uv run python -m analysis.generate_tables
uv run python -m analysis.generate_figures
echo "β Created: paper/tables/*.tex and paper/figures/*.pdf"
echo ""
# Compile paper
echo "π Compiling paper PDF..."
cd paper && pdflatex main.tex && pdflatex main.tex && pdflatex main.tex && cd ..
echo "β Created: paper/main.pdf"
echo ""
echo "β
Validation complete!"
echo ""
echo "Generated artifacts:"
echo " - results/processed/aggregated.csv (aggregated results)"
echo " - paper/tables/*.tex (12 LaTeX tables)"
echo " - paper/figures/*.pdf (6 figures)"
echo " - paper/main.pdf (28-page paper)"
echo ""
echo "To run full experiments (920 GPU-hours), see: EXPERIMENTS_REFERENCE.sh"