LLamaFactory笔记

环境

web ui启动报错

Error: When localhost is not accessible, a shareable link must be created. Please set share=True or check your proxy settings to allow access to localhost.

出错原因是代理问题,shell环境可以用export no_proxy="localhost, 127.0.0.1, ::1"

或者python代码中os.environ["no_proxy"] = "localhost,127.0.0.1,::1"解决