Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 651672473
  • Loading branch information
tensorflower-gardener committed Jul 12, 2024
1 parent 252ea59 commit 86a9337
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
8 changes: 0 additions & 8 deletions third_party/xla/xla/service/hlo_runner_interface.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,6 @@ HloRunnerInterface::ReadModuleFromBinaryProtoFile(
return HloProtoToModule(proto, debug_options);
}

/*static*/ absl::StatusOr<std::unique_ptr<HloModule>>
HloRunnerInterface::ReadModuleFromTextProtoFile(
const std::string& filename, const DebugOptions& debug_options) {
HloProto proto;
TF_RETURN_IF_ERROR(tsl::ReadTextProto(tsl::Env::Default(), filename, &proto));
return HloProtoToModule(proto, debug_options);
}

/*static*/ absl::StatusOr<std::unique_ptr<HloModule>>
HloRunnerInterface::ReadModuleFromHloTextFile(
const std::string& filename, const DebugOptions& debug_options) {
Expand Down
2 changes: 0 additions & 2 deletions third_party/xla/xla/service/hlo_runner_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ class HloRunnerInterface {
static absl::StatusOr<std::unique_ptr<HloModule>>
ReadModuleFromBinaryProtoFile(const std::string& filename,
const DebugOptions& debug_options);
static absl::StatusOr<std::unique_ptr<HloModule>> ReadModuleFromTextProtoFile(
const std::string& filename, const DebugOptions& debug_options);

// Reads the proto file in xla.HloModule format, creates and returns the
// HloModule.
Expand Down

0 comments on commit 86a9337

Please sign in to comment.