unit_test.sh 574 Bytes
Newer Older
Jeff Daily's avatar
Jeff Daily committed
1
2
3
4
5
6
python python_single_gpu_unit_test.py || exit 1
python single_gpu_unit_test.py || exit 1
python test_batchnorm1d.py || exit 1
python -m torch.distributed.launch --nproc_per_node=2 two_gpu_unit_test.py || exit 1
python -m torch.distributed.launch --nproc_per_node=2 two_gpu_unit_test.py --fp16 || exit 1
python -m torch.distributed.launch --nproc_per_node=2 two_gpu_test_different_batch_size.py --apex || exit 1
root's avatar
root committed
7
#beware, you need a system with at least 4 gpus to test group_size<world_size
jjsjann123's avatar
jjsjann123 committed
8
#python -m torch.distributed.launch --nproc_per_node=4 test_groups.py --group_size=2