omniopt2 8855__tar.gz → 8857__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-8855 → omniopt2-8857}/.omniopt.py +12 -14
- {omniopt2-8855 → omniopt2-8857}/PKG-INFO +1 -1
- {omniopt2-8855 → omniopt2-8857}/omniopt2.egg-info/PKG-INFO +1 -1
- {omniopt2-8855 → omniopt2-8857}/pyproject.toml +1 -1
- {omniopt2-8855 → omniopt2-8857}/.colorfunctions.sh +0 -0
- {omniopt2-8855 → omniopt2-8857}/.dockerignore +0 -0
- {omniopt2-8855 → omniopt2-8857}/.general.sh +0 -0
- {omniopt2-8855 → omniopt2-8857}/.gitignore +0 -0
- {omniopt2-8855 → omniopt2-8857}/.helpers.py +0 -0
- {omniopt2-8855 → omniopt2-8857}/.omniopt_plot_cpu_ram_usage.py +0 -0
- {omniopt2-8855 → omniopt2-8857}/.omniopt_plot_general.py +0 -0
- {omniopt2-8855 → omniopt2-8857}/.omniopt_plot_gpu_usage.py +0 -0
- {omniopt2-8855 → omniopt2-8857}/.omniopt_plot_kde.py +0 -0
- {omniopt2-8855 → omniopt2-8857}/.omniopt_plot_scatter.py +0 -0
- {omniopt2-8855 → omniopt2-8857}/.omniopt_plot_scatter_generation_method.py +0 -0
- {omniopt2-8855 → omniopt2-8857}/.omniopt_plot_scatter_hex.py +0 -0
- {omniopt2-8855 → omniopt2-8857}/.omniopt_plot_time_and_exit_code.py +0 -0
- {omniopt2-8855 → omniopt2-8857}/.omniopt_plot_trial_index_result.py +0 -0
- {omniopt2-8855 → omniopt2-8857}/.omniopt_plot_worker.py +0 -0
- {omniopt2-8855 → omniopt2-8857}/.random_generator.py +0 -0
- {omniopt2-8855 → omniopt2-8857}/.shellscript_functions +0 -0
- {omniopt2-8855 → omniopt2-8857}/.tests/pylint.rc +0 -0
- {omniopt2-8855 → omniopt2-8857}/.tpe.py +0 -0
- {omniopt2-8855 → omniopt2-8857}/LICENSE +0 -0
- {omniopt2-8855 → omniopt2-8857}/MANIFEST.in +0 -0
- {omniopt2-8855 → omniopt2-8857}/README.md +0 -0
- {omniopt2-8855 → omniopt2-8857}/apt-dependencies.txt +0 -0
- {omniopt2-8855 → omniopt2-8857}/omniopt +0 -0
- {omniopt2-8855 → omniopt2-8857}/omniopt2.egg-info/SOURCES.txt +0 -0
- {omniopt2-8855 → omniopt2-8857}/omniopt2.egg-info/dependency_links.txt +0 -0
- {omniopt2-8855 → omniopt2-8857}/omniopt2.egg-info/requires.txt +0 -0
- {omniopt2-8855 → omniopt2-8857}/omniopt2.egg-info/top_level.txt +0 -0
- {omniopt2-8855 → omniopt2-8857}/omniopt_docker +0 -0
- {omniopt2-8855 → omniopt2-8857}/omniopt_evaluate +0 -0
- {omniopt2-8855 → omniopt2-8857}/omniopt_plot +0 -0
- {omniopt2-8855 → omniopt2-8857}/omniopt_share +0 -0
- {omniopt2-8855 → omniopt2-8857}/requirements.txt +0 -0
- {omniopt2-8855 → omniopt2-8857}/setup.cfg +0 -0
- {omniopt2-8855 → omniopt2-8857}/setup.py +0 -0
- {omniopt2-8855 → omniopt2-8857}/test_requirements.txt +0 -0
|
@@ -157,12 +157,6 @@ try:
|
|
|
157
157
|
message="Ax currently requires a sqlalchemy version below 2.0.*",
|
|
158
158
|
)
|
|
159
159
|
|
|
160
|
-
warnings.filterwarnings(
|
|
161
|
-
"ignore",
|
|
162
|
-
category=RuntimeWarning,
|
|
163
|
-
message="coroutine 'start_logging_daemon' was never awaited"
|
|
164
|
-
)
|
|
165
|
-
|
|
166
160
|
with spinner("Importing argparse..."):
|
|
167
161
|
import argparse
|
|
168
162
|
|
|
@@ -2088,6 +2082,8 @@ def force_live_share() -> bool:
|
|
|
2088
2082
|
return False
|
|
2089
2083
|
|
|
2090
2084
|
def live_share(force: bool = False, text_and_qr: bool = False) -> bool:
|
|
2085
|
+
log_data()
|
|
2086
|
+
|
|
2091
2087
|
if not get_current_run_folder():
|
|
2092
2088
|
print(f"live_share: get_current_run_folder was empty or false: {get_current_run_folder()}")
|
|
2093
2089
|
return False
|
|
@@ -7488,6 +7484,8 @@ def finish_job_core(job: Any, trial_index: int, this_jobs_finished: int) -> int:
|
|
|
7488
7484
|
print_debug(f"finish_job_core: removing job {job}, trial_index: {trial_index}")
|
|
7489
7485
|
global_vars["jobs"].remove((job, trial_index))
|
|
7490
7486
|
|
|
7487
|
+
log_data()
|
|
7488
|
+
|
|
7491
7489
|
force_live_share()
|
|
7492
7490
|
|
|
7493
7491
|
return this_jobs_finished
|
|
@@ -7755,6 +7753,8 @@ def submit_new_job(parameters: Union[dict, str], trial_index: int) -> Any:
|
|
|
7755
7753
|
|
|
7756
7754
|
print_debug(f"Done submitting new job, took {elapsed} seconds")
|
|
7757
7755
|
|
|
7756
|
+
log_data()
|
|
7757
|
+
|
|
7758
7758
|
return new_job
|
|
7759
7759
|
|
|
7760
7760
|
def get_ax_client_trial(trial_index: int) -> Optional[ax.core.trial.Trial]:
|
|
@@ -7764,6 +7764,8 @@ def get_ax_client_trial(trial_index: int) -> Optional[ax.core.trial.Trial]:
|
|
|
7764
7764
|
return None
|
|
7765
7765
|
|
|
7766
7766
|
try:
|
|
7767
|
+
log_data()
|
|
7768
|
+
|
|
7767
7769
|
return ax_client.get_trial(trial_index)
|
|
7768
7770
|
except KeyError:
|
|
7769
7771
|
error_without_print(f"get_ax_client_trial: trial_index {trial_index} failed")
|
|
@@ -8062,6 +8064,8 @@ def break_run_search(_name: str, _max_eval: Optional[int]) -> bool:
|
|
|
8062
8064
|
_submitted_jobs = submitted_jobs()
|
|
8063
8065
|
_failed_jobs = failed_jobs()
|
|
8064
8066
|
|
|
8067
|
+
log_data()
|
|
8068
|
+
|
|
8065
8069
|
max_failed_jobs = max_eval
|
|
8066
8070
|
|
|
8067
8071
|
if args.max_failed_jobs is not None and args.max_failed_jobs > 0:
|
|
@@ -9206,6 +9210,8 @@ def execute_trials(
|
|
|
9206
9210
|
|
|
9207
9211
|
end_time = time.time()
|
|
9208
9212
|
|
|
9213
|
+
log_data()
|
|
9214
|
+
|
|
9209
9215
|
duration = float(end_time - start_time)
|
|
9210
9216
|
job_submit_durations.append(duration)
|
|
9211
9217
|
job_submit_nrs.append(cnt)
|
|
@@ -9445,11 +9451,6 @@ def run_search() -> bool:
|
|
|
9445
9451
|
|
|
9446
9452
|
return False
|
|
9447
9453
|
|
|
9448
|
-
async def start_logging_daemon() -> None:
|
|
9449
|
-
while True:
|
|
9450
|
-
log_data()
|
|
9451
|
-
time.sleep(30)
|
|
9452
|
-
|
|
9453
9454
|
def should_break_search() -> bool:
|
|
9454
9455
|
ret = False
|
|
9455
9456
|
|
|
@@ -11526,8 +11527,6 @@ def main_wrapper() -> None:
|
|
|
11526
11527
|
|
|
11527
11528
|
print_logo()
|
|
11528
11529
|
|
|
11529
|
-
start_logging_daemon() # type: ignore[unused-coroutine]
|
|
11530
|
-
|
|
11531
11530
|
fool_linter(args.num_cpus_main_job)
|
|
11532
11531
|
fool_linter(args.flame_graph)
|
|
11533
11532
|
fool_linter(args.memray)
|
|
@@ -11598,7 +11597,6 @@ def auto_wrap_namespace(namespace: Any) -> Any:
|
|
|
11598
11597
|
"_record_stats",
|
|
11599
11598
|
"_open",
|
|
11600
11599
|
"_check_memory_leak",
|
|
11601
|
-
"start_logging_daemon",
|
|
11602
11600
|
"get_current_run_folder",
|
|
11603
11601
|
"show_func_name_wrapper"
|
|
11604
11602
|
}
|
|
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
|