#!/bin/bash export MKL_NUM_THREADS=1 export OMP_NUM_THREADS=1 cudaid=${language_model:=0} # use 0-th card as default export CUDA_VISIBLE_DEVICES=$cudaid FLAGS_benchmark=true python train.py --enable_ce | python _ce.py cudaid=${language_model_m:=0,1,2,3} # use 0,1,2,3 card as default export CUDA_VISIBLE_DEVICES=$cudaid FLAGS_benchmark=true python train.py --enable_ce | python _ce.py