Buckets:
| #SBATCH --account=s26r07-07-users | |
| #SBATCH --partition=cpu | |
| #SBATCH --cpus-per-task=64 | |
| #SBATCH --mem=64G | |
| #SBATCH --time=0-03:00:00 | |
| #SBATCH --output=logs/%x-%A_%a.out | |
| # Environment tests (sbcs/envtest.py). Policies are read from <code>/cache/policies (cluster/stage_policies.py). | |
| # Usage: sbatch --array=0-K --job-name=envtest cluster/envtest.sbatch manifests/envtest_v1.txt | |
| set -euo pipefail | |
| source ~/.sbcs_secrets | |
| WORK=${TMPDIR:-/tmp}/et-$SLURM_JOB_ID-$SLURM_ARRAY_TASK_ID; mkdir -p "$WORK" | |
| CODE=${SLURM_SUBMIT_DIR:-$HOME/sbcs} | |
| # if the task fails (a failed test, or the upload did not get through), its tables are kept in <code>/envtest_out: | |
| # upload them from the login node, then delete the folder | |
| apptainer exec --bind "$CODE":/code --bind "$WORK" --env HF_TOKEN="$HF_TOKEN",PYTHONPATH=/code,OMP_NUM_THREADS=1,PYTHONDONTWRITEBYTECODE=1 \ | |
| ~/sbcs/sbcs.sif python -m sbcs.envtest --tests "$1" --task "$SLURM_ARRAY_TASK_ID" ${ET_ARGS:-} \ | |
| --workdir "$WORK" --procs "$SLURM_CPUS_PER_TASK" \ | |
| || { mkdir -p "$CODE/envtest_out"; cp "$WORK"/*.parquet "$CODE/envtest_out/" 2>/dev/null; exit 1; } | |
| rm -rf "$WORK" | |
Xet Storage Details
- Size:
- 1.12 kB
- Xet hash:
- 1b358f5392019a36f4d910a246b0e2ff99ea41d2038e07cc91a2179b1f9e9f6b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.