Paddle dist.all_gather() can not work on window 10& paddlepaddle-gpu==2.2.1

xoefb8l8  于 2022-04-21  发布在  Java
关注(0)|答案(5)|浏览(182)

import paddle.distributed as dist
t=[]
out=[]
dist.all_gather(a, out)

Traceback (most recent call last):
File "", line 1, in
File "D:\files\anaconda3\envs\paddle\lib\site-packages\paddle\distributed\collective.py", line 636, in all_gather
out = _C_ops.c_allgather(tensor, 'use_calc_stream', use_calc_stream,
AttributeError: module 'paddle.fluid.core_avx.ops' has no attribute 'c_allgather'

wmtdaxz3

wmtdaxz31#

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档常见问题历史IssueAI社区来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the APIFAQGithub Issue and AI community to get the answer.Have a nice day!

ve7v8dk2

ve7v8dk22#

Sorry, c_allgather is only supported in linux.

omqzjyyz

omqzjyyz3#

Thanks for your reply. BTW, dist.all_gather() can just be used on Linux? How about windows?

hmtdttj4

hmtdttj44#

yes, dist.all_gather() is impl by NCCL which only supports Linux, doesn't support Windows.

sc4hvdpw

sc4hvdpw5#

@wangxicoding ,请问在win10下有没有dist.all_gather()的替代方案呢?

谢谢

相关问题