Commit 6e8ecc81 authored by lucas_miranda's avatar lucas_miranda
Browse files

Added a MirroredStrategy to train models on multiple GPUs if they are available

parent 88b3c88a
Pipeline #100288 passed with stages
in 22 minutes and 49 seconds
......@@ -6,10 +6,7 @@ snakemake --snakefile deepof_experiments.smk --forceall --dag | dot -Tpdf > deep
snakemake --snakefile deepof_experiments.smk --forceall --rulegraph | dot -Tpdf > deepof_experiments_RULEGRAPH.pdf
module load anaconda/3
module load intel/18.0.5
module load cuda/10.1
module load cudnn/7.6.5
module load nccl/2.6.4
module load tensorrt/6.0.1
module load cuda/10.2
module load tensorflow/gpu/2.4.0
pipenv run snakemake --snakefile deepof_experiments.smk deepof_experiments -j 20 --latency-wait 15 --cluster-config cluster.json --cluster "sbatch --time={cluster.time} --mem={cluster.mem} -o {cluster.stdout} -e {cluster.stderr} --job-name={cluster.jobname} --cpus-per-task={cluster.cpus} --constraint="gpu" --gres=gpu:gtx980:1" > deepof_experiments.out 2> deepof_experiments.err
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment