Skip to content

Commit 86a9337

Browse files
Automated Code Change
PiperOrigin-RevId: 651672473
1 parent 252ea59 commit 86a9337

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

third_party/xla/xla/service/hlo_runner_interface.cc

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,6 @@ HloRunnerInterface::ReadModuleFromBinaryProtoFile(
6060
return HloProtoToModule(proto, debug_options);
6161
}
6262

63-
/*static*/ absl::StatusOr<std::unique_ptr<HloModule>>
64-
HloRunnerInterface::ReadModuleFromTextProtoFile(
65-
const std::string& filename, const DebugOptions& debug_options) {
66-
HloProto proto;
67-
TF_RETURN_IF_ERROR(tsl::ReadTextProto(tsl::Env::Default(), filename, &proto));
68-
return HloProtoToModule(proto, debug_options);
69-
}
70-
7163
/*static*/ absl::StatusOr<std::unique_ptr<HloModule>>
7264
HloRunnerInterface::ReadModuleFromHloTextFile(
7365
const std::string& filename, const DebugOptions& debug_options) {

third_party/xla/xla/service/hlo_runner_interface.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@ class HloRunnerInterface {
9898
static absl::StatusOr<std::unique_ptr<HloModule>>
9999
ReadModuleFromBinaryProtoFile(const std::string& filename,
100100
const DebugOptions& debug_options);
101-
static absl::StatusOr<std::unique_ptr<HloModule>> ReadModuleFromTextProtoFile(
102-
const std::string& filename, const DebugOptions& debug_options);
103101

104102
// Reads the proto file in xla.HloModule format, creates and returns the
105103
// HloModule.

0 commit comments

Comments
 (0)