omniopt2 7671__tar.gz → 7674__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-7671 → omniopt2-7674}/.omniopt.py +4 -4
- {omniopt2-7671 → omniopt2-7674}/PKG-INFO +1 -1
- {omniopt2-7671 → omniopt2-7674}/omniopt2.egg-info/PKG-INFO +1 -1
- {omniopt2-7671 → omniopt2-7674}/pyproject.toml +1 -1
- {omniopt2-7671 → omniopt2-7674}/.colorfunctions.sh +0 -0
- {omniopt2-7671 → omniopt2-7674}/.dockerignore +0 -0
- {omniopt2-7671 → omniopt2-7674}/.general.sh +0 -0
- {omniopt2-7671 → omniopt2-7674}/.gitignore +0 -0
- {omniopt2-7671 → omniopt2-7674}/.helpers.py +0 -0
- {omniopt2-7671 → omniopt2-7674}/.omniopt_plot_cpu_ram_usage.py +0 -0
- {omniopt2-7671 → omniopt2-7674}/.omniopt_plot_general.py +0 -0
- {omniopt2-7671 → omniopt2-7674}/.omniopt_plot_gpu_usage.py +0 -0
- {omniopt2-7671 → omniopt2-7674}/.omniopt_plot_kde.py +0 -0
- {omniopt2-7671 → omniopt2-7674}/.omniopt_plot_scatter.py +0 -0
- {omniopt2-7671 → omniopt2-7674}/.omniopt_plot_scatter_generation_method.py +0 -0
- {omniopt2-7671 → omniopt2-7674}/.omniopt_plot_scatter_hex.py +0 -0
- {omniopt2-7671 → omniopt2-7674}/.omniopt_plot_time_and_exit_code.py +0 -0
- {omniopt2-7671 → omniopt2-7674}/.omniopt_plot_trial_index_result.py +0 -0
- {omniopt2-7671 → omniopt2-7674}/.omniopt_plot_worker.py +0 -0
- {omniopt2-7671 → omniopt2-7674}/.random_generator.py +0 -0
- {omniopt2-7671 → omniopt2-7674}/.shellscript_functions +0 -0
- {omniopt2-7671 → omniopt2-7674}/.tpe.py +0 -0
- {omniopt2-7671 → omniopt2-7674}/LICENSE +0 -0
- {omniopt2-7671 → omniopt2-7674}/MANIFEST.in +0 -0
- {omniopt2-7671 → omniopt2-7674}/README.md +0 -0
- {omniopt2-7671 → omniopt2-7674}/apt-dependencies.txt +0 -0
- {omniopt2-7671 → omniopt2-7674}/omniopt +0 -0
- {omniopt2-7671 → omniopt2-7674}/omniopt2.egg-info/SOURCES.txt +0 -0
- {omniopt2-7671 → omniopt2-7674}/omniopt2.egg-info/dependency_links.txt +0 -0
- {omniopt2-7671 → omniopt2-7674}/omniopt2.egg-info/requires.txt +0 -0
- {omniopt2-7671 → omniopt2-7674}/omniopt2.egg-info/top_level.txt +0 -0
- {omniopt2-7671 → omniopt2-7674}/omniopt_docker +0 -0
- {omniopt2-7671 → omniopt2-7674}/omniopt_evaluate +0 -0
- {omniopt2-7671 → omniopt2-7674}/omniopt_plot +0 -0
- {omniopt2-7671 → omniopt2-7674}/omniopt_share +0 -0
- {omniopt2-7671 → omniopt2-7674}/requirements.txt +0 -0
- {omniopt2-7671 → omniopt2-7674}/setup.cfg +0 -0
- {omniopt2-7671 → omniopt2-7674}/setup.py +0 -0
- {omniopt2-7671 → omniopt2-7674}/test_requirements.txt +0 -0
|
@@ -17,7 +17,7 @@ import random
|
|
|
17
17
|
import tempfile
|
|
18
18
|
import threading
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
arms_by_name_for_deduplication: dict = {}
|
|
21
21
|
initialized_storage: bool = False
|
|
22
22
|
prepared_setting_to_custom: bool = False
|
|
23
23
|
whole_start_time: float = time.time()
|
|
@@ -7576,7 +7576,7 @@ def die_101_if_no_ax_client_or_experiment_or_gs() -> None:
|
|
|
7576
7576
|
|
|
7577
7577
|
@beartype
|
|
7578
7578
|
def deduplicated_arm(arm: Any) -> bool:
|
|
7579
|
-
if arm.
|
|
7579
|
+
if arm.name in arms_by_name_for_deduplication:
|
|
7580
7580
|
return True
|
|
7581
7581
|
|
|
7582
7582
|
return False
|
|
@@ -7710,9 +7710,9 @@ def _create_and_handle_trial(arm: Any) -> Optional[Tuple[int, float, bool]]:
|
|
|
7710
7710
|
if deduplicated_arm(arm):
|
|
7711
7711
|
print_debug(f"Duplicated arm: {arm}")
|
|
7712
7712
|
trial.mark_abandoned(reason="Duplication detected")
|
|
7713
|
-
|
|
7713
|
+
raise TrialRejected("Duplicate arm.")
|
|
7714
7714
|
|
|
7715
|
-
|
|
7715
|
+
arms_by_name_for_deduplication[arm.name] = arm
|
|
7716
7716
|
|
|
7717
7717
|
params = arm.parameters
|
|
7718
7718
|
|
|
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
|