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

[Feature Request] 在 OpTest 基类中自动 enable_static #43700

Closed
tiancaishaonvjituizi opened this issue Jun 21, 2022 · 3 comments
Closed
Assignees
Labels

Comments

@tiancaishaonvjituizi
Copy link
Contributor

需求描述 Feature Description

原始链接:#42469 (comment)

用户在 OpTest 测试用例里是不会调用任何 paddle op 的,paddle op 是由 OpTest 内部代码调用的,而且如上面交流里所说,这些 OpTest 内部代码又只能在静态图模式下工作。所以这样一来唯一合法的选择是在 OpTest 运行前 enable_static()、在 OpTest 运行结束后恢复原始的模式。那为什么不把这一逻辑写在 OpTest 内部呢

替代实现 Alternatives

No response

@paddle-bot-old
Copy link

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档常见问题历史IssueAI社区来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the APIFAQGithub Issue and AI community to get the answer.Have a nice day!

@Ligoml
Copy link
Contributor

Ligoml commented Jul 16, 2022

感谢指出,我们会考虑加入研发排期,早日解决这个问题~欢迎你持续关注

@paddle-bot paddle-bot bot closed this as completed Jul 18, 2023
@paddle-bot
Copy link

paddle-bot bot commented Jul 18, 2023

Since you haven't replied for more than a year, we have closed this issue/pr.
If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up.
由于您超过一年未回复,我们将关闭这个issue/pr。
若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。

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

No branches or pull requests

3 participants