Add post-training folder

This commit is contained in:
leigest519
2025-10-22 15:38:32 +08:00
parent d59a5c14bd
commit 1f1933636d
326 changed files with 45070 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#!/bin/bash
set -euo pipefail
# Usage: bash scripts/run_rl.sh <VLM-R1/run_scripts/*.sh>
# For direct torchrun or python entrypoints, pass them after a --.
if [ $# -lt 1 ]; then
echo "Usage: $0 <VLM-R1/run_scripts/*.sh | -- <cmd...>>"
exit 1
fi
SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
REPO_ROOT=$(cd -- "$SCRIPT_DIR/.." && pwd)
cd "$REPO_ROOT/VLM-R1"
if [ "$1" == "--" ]; then
shift
"$@"
else
bash "$1"
fi