-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
fix uniform_random_bf16_op #58904
fix uniform_random_bf16_op #58904
Conversation
Sorry to inform you that d85a898's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
a39a1ee
to
595a2f5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM for op_compat.yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM for op_compat.yaml
* fix uniform_random_bf16_op * fix * Update pir_op_test_no_check_list
PR types
Others
PR changes
Others
Description
修复fix uniform_random_bf16_op单测
因为如果没有
feed
,在python侧_StandaloneExecutor
执行run函数时传入的feed_names
为空,在旧IR中会在program_interpreter
中执行run函数,对于program_interpreter
初始化Variable
的机制,他会在构建Varibale
是就将其初始化。而pir_interpreter
不会先初始化Variable
,它根据feed_names
为输入变量初始化,所以如果feed_names
为空,会导致input
不会被初始化,导致后面运行报错。