Python 官方文档:入门教程 => 点击学习
项目场景: 提示:这里简述项目相关背景: Improved Diffusion 复现 问题描述 提示:这里描述项目中遇到的问题: RuntimeError: Distributed package
提示:这里简述项目相关背景:
Improved Diffusion 复现
提示:这里描述项目中遇到的问题:
RuntimeError: Distributed package doesn’t have NCCL built in
File "D:\APP\Anaconda3\envs\diffusion\lib\site-packages\torch\distributed\distributed_c10d.py", line 602, in init_process_group default_pg = _new_process_group_helper( File "D:\APP\Anaconda3\envs\diffusion\lib\site-packages\torch\distributed\distributed_c10d.py", line 727, in _new_process_group_helper raise RuntimeError("Distributed package doesn't have NCCL " "built in")RuntimeError: Distributed package doesn't have NCCL built in
提示:这里填写问题的分析:
windows不支持NCCL backend
提示:这里填写该问题的具体解决方案:
找到问题代码所在位置
D:\APP\Anaconda3\envs\diffusion\lib\site-packages\torch\distributed\distributed_c10d.py
dist.init_process_group(backend=backend, init_method="env://")
更换为
dist.init_process_group(backend="gloo", init_method="env://")
即可
来源地址:https://blog.csdn.net/weixin_43940981/article/details/127423861
--结束END--
本文标题: RuntimeError: Distributed package doesn‘t have NCCL built in
本文链接: https://lsjlt.com/news/423982.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0