Download apex/tests/distributed/synced_batchnorm/unit_test.sh from bds2714/jukebox: direct link, hf CLI and curl.
- Browser
- Download file 350 Bytes
-
https://huggingface.co/bds2714/jukebox/resolve/main/apex/tests/distributed/synced_batchnorm/unit_test.sh
- Command line
-
hf download hf://bds2714/jukebox/apex/tests/distributed/synced_batchnorm/unit_test.sh
-
curl -L -o unit_test.sh https://huggingface.co/bds2714/jukebox/resolve/main/apex/tests/distributed/synced_batchnorm/unit_test.sh
350 Bytes
| python single_gpu_unit_test.py | |
| python -m torch.distributed.launch --nproc_per_node=2 two_gpu_unit_test.py | |
| python -m torch.distributed.launch --nproc_per_node=2 two_gpu_unit_test.py --fp64 | |
| #beware, you need a system with at least 4 gpus to test group_size<world_size | |
| python -m torch.distributed.launch --nproc_per_node=4 test_groups.py --group_size=2 | |