don't "print xla expression" in trunk annotation.

PiperOrigin-RevId: 304090402
Change-Id: Iff60d4b92ce38d8e1d6204b5013f5b8d9fcf459b
This commit is contained in:
A. Unique TensorFlower 2020-03-31 18:33:38 -07:00 committed by Qiumin Xu
parent 53778b7e92
commit 85f156915b

View File

@ -96,10 +96,8 @@ void GpuExecutable::ComputeThunkAnnotations() {
const HloInstruction* hlo = thunk->hlo_instruction();
CHECK(hlo);
thunk_annotations_[thunk] =
absl::StrFormat("%s:#hlo_op=%s,hlo_module=%s#",
hlo->ToStringWithCanonicalNameMap(
HloPrintOptions::Canonical(), &canonical_name_map),
hlo->name(), hlo->GetModule()->name());
absl::StrFormat("Thunk#hlo_op=%s,hlo_module=%s#", hlo->name(),
hlo->GetModule()->name());
}
}