fix libri train.sh

pull/538/head
Hui Zhang 5 years ago
parent 52147c9cb4
commit 05bc548d37

@ -1,6 +1,8 @@
#! /usr/bin/env bash
export FLAGS_sync_nccl_allreduce=0
# https://github.com/PaddlePaddle/Paddle/pull/28484
export NCCL_SHM_DISABLE=1
ngpu=$(echo ${CUDA_VISIBLE_DEVICES} | python -c 'import sys; a = sys.stdin.read(); print(len(a.split(",")));')
echo "using $ngpu gpus..."

Loading…
Cancel
Save