omniopt2 8989__tar.gz → 8991__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.

Potentially problematic release.


This version of omniopt2 might be problematic. Click here for more details.

Files changed (41) hide show
  1. {omniopt2-8989 → omniopt2-8991}/.omniopt.py +6 -6
  2. {omniopt2-8989 → omniopt2-8991}/PKG-INFO +1 -1
  3. {omniopt2-8989 → omniopt2-8991}/omniopt2.egg-info/PKG-INFO +1 -1
  4. {omniopt2-8989 → omniopt2-8991}/pyproject.toml +1 -1
  5. {omniopt2-8989 → omniopt2-8991}/.colorfunctions.sh +0 -0
  6. {omniopt2-8989 → omniopt2-8991}/.dockerignore +0 -0
  7. {omniopt2-8989 → omniopt2-8991}/.general.sh +0 -0
  8. {omniopt2-8989 → omniopt2-8991}/.gitignore +0 -0
  9. {omniopt2-8989 → omniopt2-8991}/.helpers.py +0 -0
  10. {omniopt2-8989 → omniopt2-8991}/.omniopt_plot_cpu_ram_usage.py +0 -0
  11. {omniopt2-8989 → omniopt2-8991}/.omniopt_plot_general.py +0 -0
  12. {omniopt2-8989 → omniopt2-8991}/.omniopt_plot_gpu_usage.py +0 -0
  13. {omniopt2-8989 → omniopt2-8991}/.omniopt_plot_kde.py +0 -0
  14. {omniopt2-8989 → omniopt2-8991}/.omniopt_plot_scatter.py +0 -0
  15. {omniopt2-8989 → omniopt2-8991}/.omniopt_plot_scatter_generation_method.py +0 -0
  16. {omniopt2-8989 → omniopt2-8991}/.omniopt_plot_scatter_hex.py +0 -0
  17. {omniopt2-8989 → omniopt2-8991}/.omniopt_plot_time_and_exit_code.py +0 -0
  18. {omniopt2-8989 → omniopt2-8991}/.omniopt_plot_trial_index_result.py +0 -0
  19. {omniopt2-8989 → omniopt2-8991}/.omniopt_plot_worker.py +0 -0
  20. {omniopt2-8989 → omniopt2-8991}/.pareto.py +0 -0
  21. {omniopt2-8989 → omniopt2-8991}/.random_generator.py +0 -0
  22. {omniopt2-8989 → omniopt2-8991}/.shellscript_functions +0 -0
  23. {omniopt2-8989 → omniopt2-8991}/.tests/pylint.rc +0 -0
  24. {omniopt2-8989 → omniopt2-8991}/.tpe.py +0 -0
  25. {omniopt2-8989 → omniopt2-8991}/LICENSE +0 -0
  26. {omniopt2-8989 → omniopt2-8991}/MANIFEST.in +0 -0
  27. {omniopt2-8989 → omniopt2-8991}/README.md +0 -0
  28. {omniopt2-8989 → omniopt2-8991}/apt-dependencies.txt +0 -0
  29. {omniopt2-8989 → omniopt2-8991}/omniopt +0 -0
  30. {omniopt2-8989 → omniopt2-8991}/omniopt2.egg-info/SOURCES.txt +0 -0
  31. {omniopt2-8989 → omniopt2-8991}/omniopt2.egg-info/dependency_links.txt +0 -0
  32. {omniopt2-8989 → omniopt2-8991}/omniopt2.egg-info/requires.txt +0 -0
  33. {omniopt2-8989 → omniopt2-8991}/omniopt2.egg-info/top_level.txt +0 -0
  34. {omniopt2-8989 → omniopt2-8991}/omniopt_docker +0 -0
  35. {omniopt2-8989 → omniopt2-8991}/omniopt_evaluate +0 -0
  36. {omniopt2-8989 → omniopt2-8991}/omniopt_plot +0 -0
  37. {omniopt2-8989 → omniopt2-8991}/omniopt_share +0 -0
  38. {omniopt2-8989 → omniopt2-8991}/requirements.txt +0 -0
  39. {omniopt2-8989 → omniopt2-8991}/setup.cfg +0 -0
  40. {omniopt2-8989 → omniopt2-8991}/setup.py +0 -0
  41. {omniopt2-8989 → omniopt2-8991}/test_requirements.txt +0 -0
@@ -6517,6 +6517,8 @@ def get_current_model_name() -> str:
6517
6517
  if overwritten_to_random:
6518
6518
  return "Random*"
6519
6519
 
6520
+ gs_model = "unknown model"
6521
+
6520
6522
  if ax_client:
6521
6523
  try:
6522
6524
  if args.generation_strategy:
@@ -6524,10 +6526,6 @@ def get_current_model_name() -> str:
6524
6526
  if isinstance(idx, int):
6525
6527
  if 0 <= idx < len(generation_strategy_names):
6526
6528
  gs_model = generation_strategy_names[int(idx)]
6527
- else:
6528
- gs_model = "unknown model"
6529
- else:
6530
- gs_model = "unknown model"
6531
6529
  else:
6532
6530
  gs_model = getattr(ax_client.generation_strategy, "current_node_name", "unknown model")
6533
6531
 
@@ -8705,7 +8703,7 @@ def handle_generation_failure(
8705
8703
 
8706
8704
  if not recursion and args.revert_to_random_when_seemingly_exhausted:
8707
8705
  print_debug("Switching to random search strategy.")
8708
- set_global_gs_to_random()
8706
+ set_global_gs_to_sobol()
8709
8707
  return fetch_next_trials(requested, True)
8710
8708
 
8711
8709
  print_red(f"handle_generation_failure: General Exception: {e}")
@@ -8757,10 +8755,12 @@ def get_model_gen_kwargs() -> dict:
8757
8755
  "fit_out_of_design": args.fit_out_of_design
8758
8756
  }
8759
8757
 
8760
- def set_global_gs_to_random() -> None:
8758
+ def set_global_gs_to_sobol() -> None:
8761
8759
  global global_gs
8762
8760
  global overwritten_to_random
8763
8761
 
8762
+ print("Reverting to SOBOL")
8763
+
8764
8764
  global_gs = GenerationStrategy(
8765
8765
  name="Random*",
8766
8766
  nodes=[
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omniopt2
3
- Version: 8989
3
+ Version: 8991
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: 8989
3
+ Version: 8991
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 = "8989"
8
+ version = "8991"
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
File without changes
File without changes