From 77ae6227a230bceedeb70e5694ef1d45f8ba4be8 Mon Sep 17 00:00:00 2001 From: Tianlei Wu Date: Mon, 9 Oct 2023 19:10:16 +0000 Subject: [PATCH] add test --- .../test/contrib_ops/bias_split_gelu_op_test.cc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/onnxruntime/test/contrib_ops/bias_split_gelu_op_test.cc b/onnxruntime/test/contrib_ops/bias_split_gelu_op_test.cc index db14eb3da42cd..a979717d23573 100644 --- a/onnxruntime/test/contrib_ops/bias_split_gelu_op_test.cc +++ b/onnxruntime/test/contrib_ops/bias_split_gelu_op_test.cc @@ -152,6 +152,20 @@ TEST(BiasSplitGeluTest, BiasSplitGeluTest_HiddenSize_10240) { RunBiasSplitGeluTest(batch_size, sequence_length, hidden_size); } +TEST(BiasSplitGeluTest, BiasSplitGeluTest_HiddenSize_6144) { + constexpr int64_t batch_size = 2; + constexpr int64_t sequence_length = 3; + constexpr int64_t hidden_size = 6144; + RunBiasSplitGeluTest(batch_size, sequence_length, hidden_size); +} + +TEST(BiasSplitGeluTest, BiasSplitGeluTest_HiddenSize_12288) { + constexpr int64_t batch_size = 1; + constexpr int64_t sequence_length = 2; + constexpr int64_t hidden_size = 12288; + RunBiasSplitGeluTest(batch_size, sequence_length, hidden_size); +} + #endif } // namespace test