ChatGLM2-6B icon indicating copy to clipboard operation
ChatGLM2-6B copied to clipboard

[BUG/Help] Ptuning微调时无法获取IPV6地址是怎么回事?

Open hzho2000 opened this issue 2 years ago • 4 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Current Behavior

按照官方给的 ptuning的例子试图重现成果 https://github.com/THUDM/ChatGLM2-6B/blob/main/ptuning/README.md

这是目前的报错代码 [W ..\torch\csrc\distributed\c10d\socket.cpp:601] [c10d] The IPv6 network addresses of (EC2AMAZ-44RLUBD.ap-southeast-2.compute.internal, 49779) cannot be retrieved (gai error: 11001 - ▒▒֪▒▒▒▒▒▒▒▒▒▒▒▒▒▒ )

Expected Behavior

No response

Steps To Reproduce

我只是修改了train.sh里面的模型地址为自己的本地模型。并没有进行其他的修改,即便我不做任何修改也会有着相同的报错。

Environment

OS: 
Python: 3.8
Transformers: 4.26.1
PyTorch: 1.12
CUDA Support: True

Anything else?

No response

hzho2000 avatar Jul 21 '23 16:07 hzho2000

请问您解决了这个问题吗?

Xjmengnieer avatar Aug 12 '23 07:08 Xjmengnieer

绕过torchrun,可以正常运行,应该是torchrun本身的bug

Xjmengnieer avatar Aug 12 '23 08:08 Xjmengnieer

您好,请问您最后如何解决该问题的?我也遇到同样问题了

noahliu1205 avatar Aug 24 '23 01:08 noahliu1205

same problem ☹️

pokitpeng avatar Nov 20 '23 13:11 pokitpeng