omniopt2 7238__tar.gz → 7240__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-7238 → omniopt2-7240}/.omniopt.py +1 -8
  2. {omniopt2-7238 → omniopt2-7240}/PKG-INFO +1 -1
  3. {omniopt2-7238 → omniopt2-7240}/omniopt2.egg-info/PKG-INFO +1 -1
  4. {omniopt2-7238 → omniopt2-7240}/pyproject.toml +1 -1
  5. {omniopt2-7238 → omniopt2-7240}/.colorfunctions.sh +0 -0
  6. {omniopt2-7238 → omniopt2-7240}/.dockerignore +0 -0
  7. {omniopt2-7238 → omniopt2-7240}/.general.sh +0 -0
  8. {omniopt2-7238 → omniopt2-7240}/.gitignore +0 -0
  9. {omniopt2-7238 → omniopt2-7240}/.helpers.py +0 -0
  10. {omniopt2-7238 → omniopt2-7240}/.omniopt_plot_cpu_ram_usage.py +0 -0
  11. {omniopt2-7238 → omniopt2-7240}/.omniopt_plot_general.py +0 -0
  12. {omniopt2-7238 → omniopt2-7240}/.omniopt_plot_gpu_usage.py +0 -0
  13. {omniopt2-7238 → omniopt2-7240}/.omniopt_plot_kde.py +0 -0
  14. {omniopt2-7238 → omniopt2-7240}/.omniopt_plot_scatter.py +0 -0
  15. {omniopt2-7238 → omniopt2-7240}/.omniopt_plot_scatter_generation_method.py +0 -0
  16. {omniopt2-7238 → omniopt2-7240}/.omniopt_plot_scatter_hex.py +0 -0
  17. {omniopt2-7238 → omniopt2-7240}/.omniopt_plot_time_and_exit_code.py +0 -0
  18. {omniopt2-7238 → omniopt2-7240}/.omniopt_plot_trial_index_result.py +0 -0
  19. {omniopt2-7238 → omniopt2-7240}/.omniopt_plot_worker.py +0 -0
  20. {omniopt2-7238 → omniopt2-7240}/.random_generator.py +0 -0
  21. {omniopt2-7238 → omniopt2-7240}/.shellscript_functions +0 -0
  22. {omniopt2-7238 → omniopt2-7240}/.tpe.py +0 -0
  23. {omniopt2-7238 → omniopt2-7240}/LICENSE +0 -0
  24. {omniopt2-7238 → omniopt2-7240}/MANIFEST.in +0 -0
  25. {omniopt2-7238 → omniopt2-7240}/README.md +0 -0
  26. {omniopt2-7238 → omniopt2-7240}/apt-dependencies.txt +0 -0
  27. {omniopt2-7238 → omniopt2-7240}/omniopt +0 -0
  28. {omniopt2-7238 → omniopt2-7240}/omniopt2.egg-info/SOURCES.txt +0 -0
  29. {omniopt2-7238 → omniopt2-7240}/omniopt2.egg-info/dependency_links.txt +0 -0
  30. {omniopt2-7238 → omniopt2-7240}/omniopt2.egg-info/requires.txt +0 -0
  31. {omniopt2-7238 → omniopt2-7240}/omniopt2.egg-info/top_level.txt +0 -0
  32. {omniopt2-7238 → omniopt2-7240}/omniopt_docker +0 -0
  33. {omniopt2-7238 → omniopt2-7240}/omniopt_evaluate +0 -0
  34. {omniopt2-7238 → omniopt2-7240}/omniopt_plot +0 -0
  35. {omniopt2-7238 → omniopt2-7240}/omniopt_share +0 -0
  36. {omniopt2-7238 → omniopt2-7240}/requirements.txt +0 -0
  37. {omniopt2-7238 → omniopt2-7240}/setup.cfg +0 -0
  38. {omniopt2-7238 → omniopt2-7240}/setup.py +0 -0
  39. {omniopt2-7238 → omniopt2-7240}/test_requirements.txt +0 -0
