omniopt2 7279__tar.gz → 7281__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. {omniopt2-7279 → omniopt2-7281}/.omniopt.py +53 -54
  2. {omniopt2-7279 → omniopt2-7281}/PKG-INFO +1 -1
  3. {omniopt2-7279 → omniopt2-7281}/omniopt2.egg-info/PKG-INFO +1 -1
  4. {omniopt2-7279 → omniopt2-7281}/pyproject.toml +1 -1
  5. {omniopt2-7279 → omniopt2-7281}/.colorfunctions.sh +0 -0
  6. {omniopt2-7279 → omniopt2-7281}/.dockerignore +0 -0
  7. {omniopt2-7279 → omniopt2-7281}/.general.sh +0 -0
  8. {omniopt2-7279 → omniopt2-7281}/.gitignore +0 -0
  9. {omniopt2-7279 → omniopt2-7281}/.helpers.py +0 -0
  10. {omniopt2-7279 → omniopt2-7281}/.omniopt_plot_cpu_ram_usage.py +0 -0
  11. {omniopt2-7279 → omniopt2-7281}/.omniopt_plot_general.py +0 -0
  12. {omniopt2-7279 → omniopt2-7281}/.omniopt_plot_gpu_usage.py +0 -0
  13. {omniopt2-7279 → omniopt2-7281}/.omniopt_plot_kde.py +0 -0
  14. {omniopt2-7279 → omniopt2-7281}/.omniopt_plot_scatter.py +0 -0
  15. {omniopt2-7279 → omniopt2-7281}/.omniopt_plot_scatter_generation_method.py +0 -0
  16. {omniopt2-7279 → omniopt2-7281}/.omniopt_plot_scatter_hex.py +0 -0
  17. {omniopt2-7279 → omniopt2-7281}/.omniopt_plot_time_and_exit_code.py +0 -0
  18. {omniopt2-7279 → omniopt2-7281}/.omniopt_plot_trial_index_result.py +0 -0
  19. {omniopt2-7279 → omniopt2-7281}/.omniopt_plot_worker.py +0 -0
  20. {omniopt2-7279 → omniopt2-7281}/.random_generator.py +0 -0
  21. {omniopt2-7279 → omniopt2-7281}/.shellscript_functions +0 -0
  22. {omniopt2-7279 → omniopt2-7281}/.tpe.py +0 -0
  23. {omniopt2-7279 → omniopt2-7281}/LICENSE +0 -0
  24. {omniopt2-7279 → omniopt2-7281}/MANIFEST.in +0 -0
  25. {omniopt2-7279 → omniopt2-7281}/README.md +0 -0
  26. {omniopt2-7279 → omniopt2-7281}/apt-dependencies.txt +0 -0
  27. {omniopt2-7279 → omniopt2-7281}/omniopt +0 -0
  28. {omniopt2-7279 → omniopt2-7281}/omniopt2.egg-info/SOURCES.txt +0 -0
  29. {omniopt2-7279 → omniopt2-7281}/omniopt2.egg-info/dependency_links.txt +0 -0
  30. {omniopt2-7279 → omniopt2-7281}/omniopt2.egg-info/requires.txt +0 -0
  31. {omniopt2-7279 → omniopt2-7281}/omniopt2.egg-info/top_level.txt +0 -0
  32. {omniopt2-7279 → omniopt2-7281}/omniopt_docker +0 -0
  33. {omniopt2-7279 → omniopt2-7281}/omniopt_evaluate +0 -0
  34. {omniopt2-7279 → omniopt2-7281}/omniopt_plot +0 -0
  35. {omniopt2-7279 → omniopt2-7281}/omniopt_share +0 -0
  36. {omniopt2-7279 → omniopt2-7281}/requirements.txt +0 -0
  37. {omniopt2-7279 → omniopt2-7281}/setup.cfg +0 -0
  38. {omniopt2-7279 → omniopt2-7281}/setup.py +0 -0
  39. {omniopt2-7279 → omniopt2-7281}/test_requirements.txt +0 -0
