#!/usr/bin/env bash
set -euo pipefail
# Run in the downloaded release directory on your Linux Docker host.
sha256sum -c launch-tools-r2.tar.gz.sha256
mkdir -p launch-tools-r2
tar -xzf launch-tools-r2.tar.gz -C launch-tools-r2

# Edit these host choices; numerical/runtime settings remain pinned.
MODEL_DIR=/absolute/path/to/pinned-Qwen3.8-checkpoint
RUN_DIR=/absolute/path/to/new-runs/v620-fp16-tp4-mtp2
GPU_RENDER_NODES=renderD128,renderD129,renderD130,renderD131

# Starts a fresh cohort, runs the original ladder, and stops only that new cohort.
python3 launch-tools-r2/portable/launch.py --config v620-fp16-tp4-mtp2 --model "$MODEL_DIR" --work-dir "$RUN_DIR" --renders "$GPU_RENDER_NODES" --benchmark
