Skip to content

Commit

Permalink
Allow empty tunable values to represent the defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
bpkroth committed Oct 4, 2024
1 parent df8eac0 commit d826346
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"type": ["string", "number", "boolean"]
}
},
"minProperties": 1,
"not": {
"required": ["tunable_values"]
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/MLOS/main/mlos_bench/mlos_bench/config/schemas/tunables/tunable-values-schema.json",

"foo": "bar",
"int": 1,
"float": 1.1,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/MLOS/main/mlos_bench/mlos_bench/config/schemas/tunables/tunable-values-schema.json"
// empty tunable values represents the defaults
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
// empty tunable values represents the defaults
}

0 comments on commit d826346

Please sign in to comment.