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.
- {omniopt2-8989 → omniopt2-8991}/.omniopt.py +6 -6
- {omniopt2-8989 → omniopt2-8991}/PKG-INFO +1 -1
- {omniopt2-8989 → omniopt2-8991}/omniopt2.egg-info/PKG-INFO +1 -1
- {omniopt2-8989 → omniopt2-8991}/pyproject.toml +1 -1
- {omniopt2-8989 → omniopt2-8991}/.colorfunctions.sh +0 -0
- {omniopt2-8989 → omniopt2-8991}/.dockerignore +0 -0
- {omniopt2-8989 → omniopt2-8991}/.general.sh +0 -0
- {omniopt2-8989 → omniopt2-8991}/.gitignore +0 -0
- {omniopt2-8989 → omniopt2-8991}/.helpers.py +0 -0
- {omniopt2-8989 → omniopt2-8991}/.omniopt_plot_cpu_ram_usage.py +0 -0
- {omniopt2-8989 → omniopt2-8991}/.omniopt_plot_general.py +0 -0
- {omniopt2-8989 → omniopt2-8991}/.omniopt_plot_gpu_usage.py +0 -0
- {omniopt2-8989 → omniopt2-8991}/.omniopt_plot_kde.py +0 -0
- {omniopt2-8989 → omniopt2-8991}/.omniopt_plot_scatter.py +0 -0
- {omniopt2-8989 → omniopt2-8991}/.omniopt_plot_scatter_generation_method.py +0 -0
- {omniopt2-8989 → omniopt2-8991}/.omniopt_plot_scatter_hex.py +0 -0
- {omniopt2-8989 → omniopt2-8991}/.omniopt_plot_time_and_exit_code.py +0 -0
- {omniopt2-8989 → omniopt2-8991}/.omniopt_plot_trial_index_result.py +0 -0
- {omniopt2-8989 → omniopt2-8991}/.omniopt_plot_worker.py +0 -0
- {omniopt2-8989 → omniopt2-8991}/.pareto.py +0 -0
- {omniopt2-8989 → omniopt2-8991}/.random_generator.py +0 -0
- {omniopt2-8989 → omniopt2-8991}/.shellscript_functions +0 -0
- {omniopt2-8989 → omniopt2-8991}/.tests/pylint.rc +0 -0
- {omniopt2-8989 → omniopt2-8991}/.tpe.py +0 -0
- {omniopt2-8989 → omniopt2-8991}/LICENSE +0 -0
- {omniopt2-8989 → omniopt2-8991}/MANIFEST.in +0 -0
- {omniopt2-8989 → omniopt2-8991}/README.md +0 -0
- {omniopt2-8989 → omniopt2-8991}/apt-dependencies.txt +0 -0
- {omniopt2-8989 → omniopt2-8991}/omniopt +0 -0
- {omniopt2-8989 → omniopt2-8991}/omniopt2.egg-info/SOURCES.txt +0 -0
- {omniopt2-8989 → omniopt2-8991}/omniopt2.egg-info/dependency_links.txt +0 -0
- {omniopt2-8989 → omniopt2-8991}/omniopt2.egg-info/requires.txt +0 -0
- {omniopt2-8989 → omniopt2-8991}/omniopt2.egg-info/top_level.txt +0 -0
- {omniopt2-8989 → omniopt2-8991}/omniopt_docker +0 -0
- {omniopt2-8989 → omniopt2-8991}/omniopt_evaluate +0 -0
- {omniopt2-8989 → omniopt2-8991}/omniopt_plot +0 -0
- {omniopt2-8989 → omniopt2-8991}/omniopt_share +0 -0
- {omniopt2-8989 → omniopt2-8991}/requirements.txt +0 -0
- {omniopt2-8989 → omniopt2-8991}/setup.cfg +0 -0
- {omniopt2-8989 → omniopt2-8991}/setup.py +0 -0
- {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
|
-
|
|
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
|
|
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=[
|
|
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
|
|
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
|