blob: 39af2d67ea5b89b11d503da89221a573ab084e41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#!/usr/bin/env bash
set -euo pipefail
ROOT="/home/yurenh2/rrm"
cd "${ROOT}"
echo "== GPU =="
nvidia-smi --query-gpu=index,memory.used,memory.total,utilization.gpu --format=csv,noheader,nounits
echo
echo "== Active flossing processes =="
ps -eo pid,ppid,stat,etime,cmd | rg 'engelken_python_flossing.py|step7_interfloss.py' || true
echo
echo "== Latest logs =="
for dir in \
research/flossing/flossing_suite/results/toy_rnn \
research/flossing/flossing_suite/results/trm_faithful \
research/flossing/flossing_suite/results/trm_variants \
research/flossing/flossing_suite/results/smoke
do
[[ -d "${dir}" ]] || continue
for f in "${dir}"/*.log; do
[[ -f "${f}" ]] || continue
echo
echo "-- ${f} --"
tail -n 8 "${f}"
done
done
echo
echo "== Summary files =="
ls -lh research/flossing/flossing_suite/results/summary 2>/dev/null || true
|