Phase VII Capstone · Days 107–112 · ~15 hours The culmination of the 112-day LLM-to-VLA curriculum
Fine-tune OpenVLA on a custom manipulation task, deploy it as a real-time control loop, and rigorously evaluate performance. This project ties together every skill from the curriculum: deep learning foundations, vision-language understanding, imitation learning, and robot control.
| Resource | Minimum | Recommended |
|---|---|---|
| GPU | T4 16 GB (with 4-bit quant) | A100 40 GB |
| RAM | 32 GB | 64 GB |
| Disk | 50 GB free | 100 GB free |
| Python | 3.10+ | 3.10 |
| Key libs | transformers, peft, lerobot, simple-pid | + wandb, tensorboard |
pusht, aloha_sim_transfer_cube).DataLoader with proper collation (image, instruction, action).Deliverable: data_pipeline.py with verified DataLoader and sample plots.
Deliverable: finetune.py, saved adapter in checkpoints/, wandb run link.
Deliverable: deploy.py with latency profiling output.
Deliverable: evaluate.py, evaluation report with plots.
Deliverable: safety_layer.py, comparison table.
| # | Artifact | Format |
|---|---|---|
| 1 | Fine-tuned LoRA adapter | checkpoints/best_lora_adapter/ |
| 2 | Deployment code | deploy.py with ≥10 Hz control loop |
| 3 | Evaluation report | REPORT.md with embedded plots |
| 4 | Plots | success rate bar, latency histogram, attention heatmaps |
| 5 | Reflection essay | reflection.md — 2 pages: “From Backprop to VLA” |
| Category | Points | Criteria |
|---|---|---|
| Implementation quality | 30 | Clean code, modular design, reproducible with a single script. LoRA fine-tuning converges and adapter loads correctly. |
| Evaluation rigor | 25 | 100-episode evaluation, generalization test, ablation vs base model, statistical reporting (mean ± std). |
| Hybrid safety system | 15 | Safety layer catches ≥90 % of out-of-bounds actions. Comparison table shows trade-off clearly. |
| Analysis & visualization | 15 | Attention heatmaps on ≥3 scenes, failure mode categorization, latency histogram with percentiles. |
| Reflection essay | 15 | Connects curriculum arc (backprop → transformers → VLMs → IL → VLA). Honest about limitations and surprises. |
| Grade | Points | Description |
|---|---|---|
| A | 90–100 | Publication-quality evaluation, novel insight in reflection |
| B | 75–89 | All tasks complete, solid analysis |
| C | 60–74 | Core pipeline works, evaluation is thin |
| F | <60 | Pipeline incomplete or does not run |
# 1. Activate environment from Exercise 11
conda activate vla
# 2. Create project directory
mkdir -p project-07-vla-capstone && cd project-07-vla-capstone
# 3. Copy your Exercise 11 utilities
cp ../exercises/11_ex1_openvla_inference.py utils_inference.py
cp ../exercises/11_ex3_vla_finetune.py utils_finetune.py
cp ../exercises/11_ex4_hybrid_controller.py utils_hybrid.py
# 4. Scaffold project files
touch data_pipeline.py finetune.py deploy.py evaluate.py safety_layer.py
touch REPORT.md reflection.md
# 5. Start with Task 1 — data exploration
python data_pipeline.py --task pusht --visualize
| Day | Focus | Hours |
|---|---|---|
| 107 | Task 1: data pipeline + Task 2: start fine-tuning | 3 |
| 108 | Task 2: finish fine-tuning + Task 3: deploy | 3 |
| 109 | Task 3: optimize latency + Task 4: evaluation | 3 |
| 110 | Task 4: finish evaluation + Task 5: safety layer | 3 |
| 111 | Polish report, generate final plots | 2 |
| 112 | Write reflection essay, final review | 1 |
Project 07 — the final milestone of the LLM-to-VLA curriculum.