Skip to content

Commit

Permalink
[js/webgpu] exclude WebGPU reduce_log_sum_exp_* float64 test cases (m…
Browse files Browse the repository at this point in the history
…icrosoft#17472)

### Description

as explained in the comments, tests "test_reduce_log_sum_exp_*" on
opset17/opset18 are excluded because they use float64.

They are passing now because they fallback to CPU. WebGPU does not
support f64.


This is one of the prerequisites for supporting IO binding for WebGPU
buffer in onnxruntime-web.

list of prerequisites PRs:
microsoft#17465
microsoft#17469
microsoft#17470
microsoft#17472 (this one)
  • Loading branch information
fs-eire authored Sep 9, 2023
1 parent 550293d commit 89da5a0
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions js/web/test/suite-test-list.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -904,14 +904,15 @@
"test_reduce_log_sum_asc_axes",
"test_reduce_log_sum_default",
"test_reduce_log_sum_desc_axes",
"test_reduce_log_sum_exp_default_axes_keepdims_example",
"test_reduce_log_sum_exp_default_axes_keepdims_random",
"test_reduce_log_sum_exp_do_not_keepdims_example",
"test_reduce_log_sum_exp_do_not_keepdims_random",
"test_reduce_log_sum_exp_keepdims_example",
"test_reduce_log_sum_exp_keepdims_random",
"test_reduce_log_sum_exp_negative_axes_keepdims_example",
"test_reduce_log_sum_exp_negative_axes_keepdims_random",
// tests "test_reduce_log_sum_exp_*" on opset17/opset18 are excluded because they use float64.
"opset{7,8,9}/test_reduce_log_sum_exp_default_axes_keepdims_example",
"opset{7,8,9}/test_reduce_log_sum_exp_default_axes_keepdims_random",
"opset{7,8,9}/test_reduce_log_sum_exp_do_not_keepdims_example",
"opset{7,8,9}/test_reduce_log_sum_exp_do_not_keepdims_random",
"opset{7,8,9}/test_reduce_log_sum_exp_keepdims_example",
"opset{7,8,9}/test_reduce_log_sum_exp_keepdims_random",
"opset11/test_reduce_log_sum_exp_negative_axes_keepdims_example",
"opset11/test_reduce_log_sum_exp_negative_axes_keepdims_random",
"test_reduce_log_sum_negative_axes",
"test_reduce_log_sum",
"test_reduce_max_default_axes_keepdim_example",
Expand Down

0 comments on commit 89da5a0

Please sign in to comment.