omniopt2 7148__tar.gz → 7152__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-7148 → omniopt2-7152}/.omniopt.py +3 -9
  2. {omniopt2-7148 → omniopt2-7152}/PKG-INFO +1 -1
  3. {omniopt2-7148 → omniopt2-7152}/omniopt2.egg-info/PKG-INFO +1 -1
  4. {omniopt2-7148 → omniopt2-7152}/pyproject.toml +1 -1
  5. {omniopt2-7148 → omniopt2-7152}/.colorfunctions.sh +0 -0
  6. {omniopt2-7148 → omniopt2-7152}/.dockerignore +0 -0
  7. {omniopt2-7148 → omniopt2-7152}/.general.sh +0 -0
  8. {omniopt2-7148 → omniopt2-7152}/.gitignore +0 -0
  9. {omniopt2-7148 → omniopt2-7152}/.helpers.py +0 -0
  10. {omniopt2-7148 → omniopt2-7152}/.omniopt_plot_cpu_ram_usage.py +0 -0
  11. {omniopt2-7148 → omniopt2-7152}/.omniopt_plot_general.py +0 -0
  12. {omniopt2-7148 → omniopt2-7152}/.omniopt_plot_gpu_usage.py +0 -0
  13. {omniopt2-7148 → omniopt2-7152}/.omniopt_plot_kde.py +0 -0
  14. {omniopt2-7148 → omniopt2-7152}/.omniopt_plot_scatter.py +0 -0
  15. {omniopt2-7148 → omniopt2-7152}/.omniopt_plot_scatter_generation_method.py +0 -0
  16. {omniopt2-7148 → omniopt2-7152}/.omniopt_plot_scatter_hex.py +0 -0
  17. {omniopt2-7148 → omniopt2-7152}/.omniopt_plot_time_and_exit_code.py +0 -0
  18. {omniopt2-7148 → omniopt2-7152}/.omniopt_plot_trial_index_result.py +0 -0
  19. {omniopt2-7148 → omniopt2-7152}/.omniopt_plot_worker.py +0 -0
  20. {omniopt2-7148 → omniopt2-7152}/.random_generator.py +0 -0
  21. {omniopt2-7148 → omniopt2-7152}/.shellscript_functions +0 -0
  22. {omniopt2-7148 → omniopt2-7152}/.tpe.py +0 -0
  23. {omniopt2-7148 → omniopt2-7152}/LICENSE +0 -0
  24. {omniopt2-7148 → omniopt2-7152}/MANIFEST.in +0 -0
  25. {omniopt2-7148 → omniopt2-7152}/README.md +0 -0
  26. {omniopt2-7148 → omniopt2-7152}/apt-dependencies.txt +0 -0
  27. {omniopt2-7148 → omniopt2-7152}/omniopt +0 -0
  28. {omniopt2-7148 → omniopt2-7152}/omniopt2.egg-info/SOURCES.txt +0 -0
  29. {omniopt2-7148 → omniopt2-7152}/omniopt2.egg-info/dependency_links.txt +0 -0
  30. {omniopt2-7148 → omniopt2-7152}/omniopt2.egg-info/requires.txt +0 -0
  31. {omniopt2-7148 → omniopt2-7152}/omniopt2.egg-info/top_level.txt +0 -0
  32. {omniopt2-7148 → omniopt2-7152}/omniopt_docker +0 -0
  33. {omniopt2-7148 → omniopt2-7152}/omniopt_evaluate +0 -0
  34. {omniopt2-7148 → omniopt2-7152}/omniopt_plot +0 -0
  35. {omniopt2-7148 → omniopt2-7152}/omniopt_share +0 -0
  36. {omniopt2-7148 → omniopt2-7152}/requirements.txt +0 -0
  37. {omniopt2-7148 → omniopt2-7152}/setup.cfg +0 -0
  38. {omniopt2-7148 → omniopt2-7152}/setup.py +0 -0
  39. {omniopt2-7148 → omniopt2-7152}/test_requirements.txt +0 -0
@@ -31,8 +31,6 @@ progress_bar_length: int = 0
31
31
  if os.environ.get("CUSTOM_VIRTUAL_ENV") == "1":
32
32
  oo_call = "omniopt"
33
33
 
34
- gotten_jobs: int = 0
35
-
36
34
  shown_run_live_share_command: bool = False
37
35
  ci_env: bool = os.getenv("CI", "false").lower() == "true"
38
36
  original_print = print
@@ -882,8 +880,6 @@ if args.continue_previous_job is not None:
882
880
  if os.path.exists(path_to_force_choice_for_ranges):
883
881
  args.force_choice_for_ranges = True
884
882
 
885
- disable_logs = None
886
-
887
883
  try:
888
884
  with console.status("[bold green]Importing torch...") as status:
889
885
  import torch
@@ -1024,7 +1020,8 @@ except ImportError as e:
1024
1020
 
1025
1021
  with console.status("[bold green]Importing ax logger...") as status:
1026
1022
  from ax.utils.common.logger import disable_loggers
1027
- disable_logs = disable_loggers(names=["ax.modelbridge.base"], level=logging.CRITICAL)
1023
+
1024
+ disable_loggers(names=["ax.modelbridge.base"], level=logging.CRITICAL)
1028
1025
 
1029
1026
  NVIDIA_SMI_LOGS_BASE = None
1030
1027
  global_gs: Optional[GenerationStrategy] = None
@@ -1338,7 +1335,7 @@ class ExternalProgramGenerationNode(ExternalGenerationNode):
1338
1335
  return temp_dir
1339
1336
 
1340
1337
  @beartype
1341
- def get_next_candidate(self: Any, pending_parameters: List[Any]) -> Any:
1338
+ def get_next_candidate(self: Any, pending_parameters: List[TParameterization]) -> Any:
1342
1339
  if self.parameters is None:
1343
1340
  raise RuntimeError("Parameters are not initialized. Call update_generator_state first.")
1344
1341
 
@@ -6952,8 +6949,6 @@ def _fetch_next_trials(nr_of_jobs_to_get: int, recursion: bool = False) -> Optio
6952
6949
 
6953
6950
  @beartype
6954
6951
  def _generate_trials(n: int, recursion: bool) -> Tuple[Dict[int, Any], bool]:
6955
- global gotten_jobs
6956
-
6957
6952
  trials_dict: Dict[int, Any] = {}
6958
6953
  trial_durations: List[float] = []
6959
6954
 
@@ -6986,7 +6981,6 @@ def _generate_trials(n: int, recursion: bool) -> Tuple[Dict[int, Any], bool]:
6986
6981
  if trial_successful:
6987
6982
  cnt += 1
6988
6983
  trials_dict[trial_index] = arm.parameters
6989
- gotten_jobs += 1
6990
6984
 
6991
6985
  return _finalize_generation(trials_dict, cnt, n, start_time)
6992
6986
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omniopt2
3
- Version: 7148
3
+ Version: 7152
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: 7148
3
+ Version: 7152
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 = "7148"
8
+ version = "7152"
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