From 4db6d9a5f061386377c4d02d17cdda608f8d84ad Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Tue, 20 Aug 2019 14:36:59 +0100 Subject: [PATCH] Actually there is no need to copy over the backend config at the Hlo level --- tensorflow/compiler/xla/service/hlo_computation.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tensorflow/compiler/xla/service/hlo_computation.cc b/tensorflow/compiler/xla/service/hlo_computation.cc index c27a0a86ef8..0ff103cf5fc 100644 --- a/tensorflow/compiler/xla/service/hlo_computation.cc +++ b/tensorflow/compiler/xla/service/hlo_computation.cc @@ -837,10 +837,6 @@ Status HloComputation::ReplaceInstruction(HloInstruction* old_instruction, if (new_instruction->metadata().op_name().empty()) { new_instruction->set_metadata(old_instruction->metadata()); } - if (new_instruction->raw_backend_config_string().empty()) { - new_instruction->set_raw_backend_config_string( - old_instruction->raw_backend_config_string()); - } if (new_instruction->frontend_attributes().map().empty()) { new_instruction->set_frontend_attributes( old_instruction->frontend_attributes());