Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行simple_pipeline出错 #109

Open
analytistic opened this issue Dec 19, 2024 · 4 comments
Open

运行simple_pipeline出错 #109

analytistic opened this issue Dec 19, 2024 · 4 comments

Comments

@analytistic
Copy link

测试集里有一个问题时候,运行不出错
image
image
torch是2.0.1版本

@analytistic
Copy link
Author

image
image
运行多个问题就报错

@DaoD
Copy link
Collaborator

DaoD commented Dec 19, 2024

似乎你使用的代码不是最新版本,目前版本该行与报错内容不同
https://github.com/RUC-NLPIR/FlashRAG/blob/main/flashrag/generator/generator.py#L393
请拉取最新版本代码后重新测试

@analytistic
Copy link
Author

似乎你使用的代码不是最新版本,目前版本该行与报错内容不同 https://github.com/RUC-NLPIR/FlashRAG/blob/main/flashrag/generator/generator.py#L393 请拉取最新版本代码后重新测试

您好,我现在已经拉取了最新的版本,python=3.10,torch=2.5.1,numpy=1.26.4,问题仍然存在。测试集中只有一个问题,一切正常,有多个问题时就会报错
image

@ignorejjj
Copy link
Member

应该是pytorch版本的问题,可以尝试降到2.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants