Skip to content

test_fusion_lstm_op.py modify use_mkldnn [fluid_ops] #74503

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

Merged
merged 4 commits into from
Aug 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion paddle/phi/ops/yaml/op_compat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1765,7 +1765,7 @@
attrs :
{scale_data : Scale_data, shift_data : Shift_data, scale_weights : Scale_weights}
extra :
attrs : [bool use_mkldnn = true, bool use_onednn = false, str mkldnn_data_type = "float32"]
attrs : [bool use_mkldnn = false, bool use_onednn = false, str mkldnn_data_type = "float32"]

- op : fusion_repeated_fc_relu
inputs :
Expand Down
2 changes: 1 addition & 1 deletion test/legacy_test/test_fusion_lstm_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def setUp(self):
'gate_activation': self.act_gate,
'cell_activation': self.act_cell,
'candidate_activation': self.act_cand,
'use_mkldnn': self.use_onednn,
'use_onednn': self.use_onednn,
}

def test_check_output(self):
Expand Down