thomas-yanxin / Paddle-ChatDocuments

Apache License 2.0
34 stars 6 forks source link

飞桨代码运行报错 #2

Open Wonderdch opened 1 year ago

Wonderdch commented 1 year ago

通过源码安装 paddlenlp 后,测试 ChatGLM-6B 时遇到如下报错: Snipaste

thomas-yanxin commented 1 year ago

paddlepaddle的版本是最新的develop版本么?

Wonderdch commented 1 year ago
        感谢回复,是直接用的你提供的代码安装的:# 安装paddlepaddle-gpu develop版本!python -m pip install paddlepaddle-gpu==0.0.0.post112 -f https://www.paddlepaddle.org.cn/whl/linux/gpu/develop.htmlPS: 我注意到 paddle 里面的很多伙伴都反复 fork 了该项目,推测他们可能也遇到了同样的问题😂

                    ***@***.***📍 :中国重庆📰:https://www.yuque.com/yuejiangliu

---- 回复的原邮件 ----

     发件人 

        ***@***.***>

     发送日期 

    2023年6月1日 22:01

     收件人 

        ***@***.***>

     抄送人 

        Chenghua ***@***.***>
        ,

        ***@***.***>

     主题 

          Re: [thomas-yanxin/Paddle-ChatDocuments] 飞桨代码运行报错 (Issue #2)

paddlepaddle的版本是最新的develop版本么?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

thomas-yanxin commented 1 year ago

是通过notebook安装的么?安装后内核重启过么?更推荐在命令行里操作呢。

Wonderdch commented 1 year ago
    😂 我是参考你在 B 站的教程,通过 Notebook 安装的,安装后没有重启过内核。

                    ***@***.***📍 :中国重庆📰:https://www.yuque.com/yuejiangliu

---- 回复的原邮件 ----

     发件人 

        ***@***.***>

     发送日期 

    2023年6月2日 10:31

     收件人 

        ***@***.***>

     抄送人 

        Chenghua ***@***.***>
        ,

        ***@***.***>

     主题 

          Re: [thomas-yanxin/Paddle-ChatDocuments] 飞桨代码运行报错 (Issue #2)

是通过notebook安装的么?安装后内核重启过么?更推荐在命令行里操作呢。

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

thomas-yanxin commented 1 year ago

若在notebook里安装,安装完依赖后重启一下内核试试。

在命令行里安装会比较好一点。

Aistudio上的教程的文字描述我稍后补充一下。