Download bin/torchrun from meccatronis/pytorch_rocm_env: direct link, hf CLI and curl.
- Browser
- Download file 217 Bytes
-
https://huggingface.co/meccatronis/pytorch_rocm_env/resolve/main/bin/torchrun
- Command line
-
hf download hf://meccatronis/pytorch_rocm_env/bin/torchrun
-
curl -L -o torchrun https://huggingface.co/meccatronis/pytorch_rocm_env/resolve/main/bin/torchrun
217 Bytes
| #!/home/crhon/pytorch_rocm_env/bin/python3 | |
| import sys | |
| from torch.distributed.run import main | |
| if __name__ == '__main__': | |
| if sys.argv[0].endswith('.exe'): | |
| sys.argv[0] = sys.argv[0][:-4] | |
| sys.exit(main()) | |