omniopt2 7653__tar.gz → 7655__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-7653 → omniopt2-7655}/.omniopt.py +3 -4
- {omniopt2-7653 → omniopt2-7655}/PKG-INFO +1 -1
- {omniopt2-7653 → omniopt2-7655}/omniopt2.egg-info/PKG-INFO +1 -1
- {omniopt2-7653 → omniopt2-7655}/pyproject.toml +1 -1
- {omniopt2-7653 → omniopt2-7655}/.colorfunctions.sh +0 -0
- {omniopt2-7653 → omniopt2-7655}/.dockerignore +0 -0
- {omniopt2-7653 → omniopt2-7655}/.general.sh +0 -0
- {omniopt2-7653 → omniopt2-7655}/.gitignore +0 -0
- {omniopt2-7653 → omniopt2-7655}/.helpers.py +0 -0
- {omniopt2-7653 → omniopt2-7655}/.omniopt_plot_cpu_ram_usage.py +0 -0
- {omniopt2-7653 → omniopt2-7655}/.omniopt_plot_general.py +0 -0
- {omniopt2-7653 → omniopt2-7655}/.omniopt_plot_gpu_usage.py +0 -0
- {omniopt2-7653 → omniopt2-7655}/.omniopt_plot_kde.py +0 -0
- {omniopt2-7653 → omniopt2-7655}/.omniopt_plot_scatter.py +0 -0
- {omniopt2-7653 → omniopt2-7655}/.omniopt_plot_scatter_generation_method.py +0 -0
- {omniopt2-7653 → omniopt2-7655}/.omniopt_plot_scatter_hex.py +0 -0
- {omniopt2-7653 → omniopt2-7655}/.omniopt_plot_time_and_exit_code.py +0 -0
- {omniopt2-7653 → omniopt2-7655}/.omniopt_plot_trial_index_result.py +0 -0
- {omniopt2-7653 → omniopt2-7655}/.omniopt_plot_worker.py +0 -0
- {omniopt2-7653 → omniopt2-7655}/.random_generator.py +0 -0
- {omniopt2-7653 → omniopt2-7655}/.shellscript_functions +0 -0
- {omniopt2-7653 → omniopt2-7655}/.tpe.py +0 -0
- {omniopt2-7653 → omniopt2-7655}/LICENSE +0 -0
- {omniopt2-7653 → omniopt2-7655}/MANIFEST.in +0 -0
- {omniopt2-7653 → omniopt2-7655}/README.md +0 -0
- {omniopt2-7653 → omniopt2-7655}/apt-dependencies.txt +0 -0
- {omniopt2-7653 → omniopt2-7655}/omniopt +0 -0
- {omniopt2-7653 → omniopt2-7655}/omniopt2.egg-info/SOURCES.txt +0 -0
- {omniopt2-7653 → omniopt2-7655}/omniopt2.egg-info/dependency_links.txt +0 -0
- {omniopt2-7653 → omniopt2-7655}/omniopt2.egg-info/requires.txt +0 -0
- {omniopt2-7653 → omniopt2-7655}/omniopt2.egg-info/top_level.txt +0 -0
- {omniopt2-7653 → omniopt2-7655}/omniopt_docker +0 -0
- {omniopt2-7653 → omniopt2-7655}/omniopt_evaluate +0 -0
- {omniopt2-7653 → omniopt2-7655}/omniopt_plot +0 -0
- {omniopt2-7653 → omniopt2-7655}/omniopt_share +0 -0
- {omniopt2-7653 → omniopt2-7655}/requirements.txt +0 -0
- {omniopt2-7653 → omniopt2-7655}/setup.cfg +0 -0
- {omniopt2-7653 → omniopt2-7655}/setup.py +0 -0
- {omniopt2-7653 → omniopt2-7655}/test_requirements.txt +0 -0
|
@@ -3814,7 +3814,7 @@ def print_evaluate_times() -> None:
|
|
|
3814
3814
|
median_time = statistics.median(time_values)
|
|
3815
3815
|
|
|
3816
3816
|
if min_time != max_time or max_time != 0:
|
|
3817
|
-
headers = ["Number of
|
|
3817
|
+
headers = ["Number of evaluations", "Min time", "Max time", "Average time", "Median time"]
|
|
3818
3818
|
|
|
3819
3819
|
cols = [
|
|
3820
3820
|
str(len(time_values)),
|
|
@@ -3834,7 +3834,7 @@ def print_evaluate_times() -> None:
|
|
|
3834
3834
|
|
|
3835
3835
|
overview_file = f"{get_current_run_folder()}/time_overview.txt"
|
|
3836
3836
|
with open(overview_file, mode='w', encoding='utf-8') as overview:
|
|
3837
|
-
overview.write(f"Number of
|
|
3837
|
+
overview.write(f"Number of evaluations: {len(time_values)} sec\n")
|
|
3838
3838
|
overview.write(f"Min Time: {min_time:.2f} sec\n")
|
|
3839
3839
|
overview.write(f"Max Time: {max_time:.2f} sec\n")
|
|
3840
3840
|
overview.write(f"Average Time: {avg_time:.2f} sec\n")
|
|
@@ -7639,10 +7639,9 @@ def _generate_trials(n: int, recursion: bool) -> Tuple[Dict[int, Any], bool]:
|
|
|
7639
7639
|
start_time = time.time()
|
|
7640
7640
|
cnt = 0
|
|
7641
7641
|
retries = 0
|
|
7642
|
-
max_retries = args.max_abandoned_retrial
|
|
7643
7642
|
|
|
7644
7643
|
try:
|
|
7645
|
-
while cnt < n and retries <
|
|
7644
|
+
while cnt < n and retries < args.max_abandoned_retrial:
|
|
7646
7645
|
for arm in get_batched_arms(n - cnt):
|
|
7647
7646
|
if cnt >= n:
|
|
7648
7647
|
break
|
|
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
|