suchirsalhan's picture
Back up code/scripts/run_panel.sh
9957fbc verified
Raw
History Blame Contribute Delete
596 Bytes
#!/usr/bin/env bash
# Regenerate every table and figure from whatever is on disk now, and publish.
# The sweep calls the same entry point after each family; this is the manual equivalent.
# bash scripts/run_panel.sh
set -u
cd "$(dirname "$0")/.."
PY=${PYTHON:-/root/venvs/mergeability/bin/python}
[ -f /root/.ms_hf_env ] && set -a && . /root/.ms_hf_env && set +a
export MB_THREADS=${MB_THREADS:-8}
export OMP_NUM_THREADS=$MB_THREADS MKL_NUM_THREADS=$MB_THREADS
export OPENBLAS_NUM_THREADS=$MB_THREADS NUMEXPR_NUM_THREADS=$MB_THREADS
PYTHONPATH=src exec "$PY" -u -m mergeschool.mergebench.panel