"git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "ed5489a96ebb876f8eed93fc07b3710e48f6fe0f"
Commit 48a4b443 authored by Reed's avatar Reed Committed by Taylor Robie
Browse files

Fix crash when --ml_perf flag is not specified. (#5610)

The error message was:

absl.flags._exceptions.IllegalFlagValueError: flag --ml_perf=None: ('Non-boolean argument to boolean flag', 'None')
parent f175abc3
...@@ -403,7 +403,7 @@ def define_ncf_flags(): ...@@ -403,7 +403,7 @@ def define_ncf_flags():
"achieved by MLPerf implementation.")) "achieved by MLPerf implementation."))
flags.DEFINE_bool( flags.DEFINE_bool(
name="ml_perf", default=None, name="ml_perf", default=False,
help=flags_core.help_wrap( help=flags_core.help_wrap(
"If set, changes the behavior of the model slightly to match the " "If set, changes the behavior of the model slightly to match the "
"MLPerf reference implementations here: \n" "MLPerf reference implementations here: \n"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment