Datasets:
Download source/slurm/full_clipseg.sbatch from Ethosoft/RefSeg-CA: direct link, hf CLI and curl.
- Browser
- Download file 662 Bytes
-
https://huggingface.co/datasets/Ethosoft/RefSeg-CA/resolve/main/source/slurm/full_clipseg.sbatch
- Command line
-
hf download hf://datasets/Ethosoft/RefSeg-CA/source/slurm/full_clipseg.sbatch
-
curl -L -o full_clipseg.sbatch https://huggingface.co/datasets/Ethosoft/RefSeg-CA/resolve/main/source/slurm/full_clipseg.sbatch
662 Bytes
| #!/bin/bash | |
| #SBATCH --job-name=r2-full-clipseg | |
| #SBATCH --partition=debug | |
| #SBATCH --array=0-3%4 | |
| #SBATCH --nodes=1 | |
| #SBATCH --ntasks=1 | |
| #SBATCH --cpus-per-task=8 | |
| #SBATCH --mem=32G | |
| #SBATCH --gres=gpu:1 | |
| #SBATCH --time=03:30:00 | |
| #SBATCH --dependency=afterok:6332001 | |
| #SBATCH --output=logs/full-clipseg-%A_%a.out | |
| #SBATCH --error=logs/full-clipseg-%A_%a.err | |
| set -euo pipefail | |
| export OMP_NUM_THREADS=4 OPENBLAS_NUM_THREADS=1 MKL_NUM_THREADS=4 TOKENIZERS_PARALLELISM=false | |
| export PYTHONPATH="/arf/scratch/egitimg16u1/mcp-workspace/refseg_scale_20260906/vendor${PYTHONPATH:+:$PYTHONPATH}" | |
| python3 -u code/infer_r2.py --model clipseg --shard "$SLURM_ARRAY_TASK_ID" --shards 4 | |