omniopt2 7310__tar.gz → 7314__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-7310 → omniopt2-7314}/.omniopt.py +8 -3
  2. {omniopt2-7310 → omniopt2-7314}/PKG-INFO +1 -1
  3. {omniopt2-7310 → omniopt2-7314}/omniopt2.egg-info/PKG-INFO +1 -1
  4. {omniopt2-7310 → omniopt2-7314}/pyproject.toml +1 -1
  5. {omniopt2-7310 → omniopt2-7314}/.colorfunctions.sh +0 -0
  6. {omniopt2-7310 → omniopt2-7314}/.dockerignore +0 -0
  7. {omniopt2-7310 → omniopt2-7314}/.general.sh +0 -0
  8. {omniopt2-7310 → omniopt2-7314}/.gitignore +0 -0
  9. {omniopt2-7310 → omniopt2-7314}/.helpers.py +0 -0
  10. {omniopt2-7310 → omniopt2-7314}/.omniopt_plot_cpu_ram_usage.py +0 -0
  11. {omniopt2-7310 → omniopt2-7314}/.omniopt_plot_general.py +0 -0
  12. {omniopt2-7310 → omniopt2-7314}/.omniopt_plot_gpu_usage.py +0 -0
  13. {omniopt2-7310 → omniopt2-7314}/.omniopt_plot_kde.py +0 -0
  14. {omniopt2-7310 → omniopt2-7314}/.omniopt_plot_scatter.py +0 -0
  15. {omniopt2-7310 → omniopt2-7314}/.omniopt_plot_scatter_generation_method.py +0 -0
  16. {omniopt2-7310 → omniopt2-7314}/.omniopt_plot_scatter_hex.py +0 -0
  17. {omniopt2-7310 → omniopt2-7314}/.omniopt_plot_time_and_exit_code.py +0 -0
  18. {omniopt2-7310 → omniopt2-7314}/.omniopt_plot_trial_index_result.py +0 -0
  19. {omniopt2-7310 → omniopt2-7314}/.omniopt_plot_worker.py +0 -0
  20. {omniopt2-7310 → omniopt2-7314}/.random_generator.py +0 -0
  21. {omniopt2-7310 → omniopt2-7314}/.shellscript_functions +0 -0
  22. {omniopt2-7310 → omniopt2-7314}/.tpe.py +0 -0
  23. {omniopt2-7310 → omniopt2-7314}/LICENSE +0 -0
  24. {omniopt2-7310 → omniopt2-7314}/MANIFEST.in +0 -0
  25. {omniopt2-7310 → omniopt2-7314}/README.md +0 -0
  26. {omniopt2-7310 → omniopt2-7314}/apt-dependencies.txt +0 -0
  27. {omniopt2-7310 → omniopt2-7314}/omniopt +0 -0
  28. {omniopt2-7310 → omniopt2-7314}/omniopt2.egg-info/SOURCES.txt +0 -0
  29. {omniopt2-7310 → omniopt2-7314}/omniopt2.egg-info/dependency_links.txt +0 -0
  30. {omniopt2-7310 → omniopt2-7314}/omniopt2.egg-info/requires.txt +0 -0
  31. {omniopt2-7310 → omniopt2-7314}/omniopt2.egg-info/top_level.txt +0 -0
  32. {omniopt2-7310 → omniopt2-7314}/omniopt_docker +0 -0
  33. {omniopt2-7310 → omniopt2-7314}/omniopt_evaluate +0 -0
  34. {omniopt2-7310 → omniopt2-7314}/omniopt_plot +0 -0
  35. {omniopt2-7310 → omniopt2-7314}/omniopt_share +0 -0
  36. {omniopt2-7310 → omniopt2-7314}/requirements.txt +0 -0
  37. {omniopt2-7310 → omniopt2-7314}/setup.cfg +0 -0
  38. {omniopt2-7310 → omniopt2-7314}/setup.py +0 -0
  39. {omniopt2-7310 → omniopt2-7314}/test_requirements.txt +0 -0
