Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

Operator "gen_nccl_id" has not been registered

Open sifuhr opened this issue 3 years ago • 10 comments

问题描述 Please describe your issue

那windows 怎么用呢?document_intelligence 文档检索, File "D:\anaconda\envs\llm\lib\site-packages\paddle\fluid\framework.py", line 2713, in get_op_proto raise ValueError("Operator "%s" has not been registered." % type) ValueError: Operator "gen_nccl_id" has not been registered. LAUNCH INFO 2023-05-30 10:42:54,298 Exit code 1

sifuhr avatar May 30 '23 03:05 sifuhr

windows 下不可以安装nccl 那么如何运行呢

sifuhr avatar May 30 '23 03:05 sifuhr

你好,Window系统上不支持分布式训练,这里是使用了分布式的相关接口吗?

zyfncg avatar May 30 '23 13:05 zyfncg

https://github.com/PaddlePaddle/PaddleNLP/tree/develop/applications/document_intelligence/doc_vqa 我是按照这个一步一步弄的,安装没问题,结果报错。训练里边有配置吗,不让分布式,有单个节点吗?没有配置的地方吗

sifuhr avatar May 31 '23 01:05 sifuhr

即使不能分布式,也会有单节点运行把,cd Rerank bash run_train.sh ./data/train.tsv ./checkpoints/base_model 50 1 就是这一步报错

sifuhr avatar May 31 '23 01:05 sifuhr

也没什么特别的地方呢,就是计算损失的时候,出现这个错误,不知道为什么了

sifuhr avatar May 31 '23 01:05 sifuhr

即使不能分布式,也会有单节点运行把,cd Rerank bash run_train.sh ./data/train.tsv ./checkpoints/base_model 50 1 就是这一步报错

window系统上是怎么执行shell脚本的?

zyfncg avatar May 31 '23 05:05 zyfncg

image shell脚本里默认是用分布式执行器做的训练,如果想要在window上修改运行脚本的话可以在 https://github.com/PaddlePaddle/PaddleNLP/issues 里再具体咨询下

zyfncg avatar May 31 '23 05:05 zyfncg

好的谢谢

sifuhr avatar May 31 '23 06:05 sifuhr

你好!这一步报错请问怎么解决的?

Longer767 avatar Jun 04 '23 08:06 Longer767

Since you haven't replied for more than a year, we have closed this issue/pr. If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. 由于您超过一年未回复,我们将关闭这个issue/pr。 若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。

paddle-bot avatar Jun 04 '24 06:06 paddle-bot