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.

Files changed (40) hide show
  1. {omniopt2-8854 → omniopt2-8856}/.omniopt.py +7 -14
  2. {omniopt2-8854 → omniopt2-8856}/PKG-INFO +1 -1
  3. {omniopt2-8854 → omniopt2-8856}/omniopt2.egg-info/PKG-INFO +1 -1
  4. {omniopt2-8854 → omniopt2-8856}/pyproject.toml +1 -1
  5. {omniopt2-8854 → omniopt2-8856}/.colorfunctions.sh +0 -0
  6. {omniopt2-8854 → omniopt2-8856}/.dockerignore +0 -0
  7. {omniopt2-8854 → omniopt2-8856}/.general.sh +0 -0
  8. {omniopt2-8854 → omniopt2-8856}/.gitignore +0 -0
  9. {omniopt2-8854 → omniopt2-8856}/.helpers.py +0 -0
  10. {omniopt2-8854 → omniopt2-8856}/.omniopt_plot_cpu_ram_usage.py +0 -0
  11. {omniopt2-8854 → omniopt2-8856}/.omniopt_plot_general.py +0 -0
  12. {omniopt2-8854 → omniopt2-8856}/.omniopt_plot_gpu_usage.py +0 -0
  13. {omniopt2-8854 → omniopt2-8856}/.omniopt_plot_kde.py +0 -0
  14. {omniopt2-8854 → omniopt2-8856}/.omniopt_plot_scatter.py +0 -0
  15. {omniopt2-8854 → omniopt2-8856}/.omniopt_plot_scatter_generation_method.py +0 -0
  16. {omniopt2-8854 → omniopt2-8856}/.omniopt_plot_scatter_hex.py +0 -0
  17. {omniopt2-8854 → omniopt2-8856}/.omniopt_plot_time_and_exit_code.py +0 -0
  18. {omniopt2-8854 → omniopt2-8856}/.omniopt_plot_trial_index_result.py +0 -0
  19. {omniopt2-8854 → omniopt2-8856}/.omniopt_plot_worker.py +0 -0
  20. {omniopt2-8854 → omniopt2-8856}/.random_generator.py +0 -0
  21. {omniopt2-8854 → omniopt2-8856}/.shellscript_functions +0 -0
  22. {omniopt2-8854 → omniopt2-8856}/.tests/pylint.rc +0 -0
  23. {omniopt2-8854 → omniopt2-8856}/.tpe.py +0 -0
  24. {omniopt2-8854 → omniopt2-8856}/LICENSE +0 -0
  25. {omniopt2-8854 → omniopt2-8856}/MANIFEST.in +0 -0
  26. {omniopt2-8854 → omniopt2-8856}/README.md +0 -0
  27. {omniopt2-8854 → omniopt2-8856}/apt-dependencies.txt +0 -0
  28. {omniopt2-8854 → omniopt2-8856}/omniopt +0 -0
  29. {omniopt2-8854 → omniopt2-8856}/omniopt2.egg-info/SOURCES.txt +0 -0
  30. {omniopt2-8854 → omniopt2-8856}/omniopt2.egg-info/dependency_links.txt +0 -0
  31. {omniopt2-8854 → omniopt2-8856}/omniopt2.egg-info/requires.txt +0 -0
  32. {omniopt2-8854 → omniopt2-8856}/omniopt2.egg-info/top_level.txt +0 -0
  33. {omniopt2-8854 → omniopt2-8856}/omniopt_docker +0 -0
  34. {omniopt2-8854 → omniopt2-8856}/omniopt_evaluate +0 -0
  35. {omniopt2-8854 → omniopt2-8856}/omniopt_plot +0 -0
  36. {omniopt2-8854 → omniopt2-8856}/omniopt_share +0 -0
  37. {omniopt2-8854 → omniopt2-8856}/requirements.txt +0 -0
  38. {omniopt2-8854 → omniopt2-8856}/setup.cfg +0 -0
  39. {omniopt2-8854 → omniopt2-8856}/setup.py +0 -0
  40. {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
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omniopt2
3
- Version: 8854
3
+ Version: 8856
4
4
  Summary: Automatic highly parallelized hyperparameter optimizer based on Ax/Botorch
5
5
  Home-page: https://scads.ai/transfer-2/verfuegbare-software-dienste-en/omniopt/
6
6
  Author: Norman Koch
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omniopt2
3
- Version: 8854
3
+ Version: 8856
4
4
  Summary: Automatic highly parallelized hyperparameter optimizer based on Ax/Botorch
5
5
  Home-page: https://scads.ai/transfer-2/verfuegbare-software-dienste-en/omniopt/
6
6
  Author: Norman Koch
@@ -5,7 +5,7 @@ authors = [
5
5
  {email = "norman.koch@tu-dresden.de"},
6
6
  {name = "Norman Koch"}
7
7
  ]
8
- version = "8854"
8
+ version = "8856"
9
9
 
10
10
  readme = "README.md"
11
11
  dynamic = ["dependencies"]
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