@@ -1317,7 +1317,6 @@ def warn_if_param_outside_of_valid_params(param: dict, _res: Any, keyname: str)
1317
1317
  if _res != param["value"]:
1318
1318
  print_yellow(f"The result by the external generator for the axis '{keyname}' (FIXED) is not the specified fixed value '{param['value']}' {_res}")
1319
1319
 
1320
- # ────────────────────────────────────────────────────────────────────────────
1321
1320
  @dataclass(init=False)
1322
1321
  class InteractiveCLIGenerationNode(ExternalGenerationNode):
1323
1322
  """
@@ -1345,7 +1344,6 @@ class InteractiveCLIGenerationNode(ExternalGenerationNode):
1345
1344
  constraints: Optional[Any]
1346
1345
  fit_time_since_gen: float
1347
1346
 
1348
- # ────────────────────────────────────────────────────────────────────
1349
1347
  @beartype
1350
1348
  def __init__( # identical signature to the original class
1351
1349
  self: Any,
@@ -1360,7 +1358,6 @@ class InteractiveCLIGenerationNode(ExternalGenerationNode):
1360
1358
  self.seed = int(time.time()) # deterministic seeds are pointless here
1361
1359
  self.fit_time_since_gen = time.monotonic() - t0
1362
1360
 
1363
- # ────────────────────────────────────────────────────────────────────
1364
1361
  @beartype
1365
1362
  def update_generator_state(self: Any, experiment: Any, data: Any) -> None:
1366
1363
  self.data = data
@@ -1368,7 +1365,6 @@ class InteractiveCLIGenerationNode(ExternalGenerationNode):
1368
1365
  self.parameters = search_space.parameters
1369
1366
  self.constraints = search_space.parameter_constraints
1370
1367
 
1371
- # ────────────────────────────────────────────────────────────────────
1372
1368
  @staticmethod
1373
1369
  def _ptype_to_str(param_type: Any) -> str:
1374
1370
  return {
@@ -1377,7 +1373,6 @@ class InteractiveCLIGenerationNode(ExternalGenerationNode):
1377
1373
  ParameterType.STRING: "STRING",
1378
1374
  }.get(param_type, "<UNKNOWN>")
1379
1375
 
1380
- # ────────────────────────────────────────────────────────────────────
1381
1376
  @beartype
1382
1377
  def _default_for_param(self: Any, name: str, param: Any) -> Any:
1383
1378
  # 1. explicit override
@@ -1399,7 +1394,6 @@ class InteractiveCLIGenerationNode(ExternalGenerationNode):
1399
1394
  # fall back
1400
1395
  return None
1401
1396
 
1402
- # ────────────────────────────────────────────────────────────────────
1403
1397
  @beartype
1404
1398
  def _ask_user(self: Any, name: str, param: Any, default: Any) -> Any:
1405
1399
  if args.just_return_defaults:
@@ -1479,7 +1473,6 @@ class InteractiveCLIGenerationNode(ExternalGenerationNode):
1479
1473
  def _handle_fallback(self, prompt_msg: str, default: Any) -> Any:
1480
1474
  return Prompt.ask(prompt_msg, default=str(default))
1481
1475
 
1482
- # ────────────────────────────────────────────────────────────────────
1483
1476
  @beartype
1484
1477
  def get_next_candidate(
1485
1478
  self: Any,
@@ -3865,7 +3858,7 @@ def pretty_process_output(stdout_path: str, stderr_path: str, exit_code: Optiona
3865
3858
  header_style = "bold white on green" if exit_code == 0 else "bold white on red"
3866
3859
  console.rule(Text(f" {outcome} (exit {exit_code}) ", style=header_style))
3867
3860
 
3868
- def is_nonempty(s: str) -> bool:
3861
+ def is_nonempty(s: Optional[str]) -> bool:
3869
3862
  return bool(s and s.strip())
3870
3863
 
3871
3864
  # TODO: Shows empty stuff here as well, shouldn not. Especially stderr.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omniopt2
3
- Version: 7238
3
+ Version: 7240
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: 7238
3
+ Version: 7240
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 = "7238"
8
+ version = "7240"
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