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

如何在paddlepaddle-gpu>2.5.0的环境下运行?关于paddle.fluid被弃用的问题 #122

Open
zhangqiqi1228 opened this issue Jan 23, 2024 · 4 comments

Comments

@zhangqiqi1228
Copy link

如题,因为我想做个整合系统将RocketQA和PaddleNLP中的Information Extraction进行串联。
Information Extraction要求Paddle版本在2.5.0以上,但是RocketQA只能在2.5.0以下跑通。
主要是在高版本下paddle.fluid中API被弃用的问题,我将所有paddle.fluid都暂时替换成了paddle.base,能解决部分问题,但是没找到能替代“fluid.layers.py_reader()”和“fluid.layers.read_file()”这两个API的方法。

image

请问这个问题应该如何解决?

@z394339702
Copy link

你好,我也遇到这个问题了,请问你解决了吗?

@zhangqiqi1228
Copy link
Author

你好,我也遇到这个问题了,请问你解决了吗?

没有,还在debug中。我把能替换的API都替换了,但还有一些冷门的API官方没有映射表。并且貌似至少有4-5个API,在2.5版本已经被弃用了,只能手动添加到源码中。

@z394339702
Copy link

你好,我也遇到这个问题了,请问你解决了吗?

没有,还在debug中。我把能替换的API都替换了,但还有一些冷门的API官方没有映射表。并且貌似至少有4-5个API,在2.5版本已经被弃用了,只能手动添加到源码中。

好吧,我直接新起了个服务了

@VictoryBlue
Copy link

跟我遇到的问题一样

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