安装xinference[transformers]报错 课程是:43-24.12.3-实战:实时网页信息爬取+RAG的问答系统搭建及发布 #417

Closed
opened 2024-12-06 12:52:39 +08:00 by aiscool · 2 comments

如图,前面的下载都正常,到这里就出错了,用的autodl实例。改虚拟环境也报一样的错

如图,前面的下载都正常,到这里就出错了,用的autodl实例。改虚拟环境也报一样的错

这个是由于AutoGPTQ不兼容python3.12导致的,这个包目前没有在python3.12上发布,具体原因见这个链接:https://github.com/AutoGPTQ/AutoGPTQ/issues/730
解决办法:在autodl上使用版本低的镜像容器,如下图所示选择pytorch2.1.2、python3.10即可安装成功
image

这个是由于AutoGPTQ不兼容python3.12导致的,这个包目前没有在python3.12上发布,具体原因见这个链接:https://github.com/AutoGPTQ/AutoGPTQ/issues/730 解决办法:在autodl上使用版本低的镜像容器,如下图所示选择pytorch2.1.2、python3.10即可安装成功 ![image](/attachments/7519c1fa-2d9e-4b65-b643-168dd5e74404)
Author

根据老师解答,已解决,谢谢

根据老师解答,已解决,谢谢
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: HswOAuth/llm_course#417
No description provided.