updating the quest version with new ocr stuff
This commit is contained in:
parent
9eb4624cc5
commit
18e2fb1e77
23
containers/ocr_job_script.sh
Normal file
23
containers/ocr_job_script.sh
Normal file
@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
#SBATCH -A p32852
|
||||
#SBATCH -p gengpu
|
||||
#SBATCH --gres=gpu:a100:1
|
||||
#SBATCH --nodes=2
|
||||
#SBATCH --ntasks-per-node=1
|
||||
#SBATCH --time=24:00:00
|
||||
#SBATCH --mem=64G
|
||||
#SBATCH --cpus-per-task=4
|
||||
#SBATCH --job-name=SLR_OCR
|
||||
#SBATCH --output=slr_ocr_job.log
|
||||
#SBATCH --mail-type=BEGIN,END,FAIL
|
||||
#SBATCH --mail-user=gaughan@u.northwestern.edu
|
||||
|
||||
echo "setting up the environment by loading singularity at $(date)"
|
||||
|
||||
module load singularity
|
||||
|
||||
echo "singularity loaded, running the job command at $(date)"
|
||||
|
||||
singularity run --nv /home/nws8519/git/adaptation-slr/containers/new_olmocr_container.sif python -m olmocr.pipeline /home/nws8519/git/adaptation-slr/ocr_studies_text/ --markdown --pdfs /home/nws8519/git/adaptation-slr/studies_pdfs/*.pdf
|
||||
|
||||
echo "job pau at: $(date)"
|
0
containers/olmocr-pipeline-debug.log
Normal file
0
containers/olmocr-pipeline-debug.log
Normal file
@ -17,5 +17,5 @@ module load singularity
|
||||
|
||||
export SINGULARITY_CACHEDIR=$TMPDIR
|
||||
|
||||
singularity pull olmocr_container.sif docker://alleninstituteforai/olmocr:latest
|
||||
singularity pull new_olmocr_container.sif docker://alleninstituteforai/olmocr:latest
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user