未验证 提交 3ea7c59f 编写于 作者: C cc 提交者: GitHub

Set fuse_all_reduce_ops=false for quantization test, test=develop (#23413)

上级 7ca836d3
......@@ -316,6 +316,7 @@ class TestQuantizationFreezePass(unittest.TestCase):
build_strategy = fluid.BuildStrategy()
build_strategy.memory_optimize = False
build_strategy.enable_inplace = False
build_strategy.fuse_all_reduce_ops = False
binary = fluid.CompiledProgram(main_graph.graph).with_data_parallel(
loss_name=loss.name, build_strategy=build_strategy)
quantized_test_program = test_graph.to_program()
......
......@@ -131,6 +131,7 @@ class TestQuantizationScalePass(unittest.TestCase):
build_strategy = fluid.BuildStrategy()
build_strategy.memory_optimize = False
build_strategy.enable_inplace = False
build_strategy.fuse_all_reduce_ops = False
binary = fluid.CompiledProgram(main_graph.graph).with_data_parallel(
loss_name=loss.name, build_strategy=build_strategy)
iters = 5
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册