From 9f08f8d5b21711e64084cb46d3fc3834157b3f6e Mon Sep 17 00:00:00 2001 From: raoanag <127366241+raoanag@users.noreply.github.com> Date: Wed, 13 Mar 2024 16:49:55 -0800 Subject: [PATCH] Set seed for DynamicQuantizeMatMul tests (#19896) Seed for DynamicQuantizeMatMul tests to avoid pipeline failures with marginal mismatches. --- onnxruntime/test/contrib_ops/dynamic_quantize_matmul_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onnxruntime/test/contrib_ops/dynamic_quantize_matmul_test.cc b/onnxruntime/test/contrib_ops/dynamic_quantize_matmul_test.cc index 88bee5fe1b..0b64ea3de8 100644 --- a/onnxruntime/test/contrib_ops/dynamic_quantize_matmul_test.cc +++ b/onnxruntime/test/contrib_ops/dynamic_quantize_matmul_test.cc @@ -89,7 +89,7 @@ void TestDynamicQuantizeMatMul(bool is_matrix_b_constant, bool has_bias = false, bool empty_input = false) { // create rand inputs - RandomValueGenerator random{}; + RandomValueGenerator random{1668426375}; int64_t M = empty_input ? 1 : 4; int64_t N = 128;