@@ -47,6 +47,8 @@ joined_supported_models: str = ", ".join(SUPPORTED_MODELS)
47
47
  special_col_names: list = ["arm_name", "generation_method", "trial_index", "trial_status", "generation_node", "idxs"]
48
48
  IGNORABLE_COLUMNS: list = ["start_time", "end_time", "hostname", "signal", "exit_code", "run_time", "program_string"] + special_col_names
49
49
 
50
+ uncontinuable_models: list = ["RANDOMFOREST", "EXTERNAL_GENERATOR", "TPE", "PSEUDORANDOM", "HUMAN_INTERVENTION_MINIMUM"]
51
+
50
52
  post_generation_constraints: list = []
51
53
  abandoned_trial_indices: list = []
52
54
  global_param_names: list = []
@@ -678,7 +680,7 @@ class ConfigLoader:
678
680
  optional.add_argument('--result_names', nargs='+', default=[], help='Name of hyperparameters. Example --result_names result1=max result2=min result3. Default: RESULT=min')
679
681
  optional.add_argument('--minkowski_p', help='Minkowski order of distance (default: 2), needs to be larger than 0', type=float, default=2)
680
682
  optional.add_argument('--signed_weighted_euclidean_weights', help='A comma-seperated list of values for the signed weighted euclidean distance. Needs to be equal to the number of results. Else, default will be 1', default='', type=str)
681
- optional.add_argument('--generation_strategy', help='A string containing the generation_strategy. Example: SOBOL=10,BOTORCH_MODULAR=10,SOBOL=10. Cannot use --model EXTERNAL_GENERATOR or PSEUDORANDOM', type=str, default=None)
683
+ optional.add_argument('--generation_strategy', help='A string containing the generation_strategy. Example: SOBOL=10,BOTORCH_MODULAR=10,SOBOL=10. Cannot use --model EXTERNAL_GENERATOR, TPE, RANDOMFOREST or PSEUDORANDOM', type=str, default=None)
682
684
  optional.add_argument('--generate_all_jobs_at_once', help='Generate all jobs at once rather than to create them and start them as soon as possible', action='store_true', default=False)
683
685
  optional.add_argument('--revert_to_random_when_seemingly_exhausted', help='Generate random steps instead of systematic steps when the search space is (seemingly) exhausted', action='store_true', default=False)
684
686
  optional.add_argument('--load_data_from_existing_jobs', type=str, nargs='*', default=[], help='List of job data to load from existing jobs')
@@ -1872,7 +1874,10 @@ def save_results_csv() -> Optional[str]:
1872
1874
  f"{get_current_run_folder()}/state_files/ax_client.experiment.json"
1873
1875
  )
1874
1876
 
1875
- try_saving_to_db()
1877
+ if args.model not in uncontinuable_models:
1878
+ try_saving_to_db()
1879
+ else:
1880
+ print_debug(f"Model {args.model} is an uncontinuable model, so it will not be saved to a DB")
1876
1881
  except SignalUSR as e:
1877
1882
  raise SignalUSR(str(e)) from e
1878
1883
  except SignalCONT as e:
@@ -7988,7 +7993,7 @@ def parse_generation_strategy_string(gen_strat_str: str) -> Tuple[list, int]:
7988
7993
  model_name, nr = s.split("=")
7989
7994
  matching_model = get_matching_model_name(model_name)
7990
7995
 
7991
- if matching_model in ["RANDOMFOREST", "EXTERNAL_GENERATOR"]:
7996
+ if matching_model in uncontinuable_models:
7992
7997
  _fatal_error(f"Model {matching_model} is not valid for custom generation strategy.", 56)
7993
7998
 
7994
7999
  if matching_model:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omniopt2
3
- Version: 7310
3
+ Version: 7314
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: 7310
3
+ Version: 7314
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 = "7310"
8
+ version = "7314"
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