summaryrefslogtreecommitdiff
path: root/diag/run_esan.sh
diff options
context:
space:
mode:
authorYurenHao0426 <Blackhao0426@gmail.com>2026-06-17 11:19:27 -0500
committerYurenHao0426 <Blackhao0426@gmail.com>2026-06-17 11:19:27 -0500
commitd12722525fc010a3910b5152c72654a2ade5eac4 (patch)
treeadbfd19bef487e1c959856d9bf7f881709684a7e /diag/run_esan.sh
Initial import
Diffstat (limited to 'diag/run_esan.sh')
-rw-r--r--diag/run_esan.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/diag/run_esan.sh b/diag/run_esan.sh
new file mode 100644
index 0000000..f87b379
--- /dev/null
+++ b/diag/run_esan.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+set -uo pipefail
+cd /home/yurenh2/rrog; export PYTHONPATH=/home/yurenh2/rrog
+echo "ESAN start gpu=${CUDA_VISIBLE_DEVICES:-?} $(date -Is)"
+for s in 0 1 2 3 4; do
+ echo "== esan s$s =="; python3 diag/esan_color.py --grad_mode full --seed "$s" || echo "!! esan s$s"
+done
+echo "doneESAN=$(date -Is)"