百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
返回工具页/返回 Issues 列表
#449·FasterTransformer

使用 mpirun 时出错

作者: lambda7xx创建于 2023年2月14日更新于 2025年1月3日
标签bug

=================================================

Initializing tensor and pipeline parallel... Traceback (most recent call last): File "../examples/pytorch/gpt/multi_gpu_gpt_example.py", line 364, in main() File "/home/aiscuser/.local/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context return func(*args, **kwargs) File "../examples/pytorch/gpt/multi_gpu_gpt_example.py", line 219, in main comm.initialize_model_parallel(args.tensor_para_size, args.pipeline_para_size) File "/home/aiscuser/FasterTransformer/examples/pytorch/gpt/../../../examples/pytorch/gpt/utils/comm.py", line 86, in initialize_model_parallel dist.init_process_group(backend=backend) File "/home/aiscuser/.local/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 744, in init_process_group default_pg = _new_process_group_helper( File "/home/aiscuser/.local/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 837, in _new_process_group_helper raise RuntimeError( RuntimeError: Distributed package doesn't have MPI built in. MPI is only included if you build PyTorch from source on a host that has MPI installed. Initializing tensor and pipeline parallel... Traceback (most recent call last): File "../examples/pytorch/gpt/multi_gpu_gpt_example.py", line 364, in main() File "/home/aiscuser/.local/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context return func(*args, **kwargs) File "../examples/pytorch/gpt/multi_gpu_gpt_example.py", line 219, in main comm.initialize_model_parallel(args.tensor_para_size, args.pipeline_para_size) File "/home/aiscuser/FasterTransformer/examples/pytorch/gpt/../../../examples/pytorch/gpt/utils/comm.py", line 86, in initialize_model_parallel dist.init_process_group(backend=backend) File "/home/aiscuser/.local/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 744, in init_process_group default_pg = _new_process_group_helper( File "/home/aiscuser/.local/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 837, in _new_process_group_helper raise RuntimeError(

内容来源: NVIDIA/FasterTransformer

查看 GitHub 原文在 GitHub 查看讨论