Skip to content

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Filangi committed Oct 23, 2024
1 parent c93643c commit aff58d9
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions exec-sbatch-gpu.sh
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
#!/bin/bash

#SBATCH --job-name=owl_abstract_encoding_similarities
#SBATCH --job-name=similarities_compute
#SBATCH --chdir=/scratch/ofilangi/workspace/encoder-ontology-match-abstract
#SBATCH --output=out_process_igepp.txt
#SBATCH --output=planteome_annot_pubmeb.txt
#SBATCH --ntasks=1
#SBATCH --gpus=1
#SBATCH --mem=20G
#SBATCH --mem=10G

## sbatch -p gpu exec.sh

source ./check_slurm_memory.sh

/local/env/envpython-3.9.5.sh
. env/bin/activate

conffile=config/igepp.json

python -m llm_semantic_annotator $conffile 1

. /local/env/envpython-3.9.5.sh
conffile=./pubmed-all.json
./exec.sh $conffile 1

if [ $? -eq 0 ]; then
./exec.sh $conffile 8
fi

0 comments on commit aff58d9

Please sign in to comment.