omniopt2 8710__tar.gz → 8712__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-8710 → omniopt2-8712}/.omniopt.py +13 -6
  2. {omniopt2-8710 → omniopt2-8712}/PKG-INFO +1 -1
  3. {omniopt2-8710 → omniopt2-8712}/omniopt2.egg-info/PKG-INFO +1 -1
  4. {omniopt2-8710 → omniopt2-8712}/pyproject.toml +1 -1
  5. {omniopt2-8710 → omniopt2-8712}/.colorfunctions.sh +0 -0
  6. {omniopt2-8710 → omniopt2-8712}/.dockerignore +0 -0
  7. {omniopt2-8710 → omniopt2-8712}/.general.sh +0 -0
  8. {omniopt2-8710 → omniopt2-8712}/.gitignore +0 -0
  9. {omniopt2-8710 → omniopt2-8712}/.helpers.py +0 -0
  10. {omniopt2-8710 → omniopt2-8712}/.omniopt_plot_cpu_ram_usage.py +0 -0
  11. {omniopt2-8710 → omniopt2-8712}/.omniopt_plot_general.py +0 -0
  12. {omniopt2-8710 → omniopt2-8712}/.omniopt_plot_gpu_usage.py +0 -0
  13. {omniopt2-8710 → omniopt2-8712}/.omniopt_plot_kde.py +0 -0
  14. {omniopt2-8710 → omniopt2-8712}/.omniopt_plot_scatter.py +0 -0
  15. {omniopt2-8710 → omniopt2-8712}/.omniopt_plot_scatter_generation_method.py +0 -0
  16. {omniopt2-8710 → omniopt2-8712}/.omniopt_plot_scatter_hex.py +0 -0
  17. {omniopt2-8710 → omniopt2-8712}/.omniopt_plot_time_and_exit_code.py +0 -0
  18. {omniopt2-8710 → omniopt2-8712}/.omniopt_plot_trial_index_result.py +0 -0
  19. {omniopt2-8710 → omniopt2-8712}/.omniopt_plot_worker.py +0 -0
  20. {omniopt2-8710 → omniopt2-8712}/.random_generator.py +0 -0
  21. {omniopt2-8710 → omniopt2-8712}/.shellscript_functions +0 -0
  22. {omniopt2-8710 → omniopt2-8712}/.tests/pylint.rc +0 -0
  23. {omniopt2-8710 → omniopt2-8712}/.tpe.py +0 -0
  24. {omniopt2-8710 → omniopt2-8712}/LICENSE +0 -0
  25. {omniopt2-8710 → omniopt2-8712}/MANIFEST.in +0 -0
  26. {omniopt2-8710 → omniopt2-8712}/README.md +0 -0
  27. {omniopt2-8710 → omniopt2-8712}/apt-dependencies.txt +0 -0
  28. {omniopt2-8710 → omniopt2-8712}/omniopt +0 -0
  29. {omniopt2-8710 → omniopt2-8712}/omniopt2.egg-info/SOURCES.txt +0 -0
  30. {omniopt2-8710 → omniopt2-8712}/omniopt2.egg-info/dependency_links.txt +0 -0
  31. {omniopt2-8710 → omniopt2-8712}/omniopt2.egg-info/requires.txt +0 -0
  32. {omniopt2-8710 → omniopt2-8712}/omniopt2.egg-info/top_level.txt +0 -0
  33. {omniopt2-8710 → omniopt2-8712}/omniopt_docker +0 -0
  34. {omniopt2-8710 → omniopt2-8712}/omniopt_evaluate +0 -0
  35. {omniopt2-8710 → omniopt2-8712}/omniopt_plot +0 -0
  36. {omniopt2-8710 → omniopt2-8712}/omniopt_share +0 -0
  37. {omniopt2-8710 → omniopt2-8712}/requirements.txt +0 -0
  38. {omniopt2-8710 → omniopt2-8712}/setup.cfg +0 -0
  39. {omniopt2-8710 → omniopt2-8712}/setup.py +0 -0
  40. {omniopt2-8710 → omniopt2-8712}/test_requirements.txt +0 -0
@@ -32,6 +32,8 @@ import psutil
32
32
  FORCE_EXIT: bool = False
33
33
 
34
34
  last_msg_progressbar = ""
35
+ last_msg_raw = None
36
+ last_lock = threading.Lock()
35
37
 
36
38
  def force_exit(signal_number: Any, frame: Any) -> Any:
37
39
  global FORCE_EXIT
@@ -2839,15 +2841,20 @@ def print_debug_get_next_trials(got: int, requested: int, _line: int) -> None:
2839
2841
  log_message_to_file(LOGFILE_DEBUG_GET_NEXT_TRIALS, msg, 0, "")
2840
2842
 
2841
2843
  def print_debug_progressbar(msg: str) -> None:
2842
- global last_msg_progressbar
2844
+ global last_msg_progressbar, last_msg_raw
2843
2845
 
2844
- if msg != last_msg_progressbar:
2845
- time_str = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
2846
- msg = f"{time_str} ({worker_generator_uuid}): {msg}"
2846
+ try:
2847
+ with last_lock:
2848
+ if msg != last_msg_raw:
2849
+ time_str = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
2850
+ full_msg = f"{time_str} ({worker_generator_uuid}): {msg}"
2847
2851
 
2848
- _debug_progressbar(msg)
2852
+ _debug_progressbar(full_msg)
2849
2853
 
2850
- last_msg_progressbar = msg
2854
+ last_msg_raw = msg
2855
+ last_msg_progressbar = full_msg
2856
+ except Exception as e:
2857
+ print(f"Error in print_debug_progressbar: {e}", flush=True)
2851
2858
 
2852
2859
  def get_process_info(pid: Any) -> str:
2853
2860
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omniopt2
3
- Version: 8710
3
+ Version: 8712
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: 8710
3
+ Version: 8712
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 = "8710"
8
+ version = "8712"
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