Skip to content

Commit

Permalink
fixup: benchdnn: softmax: remove norm comparison for logsoftmax
Browse files Browse the repository at this point in the history
Windows has slightly higher fluctuation.
  • Loading branch information
dzarukin committed Feb 15, 2025
1 parent e320df4 commit a98e7b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/benchdnn/utils/compare.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ int compare_t::compare_p2p(const dnn_mem_t &exp_mem, const dnn_mem_t &got_mem,
if (args.dt == dnnl_f16) binary_comp_po_diff_trh = 5e-3f;
if (args.dt == dnnl_f32) {
binary_comp_po_diff_trh = 4e-6f;
binary_comp_po_rdiff_trh = 7e-6f;
binary_comp_po_rdiff_trh = 8e-6f;
}
ok = has_binary_compute_po(attr)
&& (args.diff <= binary_comp_po_diff_trh
Expand Down

0 comments on commit a98e7b1

Please sign in to comment.