(base) amax@amax:/data1/project/Restormer/basicsr$ python -m torch.distributed.launch --nproc_per_node=4 --master_port=4321 train.py -opt=/data1/project/Restormer/CT/Options/MAR_Restormer.yml --launcher pytorch
/home/amax/anaconda3/lib/python3.11/site-packages/torch/distributed/launch.py:183: FutureWarning: The module torch.distributed.launch is deprecated
and will be removed in future. Use torchrun.
Note that --use-env is set by default in torchrun.
If your script expects `--local-rank` argument to be set, please
change it to read from `os.environ['LOCAL_RANK']` instead. See
https://pytorch.org/docs/stable/distributed.html#launch-utility for
further instructions

  warnings.warn(
[2024-05-15 11:16:41,893] torch.distributed.run: [WARNING]
[2024-05-15 11:16:41,893] torch.distributed.run: [WARNING] *****************************************
[2024-05-15 11:16:41,893] torch.distributed.run: [WARNING] Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
[2024-05-15 11:16:41,893] torch.distributed.run: [WARNING] *****************************************
usage: train.py [-h] -opt OPT [--launcher {none,pytorch,slurm}]
                [--local_rank LOCAL_RANK]
train.py: error: unrecognized arguments: --local-rank=0
usage: train.py [-h] -opt OPT [--launcher {none,pytorch,slurm}]
                [--local_rank LOCAL_RANK]
train.py: error: unrecognized arguments: --local-rank=3
usage: train.py [-h] -opt OPT [--launcher {none,pytorch,slurm}]
                [--local_rank LOCAL_RANK]
train.py: error: unrecognized arguments: --local-rank=1
usage: train.py [-h] -opt OPT [--launcher {none,pytorch,slurm}]
                [--local_rank LOCAL_RANK]
train.py: error: unrecognized arguments: --local-rank=2
[2024-05-15 11:16:46,904] torch.distributed.elastic.multiprocessing.api: [ERROR] failed (exitcode: 2) local_rank: 0 (pid: 3852074) of binary: /home/amax/anaconda3/bin/python
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/amax/anaconda3/lib/python3.11/site-packages/torch/distributed/launch.py", line 198, in <module>
    main()
  File "/home/amax/anaconda3/lib/python3.11/site-packages/torch/distributed/launch.py", line 194, in main
    launch(args)
  File "/home/amax/anaconda3/lib/python3.11/site-packages/torch/distributed/launch.py", line 179, in launch
    run(args)
  File "/home/amax/anaconda3/lib/python3.11/site-packages/torch/distributed/run.py", line 803, in run
    elastic_launch(
  File "/home/amax/anaconda3/lib/python3.11/site-packages/torch/distributed/launcher/api.py", line 135, in __call__
    return launch_agent(self._config, self._entrypoint, list(args))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/amax/anaconda3/lib/python3.11/site-packages/torch/distributed/launcher/api.py", line 268, in launch_agent
    raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
============================================================
train.py FAILED
------------------------------------------------------------
Failures:
[1]:
  time      : 2024-05-15_11:16:46
  host      : amax
  rank      : 1 (local_rank: 1)
  exitcode  : 2 (pid: 3852075)
  error_file: <N/A>
  traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[2]:
  time      : 2024-05-15_11:16:46
  host      : amax
  rank      : 2 (local_rank: 2)
  exitcode  : 2 (pid: 3852076)
  error_file: <N/A>
  traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[3]:
  time      : 2024-05-15_11:16:46
  host      : amax
  rank      : 3 (local_rank: 3)
  exitcode  : 2 (pid: 3852077)
  error_file: <N/A>
  traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
------------------------------------------------------------
Root Cause (first observed failure):
[0]:
  time      : 2024-05-15_11:16:46
  host      : amax
  rank      : 0 (local_rank: 0)
  exitcode  : 2 (pid: 3852074)
  error_file: <N/A>
  traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
============================================================
(base) amax@amax:/data1/project/Restormer/basicsr$

上述报错原因是什么