omniopt2 8854__tar.gz → 8856__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-8854 → omniopt2-8856}/.omniopt.py +7 -14
- {omniopt2-8854 → omniopt2-8856}/PKG-INFO +1 -1
- {omniopt2-8854 → omniopt2-8856}/omniopt2.egg-info/PKG-INFO +1 -1
- {omniopt2-8854 → omniopt2-8856}/pyproject.toml +1 -1
- {omniopt2-8854 → omniopt2-8856}/.colorfunctions.sh +0 -0
- {omniopt2-8854 → omniopt2-8856}/.dockerignore +0 -0
- {omniopt2-8854 → omniopt2-8856}/.general.sh +0 -0
- {omniopt2-8854 → omniopt2-8856}/.gitignore +0 -0
- {omniopt2-8854 → omniopt2-8856}/.helpers.py +0 -0
- {omniopt2-8854 → omniopt2-8856}/.omniopt_plot_cpu_ram_usage.py +0 -0
- {omniopt2-8854 → omniopt2-8856}/.omniopt_plot_general.py +0 -0
- {omniopt2-8854 → omniopt2-8856}/.omniopt_plot_gpu_usage.py +0 -0
- {omniopt2-8854 → omniopt2-8856}/.omniopt_plot_kde.py +0 -0
- {omniopt2-8854 → omniopt2-8856}/.omniopt_plot_scatter.py +0 -0
- {omniopt2-8854 → omniopt2-8856}/.omniopt_plot_scatter_generation_method.py +0 -0
- {omniopt2-8854 → omniopt2-8856}/.omniopt_plot_scatter_hex.py +0 -0
- {omniopt2-8854 → omniopt2-8856}/.omniopt_plot_time_and_exit_code.py +0 -0
- {omniopt2-8854 → omniopt2-8856}/.omniopt_plot_trial_index_result.py +0 -0
- {omniopt2-8854 → omniopt2-8856}/.omniopt_plot_worker.py +0 -0
- {omniopt2-8854 → omniopt2-8856}/.random_generator.py +0 -0
- {omniopt2-8854 → omniopt2-8856}/.shellscript_functions +0 -0
- {omniopt2-8854 → omniopt2-8856}/.tests/pylint.rc +0 -0
- {omniopt2-8854 → omniopt2-8856}/.tpe.py +0 -0
- {omniopt2-8854 → omniopt2-8856}/LICENSE +0 -0
- {omniopt2-8854 → omniopt2-8856}/MANIFEST.in +0 -0
- {omniopt2-8854 → omniopt2-8856}/README.md +0 -0
- {omniopt2-8854 → omniopt2-8856}/apt-dependencies.txt +0 -0
- {omniopt2-8854 → omniopt2-8856}/omniopt +0 -0
- {omniopt2-8854 → omniopt2-8856}/omniopt2.egg-info/SOURCES.txt +0 -0
- {omniopt2-8854 → omniopt2-8856}/omniopt2.egg-info/dependency_links.txt +0 -0
- {omniopt2-8854 → omniopt2-8856}/omniopt2.egg-info/requires.txt +0 -0
- {omniopt2-8854 → omniopt2-8856}/omniopt2.egg-info/top_level.txt +0 -0
- {omniopt2-8854 → omniopt2-8856}/omniopt_docker +0 -0
- {omniopt2-8854 → omniopt2-8856}/omniopt_evaluate +0 -0
- {omniopt2-8854 → omniopt2-8856}/omniopt_plot +0 -0
- {omniopt2-8854 → omniopt2-8856}/omniopt_share +0 -0
- {omniopt2-8854 → omniopt2-8856}/requirements.txt +0 -0
- {omniopt2-8854 → omniopt2-8856}/setup.cfg +0 -0
- {omniopt2-8854 → omniopt2-8856}/setup.py +0 -0
- {omniopt2-8854 → omniopt2-8856}/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
|
|
@@ -6345,6 +6341,7 @@ def count_jobs_in_squeue() -> tuple[int, str]:
|
|
|
6345
6341
|
check=True,
|
|
6346
6342
|
text=True
|
|
6347
6343
|
)
|
|
6344
|
+
|
|
6348
6345
|
if "slurm_load_jobs error" in result.stderr:
|
|
6349
6346
|
_last_count_result = (_len, "Detected slurm_load_jobs error in stderr.")
|
|
6350
6347
|
_last_count_time = now
|
|
@@ -7487,6 +7484,8 @@ def finish_job_core(job: Any, trial_index: int, this_jobs_finished: int) -> int:
|
|
|
7487
7484
|
print_debug(f"finish_job_core: removing job {job}, trial_index: {trial_index}")
|
|
7488
7485
|
global_vars["jobs"].remove((job, trial_index))
|
|
7489
7486
|
|
|
7487
|
+
log_data()
|
|
7488
|
+
|
|
7490
7489
|
force_live_share()
|
|
7491
7490
|
|
|
7492
7491
|
return this_jobs_finished
|
|
@@ -7754,6 +7753,8 @@ def submit_new_job(parameters: Union[dict, str], trial_index: int) -> Any:
|
|
|
7754
7753
|
|
|
7755
7754
|
print_debug(f"Done submitting new job, took {elapsed} seconds")
|
|
7756
7755
|
|
|
7756
|
+
log_data()
|
|
7757
|
+
|
|
7757
7758
|
return new_job
|
|
7758
7759
|
|
|
7759
7760
|
def get_ax_client_trial(trial_index: int) -> Optional[ax.core.trial.Trial]:
|
|
@@ -9444,11 +9445,6 @@ def run_search() -> bool:
|
|
|
9444
9445
|
|
|
9445
9446
|
return False
|
|
9446
9447
|
|
|
9447
|
-
async def start_logging_daemon() -> None:
|
|
9448
|
-
while True:
|
|
9449
|
-
log_data()
|
|
9450
|
-
time.sleep(30)
|
|
9451
|
-
|
|
9452
9448
|
def should_break_search() -> bool:
|
|
9453
9449
|
ret = False
|
|
9454
9450
|
|
|
@@ -11525,8 +11521,6 @@ def main_wrapper() -> None:
|
|
|
11525
11521
|
|
|
11526
11522
|
print_logo()
|
|
11527
11523
|
|
|
11528
|
-
start_logging_daemon() # type: ignore[unused-coroutine]
|
|
11529
|
-
|
|
11530
11524
|
fool_linter(args.num_cpus_main_job)
|
|
11531
11525
|
fool_linter(args.flame_graph)
|
|
11532
11526
|
fool_linter(args.memray)
|
|
@@ -11597,7 +11591,6 @@ def auto_wrap_namespace(namespace: Any) -> Any:
|
|
|
11597
11591
|
"_record_stats",
|
|
11598
11592
|
"_open",
|
|
11599
11593
|
"_check_memory_leak",
|
|
11600
|
-
"start_logging_daemon",
|
|
11601
11594
|
"get_current_run_folder",
|
|
11602
11595
|
"show_func_name_wrapper"
|
|
11603
11596
|
}
|
|
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
|