Skip to content

Commit

Permalink
[XLA:GPU] Allow auto layout in multihost HLO runner.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 696486224
  • Loading branch information
mooskagh authored and Google-ML-Automation committed Nov 15, 2024
1 parent 10769ee commit d7682a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xla/tools/multihost_hlo_runner/functional_hlo_runner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,10 @@ absl::StatusOr<CompileOptions> FunctionalHloRunner::CreateCompileOptions(
debug_options.set_xla_dump_hlo_as_proto(raw_options.xla_proto_dump_mode ==
XlaProtoDumpMode::kDumpAsProto);
}
// TODO(b/378832773) The flag is temporary, this line should be removed when
// default is changed / or flag is removed.
build_options.mutable_debug_options()->set_xla_pjrt_allow_auto_layout_in_hlo(
true);

switch (raw_options.hlo_passes_mode) {
case HloPassesMode::kRunXLABackendOnly:
Expand Down

0 comments on commit d7682a0

Please sign in to comment.