omniopt2 7322__tar.gz → 7324__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.
Files changed (39) hide show
  1. {omniopt2-7322 → omniopt2-7324}/.omniopt.py +13 -11
  2. {omniopt2-7322 → omniopt2-7324}/PKG-INFO +1 -1
  3. {omniopt2-7322 → omniopt2-7324}/omniopt2.egg-info/PKG-INFO +1 -1
  4. {omniopt2-7322 → omniopt2-7324}/pyproject.toml +1 -1
  5. {omniopt2-7322 → omniopt2-7324}/.colorfunctions.sh +0 -0
  6. {omniopt2-7322 → omniopt2-7324}/.dockerignore +0 -0
  7. {omniopt2-7322 → omniopt2-7324}/.general.sh +0 -0
  8. {omniopt2-7322 → omniopt2-7324}/.gitignore +0 -0
  9. {omniopt2-7322 → omniopt2-7324}/.helpers.py +0 -0
  10. {omniopt2-7322 → omniopt2-7324}/.omniopt_plot_cpu_ram_usage.py +0 -0
  11. {omniopt2-7322 → omniopt2-7324}/.omniopt_plot_general.py +0 -0
  12. {omniopt2-7322 → omniopt2-7324}/.omniopt_plot_gpu_usage.py +0 -0
  13. {omniopt2-7322 → omniopt2-7324}/.omniopt_plot_kde.py +0 -0
  14. {omniopt2-7322 → omniopt2-7324}/.omniopt_plot_scatter.py +0 -0
  15. {omniopt2-7322 → omniopt2-7324}/.omniopt_plot_scatter_generation_method.py +0 -0
  16. {omniopt2-7322 → omniopt2-7324}/.omniopt_plot_scatter_hex.py +0 -0
  17. {omniopt2-7322 → omniopt2-7324}/.omniopt_plot_time_and_exit_code.py +0 -0
  18. {omniopt2-7322 → omniopt2-7324}/.omniopt_plot_trial_index_result.py +0 -0
  19. {omniopt2-7322 → omniopt2-7324}/.omniopt_plot_worker.py +0 -0
  20. {omniopt2-7322 → omniopt2-7324}/.random_generator.py +0 -0
  21. {omniopt2-7322 → omniopt2-7324}/.shellscript_functions +0 -0
  22. {omniopt2-7322 → omniopt2-7324}/.tpe.py +0 -0
  23. {omniopt2-7322 → omniopt2-7324}/LICENSE +0 -0
  24. {omniopt2-7322 → omniopt2-7324}/MANIFEST.in +0 -0
  25. {omniopt2-7322 → omniopt2-7324}/README.md +0 -0
  26. {omniopt2-7322 → omniopt2-7324}/apt-dependencies.txt +0 -0
  27. {omniopt2-7322 → omniopt2-7324}/omniopt +0 -0
  28. {omniopt2-7322 → omniopt2-7324}/omniopt2.egg-info/SOURCES.txt +0 -0
  29. {omniopt2-7322 → omniopt2-7324}/omniopt2.egg-info/dependency_links.txt +0 -0
  30. {omniopt2-7322 → omniopt2-7324}/omniopt2.egg-info/requires.txt +0 -0
  31. {omniopt2-7322 → omniopt2-7324}/omniopt2.egg-info/top_level.txt +0 -0
  32. {omniopt2-7322 → omniopt2-7324}/omniopt_docker +0 -0
  33. {omniopt2-7322 → omniopt2-7324}/omniopt_evaluate +0 -0
  34. {omniopt2-7322 → omniopt2-7324}/omniopt_plot +0 -0
  35. {omniopt2-7322 → omniopt2-7324}/omniopt_share +0 -0
  36. {omniopt2-7322 → omniopt2-7324}/requirements.txt +0 -0
  37. {omniopt2-7322 → omniopt2-7324}/setup.cfg +0 -0
  38. {omniopt2-7322 → omniopt2-7324}/setup.py +0 -0
  39. {omniopt2-7322 → omniopt2-7324}/test_requirements.txt +0 -0
@@ -1829,21 +1829,23 @@ def init_storage(db_url: str):
1829
1829
 
1830
1830
  @beartype
1831
1831
  def try_saving_to_db() -> None:
1832
- global initialized_storage
1833
-
1834
- db_url = f"sqlite:////{get_current_run_folder()}/database.db"
1832
+ try:
1833
+ global initialized_storage
1835
1834
 
1836
- if args.db_url:
1837
- db_url = args.db_url
1835
+ db_url = f"sqlite:////{get_current_run_folder()}/database.db"
1838
1836
 
1839
- if not initialized_storage:
1840
- init_storage(db_url)
1837
+ if args.db_url:
1838
+ db_url = args.db_url
1841
1839
 
1842
- initialized_storage = True
1840
+ if not initialized_storage:
1841
+ init_storage(db_url)
1843
1842
 
1844
- save_experiment_to_db(ax_client.experiment)
1845
- save_generation_strategy(global_gs)
1843
+ initialized_storage = True
1846
1844
 
1845
+ save_experiment_to_db(ax_client.experiment)
1846
+ save_generation_strategy(global_gs)
1847
+ except Exception as e:
1848
+ print_debug(f"Failed trying to save sqlite3-DB: {e}")
1847
1849
 
1848
1850
  @beartype
1849
1851
  def save_results_csv() -> Optional[str]:
@@ -6099,7 +6101,7 @@ def _get_generation_node_for_index_row_matches(
6099
6101
 
6100
6102
  @beartype
6101
6103
  def _get_generation_node_for_index_floats_match(
6102
- val: float,
6104
+ val: Union[int, float],
6103
6105
  row_val_str: str,
6104
6106
  tolerance: float = 1e-8
6105
6107
  ) -> bool:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omniopt2
3
- Version: 7322
3
+ Version: 7324
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: 7322
3
+ Version: 7324
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 = "7322"
8
+ version = "7324"
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