未验证 提交 bc2981e9 编写于 作者: Y Yiqun Liu 提交者: GitHub

Disable test_code_generator and test_post_training_quantization_mobilenetv1 (#23440)

上级 29337f4e
...@@ -2,7 +2,7 @@ cc_library(code_generator ...@@ -2,7 +2,7 @@ cc_library(code_generator
SRCS operation.cc code_generator.cc code_generator_helper.cc SRCS operation.cc code_generator.cc code_generator_helper.cc
DEPS graph subgraph_detector) DEPS graph subgraph_detector)
if(WITH_GPU) if(WITH_GPU)
cc_test(test_code_generator SRCS code_generator_tester.cc DEPS code_generator device_code lod_tensor graph_viz_pass) # cc_test(test_code_generator SRCS code_generator_tester.cc DEPS code_generator device_code lod_tensor graph_viz_pass)
endif() endif()
cc_library(fusion_group_pass cc_library(fusion_group_pass
......
...@@ -107,9 +107,10 @@ function(save_qat_model_test target qat_model_dir fp32_model_save_path int8_mode ...@@ -107,9 +107,10 @@ function(save_qat_model_test target qat_model_dir fp32_model_save_path int8_mode
--quantized_ops ${quantized_ops}) --quantized_ops ${quantized_ops})
endfunction() endfunction()
# Disable the unittest temporary
list(REMOVE_ITEM TEST_OPS test_post_training_quantization_mobilenetv1)
if(WIN32) if(WIN32)
list(REMOVE_ITEM TEST_OPS test_light_nas) list(REMOVE_ITEM TEST_OPS test_light_nas)
list(REMOVE_ITEM TEST_OPS test_post_training_quantization_mobilenetv1)
list(REMOVE_ITEM TEST_OPS test_post_training_quantization_resnet50) list(REMOVE_ITEM TEST_OPS test_post_training_quantization_resnet50)
list(REMOVE_ITEM TEST_OPS test_weight_quantization_mobilenetv1) list(REMOVE_ITEM TEST_OPS test_weight_quantization_mobilenetv1)
endif() endif()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册