#!/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."