omniopt2 8762__tar.gz → 8764__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-8762 → omniopt2-8764}/.omniopt.py +5 -2
  2. {omniopt2-8762 → omniopt2-8764}/PKG-INFO +1 -1
  3. {omniopt2-8762 → omniopt2-8764}/omniopt2.egg-info/PKG-INFO +1 -1
  4. {omniopt2-8762 → omniopt2-8764}/pyproject.toml +1 -1
  5. {omniopt2-8762 → omniopt2-8764}/.colorfunctions.sh +0 -0
  6. {omniopt2-8762 → omniopt2-8764}/.dockerignore +0 -0
  7. {omniopt2-8762 → omniopt2-8764}/.general.sh +0 -0
  8. {omniopt2-8762 → omniopt2-8764}/.gitignore +0 -0
  9. {omniopt2-8762 → omniopt2-8764}/.helpers.py +0 -0
  10. {omniopt2-8762 → omniopt2-8764}/.omniopt_plot_cpu_ram_usage.py +0 -0
  11. {omniopt2-8762 → omniopt2-8764}/.omniopt_plot_general.py +0 -0
  12. {omniopt2-8762 → omniopt2-8764}/.omniopt_plot_gpu_usage.py +0 -0
  13. {omniopt2-8762 → omniopt2-8764}/.omniopt_plot_kde.py +0 -0
  14. {omniopt2-8762 → omniopt2-8764}/.omniopt_plot_scatter.py +0 -0
  15. {omniopt2-8762 → omniopt2-8764}/.omniopt_plot_scatter_generation_method.py +0 -0
  16. {omniopt2-8762 → omniopt2-8764}/.omniopt_plot_scatter_hex.py +0 -0
  17. {omniopt2-8762 → omniopt2-8764}/.omniopt_plot_time_and_exit_code.py +0 -0
  18. {omniopt2-8762 → omniopt2-8764}/.omniopt_plot_trial_index_result.py +0 -0
  19. {omniopt2-8762 → omniopt2-8764}/.omniopt_plot_worker.py +0 -0
  20. {omniopt2-8762 → omniopt2-8764}/.random_generator.py +0 -0
  21. {omniopt2-8762 → omniopt2-8764}/.shellscript_functions +0 -0
  22. {omniopt2-8762 → omniopt2-8764}/.tests/pylint.rc +0 -0
  23. {omniopt2-8762 → omniopt2-8764}/.tpe.py +0 -0
  24. {omniopt2-8762 → omniopt2-8764}/LICENSE +0 -0
  25. {omniopt2-8762 → omniopt2-8764}/MANIFEST.in +0 -0
  26. {omniopt2-8762 → omniopt2-8764}/README.md +0 -0
  27. {omniopt2-8762 → omniopt2-8764}/apt-dependencies.txt +0 -0
  28. {omniopt2-8762 → omniopt2-8764}/omniopt +0 -0
  29. {omniopt2-8762 → omniopt2-8764}/omniopt2.egg-info/SOURCES.txt +0 -0
  30. {omniopt2-8762 → omniopt2-8764}/omniopt2.egg-info/dependency_links.txt +0 -0
  31. {omniopt2-8762 → omniopt2-8764}/omniopt2.egg-info/requires.txt +0 -0
  32. {omniopt2-8762 → omniopt2-8764}/omniopt2.egg-info/top_level.txt +0 -0
  33. {omniopt2-8762 → omniopt2-8764}/omniopt_docker +0 -0
  34. {omniopt2-8762 → omniopt2-8764}/omniopt_evaluate +0 -0
  35. {omniopt2-8762 → omniopt2-8764}/omniopt_plot +0 -0
  36. {omniopt2-8762 → omniopt2-8764}/omniopt_share +0 -0
  37. {omniopt2-8762 → omniopt2-8764}/requirements.txt +0 -0
  38. {omniopt2-8762 → omniopt2-8764}/setup.cfg +0 -0
  39. {omniopt2-8762 → omniopt2-8764}/setup.py +0 -0
  40. {omniopt2-8762 → omniopt2-8764}/test_requirements.txt +0 -0
@@ -87,6 +87,7 @@ log_nr_gen_jobs: list[int] = []
87
87
  generation_strategy_human_readable: str = ""
88
88
  oo_call: str = "./omniopt"
89
89
  progress_bar_length: int = 0
90
+ worker_usage_file = 'worker_usage.csv'
90
91
 
91
92
  if os.environ.get("CUSTOM_VIRTUAL_ENV") == "1":
92
93
  oo_call = "omniopt"
@@ -2453,7 +2454,7 @@ def set_nr_inserted_jobs(new_nr_inserted_jobs: int) -> None:
2453
2454
 
2454
2455
  def write_worker_usage() -> None:
2455
2456
  if len(WORKER_PERCENTAGE_USAGE):
2456
- csv_filename = get_current_run_folder('worker_usage.csv')
2457
+ csv_filename = get_current_run_folder(worker_usage_file)
2457
2458
 
2458
2459
  csv_columns = ['time', 'num_parallel_jobs', 'nr_current_workers', 'percentage']
2459
2460
 
@@ -2463,7 +2464,7 @@ def write_worker_usage() -> None:
2463
2464
  csv_writer.writerow(row)
2464
2465
  else:
2465
2466
  if is_slurm_job():
2466
- print_debug("WORKER_PERCENTAGE_USAGE seems to be empty. Not writing worker_usage.csv")
2467
+ print_debug(f"WORKER_PERCENTAGE_USAGE seems to be empty. Not writing {worker_usage_file}")
2467
2468
 
2468
2469
  def log_system_usage() -> None:
2469
2470
  if not get_current_run_folder():
@@ -6384,6 +6385,8 @@ def log_worker_numbers() -> None:
6384
6385
  if len(WORKER_PERCENTAGE_USAGE) == 0 or WORKER_PERCENTAGE_USAGE[len(WORKER_PERCENTAGE_USAGE) - 1] != this_values:
6385
6386
  WORKER_PERCENTAGE_USAGE.append(this_values)
6386
6387
 
6388
+ write_worker_usage()
6389
+
6387
6390
  def get_slurm_in_brackets(in_brackets: list) -> list:
6388
6391
  if is_slurm_job():
6389
6392
  workers_strings = get_workers_string()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omniopt2
3
- Version: 8762
3
+ Version: 8764
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: 8762
3
+ Version: 8764
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 = "8762"
8
+ version = "8764"
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