@@ -8178,88 +8178,87 @@ def create_systematic_step(model: Any, _num_trials: int = -1, index: Optional[in
8178
8178
 
8179
8179
  @beartype
8180
8180
  def set_global_generation_strategy() -> None:
8181
- with console.status("[bold green]Setting generation strategy..."):
8182
- global global_gs, generation_strategy_human_readable
8181
+ global global_gs, generation_strategy_human_readable
8183
8182
 
8184
- args_generation_strategy = args.generation_strategy
8183
+ args_generation_strategy = args.generation_strategy
8185
8184
 
8186
- continue_not_supported_on_custom_generation_strategy()
8185
+ continue_not_supported_on_custom_generation_strategy()
8187
8186
 
8188
- gs_names: list = []
8189
- gs_nodes: list = []
8187
+ gs_names: list = []
8188
+ gs_nodes: list = []
8190
8189
 
8191
- if args_generation_strategy is None:
8192
- num_imported_jobs: int = get_nr_of_imported_jobs()
8193
- set_max_eval(max_eval + num_imported_jobs)
8194
- set_random_steps(random_steps or 0)
8190
+ if args_generation_strategy is None:
8191
+ num_imported_jobs: int = get_nr_of_imported_jobs()
8192
+ set_max_eval(max_eval + num_imported_jobs)
8193
+ set_random_steps(random_steps or 0)
8195
8194
 
8196
- if max_eval is None:
8197
- set_max_eval(max(1, random_steps))
8195
+ if max_eval is None:
8196
+ set_max_eval(max(1, random_steps))
8198
8197
 
8199
- chosen_model = get_chosen_model()
8198
+ chosen_model = get_chosen_model()
8200
8199
 
8201
- if chosen_model == "SOBOL":
8202
- set_random_steps(max_eval)
8200
+ if chosen_model == "SOBOL":
8201
+ set_random_steps(max_eval)
8203
8202
 
8204
- if random_steps >= 1:
8205
- next_node_name = None
8206
- if max_eval - random_steps and chosen_model:
8207
- next_node_name = chosen_model
8203
+ if random_steps >= 1:
8204
+ next_node_name = None
8205
+ if max_eval - random_steps and chosen_model:
8206
+ next_node_name = chosen_model
8208
8207
 
8209
- gs_names.append(get_step_name("SOBOL", random_steps))
8210
- gs_nodes.append(create_node("SOBOL", random_steps, next_node_name))
8208
+ gs_names.append(get_step_name("SOBOL", random_steps))
8209
+ gs_nodes.append(create_node("SOBOL", random_steps, next_node_name))
8211
8210
 
8212
- write_state_file("model", str(chosen_model))
8211
+ write_state_file("model", str(chosen_model))
8213
8212
 
8214
- if chosen_model != "SOBOL" and max_eval > random_steps:
8215
- this_node = create_node(chosen_model, max_eval - random_steps, None)
8213
+ if chosen_model != "SOBOL" and max_eval > random_steps:
8214
+ this_node = create_node(chosen_model, max_eval - random_steps, None)
8216
8215
 
8217
- gs_names.append(get_step_name(chosen_model, max_eval - random_steps))
8218
- gs_nodes.append(this_node)
8216
+ gs_names.append(get_step_name(chosen_model, max_eval - random_steps))
8217
+ gs_nodes.append(this_node)
8219
8218
 
8220
- generation_strategy_human_readable = join_with_comma_and_then(gs_names)
8219
+ generation_strategy_human_readable = join_with_comma_and_then(gs_names)
8221
8220
 
8222
- try:
8223
- global_gs = GenerationStrategy(
8224
- name="+".join(gs_names),
8225
- nodes=gs_nodes
8226
- )
8227
- except ax.exceptions.generation_strategy.GenerationStrategyMisconfiguredException as e:
8228
- print_red(f"Error: {e}\ngs_names: {gs_names}\ngs_nodes: {gs_nodes}")
8221
+ try:
8222
+ global_gs = GenerationStrategy(
8223
+ name="+".join(gs_names),
8224
+ nodes=gs_nodes
8225
+ )
8226
+ except ax.exceptions.generation_strategy.GenerationStrategyMisconfiguredException as e:
8227
+ print_red(f"Error: {e}\ngs_names: {gs_names}\ngs_nodes: {gs_nodes}")
8229
8228
 
8230
- my_exit(55)
8231
- else:
8232
- generation_strategy_array, new_max_eval = parse_generation_strategy_string(args_generation_strategy)
8229
+ my_exit(55)
8230
+ else:
8231
+ generation_strategy_array, new_max_eval = parse_generation_strategy_string(args_generation_strategy)
8233
8232
 
8234
- new_max_eval_plus_inserted_jobs = new_max_eval + get_nr_of_imported_jobs()
8233
+ new_max_eval_plus_inserted_jobs = new_max_eval + get_nr_of_imported_jobs()
8235
8234
 
8236
- if max_eval < new_max_eval_plus_inserted_jobs:
8237
- print_yellow(f"--generation_strategy {args_generation_strategy.upper()} has, in sum, more tasks than --max_eval {max_eval}. max_eval will be set to {new_max_eval_plus_inserted_jobs}.")
8238
- set_max_eval(new_max_eval_plus_inserted_jobs)
8235
+ if max_eval < new_max_eval_plus_inserted_jobs:
8236
+ print_yellow(f"--generation_strategy {args_generation_strategy.upper()} has, in sum, more tasks than --max_eval {max_eval}. max_eval will be set to {new_max_eval_plus_inserted_jobs}.")
8237
+ set_max_eval(new_max_eval_plus_inserted_jobs)
8239
8238
 
8240
- print_generation_strategy(generation_strategy_array)
8239
+ print_generation_strategy(generation_strategy_array)
8241
8240
 
8242
- start_index = int(len(generation_strategy_array) / 2)
8241
+ start_index = int(len(generation_strategy_array) / 2)
8243
8242
 
8244
- steps: list = []
8243
+ steps: list = []
8245
8244
 
8246
- for gs_element in generation_strategy_array:
8247
- model_name = list(gs_element.keys())[0]
8245
+ for gs_element in generation_strategy_array:
8246
+ model_name = list(gs_element.keys())[0]
8248
8247
 
8249
- nr = int(gs_element[model_name])
8248
+ nr = int(gs_element[model_name])
8250
8249
 
8251
- gs_elem = create_systematic_step(select_model(model_name), nr, start_index)
8252
- steps.append(gs_elem)
8250
+ gs_elem = create_systematic_step(select_model(model_name), nr, start_index)
8251
+ steps.append(gs_elem)
8253
8252
 
8254
- gs_names.append(get_step_name(model_name, nr))
8253
+ gs_names.append(get_step_name(model_name, nr))
8255
8254
 
8256
- start_index = start_index + 1
8255
+ start_index = start_index + 1
8257
8256
 
8258
- write_state_file("custom_generation_strategy", args_generation_strategy)
8257
+ write_state_file("custom_generation_strategy", args_generation_strategy)
8259
8258
 
8260
- global_gs = GenerationStrategy(steps=steps)
8259
+ global_gs = GenerationStrategy(steps=steps)
8261
8260
 
8262
- generation_strategy_human_readable = join_with_comma_and_then(gs_names)
8261
+ generation_strategy_human_readable = join_with_comma_and_then(gs_names)
8263
8262
 
8264
8263
  @beartype
8265
8264
  def wait_for_jobs_or_break(_max_eval: Optional[int], _progress_bar: Any) -> bool:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omniopt2
3
- Version: 7279
3
+ Version: 7281
4
4
  Summary: Automatic highly parallelized hyperparameter optimizer based on Ax/Botorch
5
5
  Home-page: https://scads.ai/transfer-2/verfuegbare-software-dienste-en/omniopt/
6
6
  Author: Norman Koch
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omniopt2
3
- Version: 7279
3
+ Version: 7281
4
4
  Summary: Automatic highly parallelized hyperparameter optimizer based on Ax/Botorch
5
5
  Home-page: https://scads.ai/transfer-2/verfuegbare-software-dienste-en/omniopt/
6
6
  Author: Norman Koch
@@ -5,7 +5,7 @@ authors = [
5
5
  {email = "norman.koch@tu-dresden.de"},
6
6
  {name = "Norman Koch"}
7
7
  ]
8
- version = "7279"
8
+ version = "7281"
9
9
 
10
10
  readme = "README.md"
11
11
  dynamic = ["dependencies"]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes