File size: 974 Bytes
d0f5e0c | 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 34 35 36 37 38 39 40 41 42 43 44 45 46 | #!/usr/bin/env bash
set -euo pipefail
BASE="${BASE:-/data/home/user-test/SHC/COVT}"
echo "== Host =="
hostname
date
id
echo
echo "== Project tree =="
test -d "$BASE"
find "$BASE" -maxdepth 2 -type d | sort
echo
echo "== Public CoVT commit =="
cd "$BASE/upstream/CoVT"
git remote -v
git rev-parse HEAD
git status --short
echo
echo "== Paper files =="
sha256sum "$BASE/papers/2511.19418.pdf" "$BASE/papers/2511.19418.txt"
echo
echo "== Python modules already visible in workspace =="
python3 - <<'PY'
mods = ["torch", "transformers", "peft", "safetensors", "huggingface_hub", "qwen_vl_utils", "deepspeed"]
for name in mods:
try:
mod = __import__(name)
print(f"{name}: OK {getattr(mod, '__version__', '')}")
except Exception as exc:
print(f"{name}: MISS {type(exc).__name__}: {str(exc)[:120]}")
PY
echo
echo "== Slurm REST wrappers =="
command -v rest-sbatch
command -v rest-jobs-summary
echo
echo "CPU workspace verification complete."
|