Skip to content

Commit

Permalink
Removes the scaling coefficient for our solver-specific parameter `ma…
Browse files Browse the repository at this point in the history
…x_deterministic_time`.

PiperOrigin-RevId: 679601156
  • Loading branch information
Google-ML-Automation committed Sep 27, 2024
1 parent 31b180c commit 84c3b39
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions xla/hlo/experimental/auto_sharding/auto_sharding_solver.cc
Original file line number Diff line number Diff line change
Expand Up @@ -427,9 +427,8 @@ AutoShardingSolverResult CallORToolsSolver(
",share_binary_clauses:false,random_seed:1,interleave_search:true");
}
if (request.has_solver_timeout()) {
absl::StrAppend(
&solver_parameter_str, ",max_deterministic_time:",
0.1 * request.solver_timeout().solver_timeout_in_seconds());
absl::StrAppend(&solver_parameter_str, ",max_deterministic_time:",
request.solver_timeout().solver_timeout_in_seconds());
}
solver->SetSolverSpecificParametersAsString(solver_parameter_str);
}
Expand Down

0 comments on commit 84c3b39

Please sign in to comment.