Skip to content

Commit be96b28

Browse files
authored
Update test_settings_internal.cc | Allow sample_concatenate_permutation in user.conf (#2035)
1 parent af05f0d commit be96b28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

loadgen/test_settings_internal.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -697,9 +697,6 @@ int TestSettings::FromConfig(const std::string &path, const std::string &model,
697697
lookupkv(model, scenario, "sample_index_rng_seed", &sample_index_rng_seed,
698698
nullptr);
699699
lookupkv(model, scenario, "schedule_rng_seed", &schedule_rng_seed, nullptr);
700-
if (lookupkv(model, scenario, "sample_concatenate_permutation", &val,
701-
nullptr))
702-
sample_concatenate_permutation = (val == 1) ? true : false;
703700
lookupkv(model, scenario, "accuracy_log_probability", nullptr,
704701
&accuracy_log_probability, 0.01);
705702
if (lookupkv(model, scenario, "test05", &val, nullptr))
@@ -759,6 +756,9 @@ int TestSettings::FromConfig(const std::string &path, const std::string &model,
759756
lookupkv(model, scenario, "performance_issue_same_index",
760757
&performance_issue_same_index, nullptr);
761758

759+
if (lookupkv(model, scenario, "sample_concatenate_permutation", &val,
760+
nullptr))
761+
sample_concatenate_permutation = (val == 1) ? true : false;
762762
if (lookupkv(model, "Server", "coalesce_queries", &val, nullptr))
763763
server_coalesce_queries = (val == 0) ? false : true;
764764
if (lookupkv(model, "Server", "max_async_queries", &val, nullptr))

0 commit comments

Comments
 (0)