Skip to content

Commit

Permalink
Enable the remaining GELU backend tests (#2971)
Browse files Browse the repository at this point in the history
* Enable the remaining GELU backend tests

Signed-off-by: Tung D. Le <tung@jp.ibm.com>

---------

Signed-off-by: Tung D. Le <tung@jp.ibm.com>
Co-authored-by: Alexandre Eichenberger <alexe@us.ibm.com>
  • Loading branch information
tungld and AlexandreEichenberger authored Oct 11, 2024
1 parent 90aea66 commit e47bbcc
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions test/backend/inference_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -1108,41 +1108,41 @@ def get_test_models():
DYNAMIC_SHAPE: {-1: {-1}},
CONSTANT_INPUT: {-1},
},
# "test_gelu_default_1_expanded_cpu": {
# STATIC_SHAPE: {},
# DYNAMIC_SHAPE: {-1: {-1}},
# CONSTANT_INPUT: {-1},
# },
"test_gelu_default_1_expanded_cpu": {
STATIC_SHAPE: {},
DYNAMIC_SHAPE: {-1: {-1}},
CONSTANT_INPUT: {-1},
},
"test_gelu_default_2_cpu": {
STATIC_SHAPE: {},
DYNAMIC_SHAPE: {-1: {-1}},
CONSTANT_INPUT: {-1},
},
# "test_gelu_default_2_expanded_cpu": {
# STATIC_SHAPE: {},
# DYNAMIC_SHAPE: {-1: {-1}},
# CONSTANT_INPUT: {-1},
# },
"test_gelu_default_2_expanded_cpu": {
STATIC_SHAPE: {},
DYNAMIC_SHAPE: {-1: {-1}},
CONSTANT_INPUT: {-1},
},
"test_gelu_tanh_1_cpu": {
STATIC_SHAPE: {},
DYNAMIC_SHAPE: {-1: {-1}},
CONSTANT_INPUT: {-1},
},
# "test_gelu_tanh_1_expanded_cpu": {
# STATIC_SHAPE: {},
# DYNAMIC_SHAPE: {-1: {-1}},
# CONSTANT_INPUT: {-1},
# },
"test_gelu_tanh_1_expanded_cpu": {
STATIC_SHAPE: {},
DYNAMIC_SHAPE: {-1: {-1}},
CONSTANT_INPUT: {-1},
},
"test_gelu_tanh_2_cpu": {
STATIC_SHAPE: {},
DYNAMIC_SHAPE: {-1: {-1}},
CONSTANT_INPUT: {-1},
},
# "test_gelu_tanh_2_expanded_cpu": {
# STATIC_SHAPE: {},
# DYNAMIC_SHAPE: {-1: {-1}},
# CONSTANT_INPUT: {-1},
# },
"test_gelu_tanh_2_expanded_cpu": {
STATIC_SHAPE: {},
DYNAMIC_SHAPE: {-1: {-1}},
CONSTANT_INPUT: {-1},
},
# ==OP== Gemm
# ==MIN== 6
"test_gemm_all_attributes_cpu": {
Expand Down

0 comments on commit e47bbcc

Please sign in to comment.