# 2-Week Build Plan — Indic Heritage Studio v2 (8×80GB NVIDIA Dev → AMD Demo) **Hackathon window:** July 15 – August 6, 2026 (3 weeks available; we plan for 2 weeks of build + 1 week buffer) **Dev hardware:** 8 × NVIDIA A100/H100 80GB = 640 GB total VRAM **AMD GPU budget:** 10 credits = 10 GPU-hours on Radeon Cloud (only the final demo + benchmark burns these) **Strategy:** Develop 100% on NVIDIA. Burn AMD credits ONLY for: (1) ROCm verification (0.05 cr), (2) live demo video recording (1 cr), (3) official benchmark (0.5 cr). Estimated AMD usage: **~2 credits**, leaving 8 as buffer. --- ## Why This Plan Wins The v1 plan assumed a single 8 GB RTX 5060 — it had to compromise on every axis (SD 1.5 instead of SDXL, 512² instead of 1024², 8-frame video instead of 25-frame, no LoRA training, no ControlNet, no inpainting, no multi-GPU). With 8 × 80GB on tap, v2 removes every compromise: | Axis | v1 (8 GB) | v2 (8 × 80 GB) | Why it matters for the rubric | |---|---|---|---| | T2I model | SD 1.5 (DreamShaper) | **SDXL 1.0 + DreamShaper-XL turbo** | 4× higher resolution, dramatically better detail and coherence | | Style conditioning | Prompt tags only | **Per-style LoRA fine-tune + IP-Adapter XL** | Authentic heritage look, not just "looks vaguely Indian" | | Image → video | AnimateDiff 16f 512² | **Stable Video Diffusion XT 1.1, 25f 1024×576** | Industry-grade motion quality, 4× more frames | | Composition control | None | **ControlNet (Canny / Depth / OpenPose)** | Lets users precisely constrain layout — a new feature class | | Image repair | None | **SDXL inpainting** | Restore damaged real heritage paintings | | Batch throughput | 1 GPU sequential | **Multi-GPU data parallel, 4× workers** | ~4× speedup, scales to 8× if needed | | Resolution | 512² | **1024² (1536² for showcase)** | Publication-ready outputs | | Steps | 25 | **25 turbo / 50 high-quality + SDXL refiner** | Both fast iteration AND showcase quality | The rubric explicitly rewards: complete input→processing→output workflow (40 pts), innovative scenarios (20 pts), practical application & social value (20 pts), and clear/stable/diverse outputs on Radeon GPU (20 pts). v2 hits all four harder than v1 could. --- ## Hardware Reality Check The dev box you're on reports 8 GPUs × 81920 MB VRAM each. That's 640 GB total — likely 8 × A100 80GB or 8 × H100 80GB. This changes the build strategy completely: - **All pipelines can stay resident simultaneously.** No load/unload thrash. T2I on GPU 0, IP-Adapter XL on GPU 1, SVD on GPU 2, ControlNet on GPU 3 — and GPUs 4-7 are batch workers. - **LoRA training fits comfortably.** SDXL LoRA at rank 32 needs ~30 GB during training. Any single GPU on this box handles it without breaking a sweat. - **SVD at 25 frames @ 1024×576 is no problem.** No need to fall back to AnimateDiff-XL — SVD runs natively at full resolution. - **Batch processing parallelism is real.** A folder of 40 input images × 5 styles = 200 outputs. At 4 GPU workers × 30 sec/image, that's 25 minutes — vs. 100 minutes on a single GPU. The same Python code runs on AMD Radeon Cloud (single GPU, ~16 GB VRAM) for the final demo — `config/settings.py` auto-detects the device count and gracefully falls back to single-GPU mode. --- ## Week 1 (Jul 16–22) — Build + Train, Zero AMD Credits **Goal:** Set up env, prepare heritage art datasets, train per-style LoRAs, smoke-test every pipeline end-to-end. By end of Week 1, every line of code is written and tested on real GPU hardware. ### Day-by-day | Day | Task | Output | GPU-hours | |---|---|---|---| | Wed Jul 16 | Run `scripts/day1_setup.sh` — installs PyTorch CUDA, project deps, downloads all v2 models (~35 GB) | Local env ready | 0 | | Wed Jul 16 | Get AMD Model API key from https://developer.amd.com.cn/radeon/modelapis. Test with curl. Add to `.env`. | Agent API working | 0 | | Thu Jul 17 | Run `python scripts/verify_rocm.py` — confirm 8 GPUs visible, ~640 GB VRAM. Run `pytest tests/test_agents.py` — confirm agent layer works. | Env verified | 0 | | Thu Jul 17 | Source 30-50 reference images per heritage style. Place under `assets/datasets/raw/