You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

hetu_2gpu_ps.sh 342 B

4 years ago
12345678910
  1. #!/bin/bash
  2. workdir=$(cd $(dirname $0); pwd)
  3. mainpy=${workdir}/../main.py
  4. ### validate and timing
  5. python -m hetu.launcher ${workdir}/../local_s1.yml -n 1 --sched &
  6. python ${mainpy} --model $1 --dataset $2 --validate --timing --comm-mode PS --gpu 0 &
  7. python ${mainpy} --model $1 --dataset $2 --validate --timing --comm-mode PS --gpu 1 &
  8. wait