Skip to content

[NPU] Update FLAGS_npu_jit_compile before use #1742

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

LittleHeroZZZX
Copy link
Contributor

PP-FormulaNet 系列模型在 NPU 上推理结果异常,原因是 paddlex 在运行时设置的环境变量 FLAGS_npu_jit_compile 时机过晚,paddle-npu 已经读取过该环境变量。解决方案是在使用此变量前重新读取并更新之。

Copy link

paddle-bot bot commented Jun 10, 2025

Thanks for your contribution!

@xuanyuanminzheng
Copy link
Contributor

该修改是否会影响到有些需要在pool2d或者conv中编译算子的模型?

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

Successfully merging this pull request may close these issues.

2 participants