omniopt2 7017__tar.gz → 7018__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.
- {omniopt2-7017 → omniopt2-7018}/.omniopt.py +15 -18
- {omniopt2-7017 → omniopt2-7018}/PKG-INFO +1 -1
- {omniopt2-7017 → omniopt2-7018}/omniopt2.egg-info/PKG-INFO +1 -1
- {omniopt2-7017 → omniopt2-7018}/pyproject.toml +1 -1
- {omniopt2-7017 → omniopt2-7018}/.colorfunctions.sh +0 -0
- {omniopt2-7017 → omniopt2-7018}/.dockerignore +0 -0
- {omniopt2-7017 → omniopt2-7018}/.general.sh +0 -0
- {omniopt2-7017 → omniopt2-7018}/.gitignore +0 -0
- {omniopt2-7017 → omniopt2-7018}/.helpers.py +0 -0
- {omniopt2-7017 → omniopt2-7018}/.omniopt_plot_cpu_ram_usage.py +0 -0
- {omniopt2-7017 → omniopt2-7018}/.omniopt_plot_general.py +0 -0
- {omniopt2-7017 → omniopt2-7018}/.omniopt_plot_gpu_usage.py +0 -0
- {omniopt2-7017 → omniopt2-7018}/.omniopt_plot_kde.py +0 -0
- {omniopt2-7017 → omniopt2-7018}/.omniopt_plot_scatter.py +0 -0
- {omniopt2-7017 → omniopt2-7018}/.omniopt_plot_scatter_generation_method.py +0 -0
- {omniopt2-7017 → omniopt2-7018}/.omniopt_plot_scatter_hex.py +0 -0
- {omniopt2-7017 → omniopt2-7018}/.omniopt_plot_time_and_exit_code.py +0 -0
- {omniopt2-7017 → omniopt2-7018}/.omniopt_plot_trial_index_result.py +0 -0
- {omniopt2-7017 → omniopt2-7018}/.omniopt_plot_worker.py +0 -0
- {omniopt2-7017 → omniopt2-7018}/.random_generator.py +0 -0
- {omniopt2-7017 → omniopt2-7018}/.shellscript_functions +0 -0
- {omniopt2-7017 → omniopt2-7018}/LICENSE +0 -0
- {omniopt2-7017 → omniopt2-7018}/MANIFEST.in +0 -0
- {omniopt2-7017 → omniopt2-7018}/README.md +0 -0
- {omniopt2-7017 → omniopt2-7018}/apt-dependencies.txt +0 -0
- {omniopt2-7017 → omniopt2-7018}/omniopt +0 -0
- {omniopt2-7017 → omniopt2-7018}/omniopt2.egg-info/SOURCES.txt +0 -0
- {omniopt2-7017 → omniopt2-7018}/omniopt2.egg-info/dependency_links.txt +0 -0
- {omniopt2-7017 → omniopt2-7018}/omniopt2.egg-info/requires.txt +0 -0
- {omniopt2-7017 → omniopt2-7018}/omniopt2.egg-info/top_level.txt +0 -0
- {omniopt2-7017 → omniopt2-7018}/omniopt_docker +0 -0
- {omniopt2-7017 → omniopt2-7018}/omniopt_evaluate +0 -0
- {omniopt2-7017 → omniopt2-7018}/omniopt_plot +0 -0
- {omniopt2-7017 → omniopt2-7018}/omniopt_share +0 -0
- {omniopt2-7017 → omniopt2-7018}/requirements.txt +0 -0
- {omniopt2-7017 → omniopt2-7018}/setup.cfg +0 -0
- {omniopt2-7017 → omniopt2-7018}/setup.py +0 -0
- {omniopt2-7017 → omniopt2-7018}/test_requirements.txt +0 -0
@@ -6439,23 +6439,20 @@ def handle_restart(stdout_path: str, trial_index: int) -> None:
|
|
6439
6439
|
else:
|
6440
6440
|
print(f"Could not determine parameters from outfile {stdout_path} for restarting job")
|
6441
6441
|
|
6442
|
-
|
6443
|
-
def check_alternate_path(path: str) -> str:
|
6444
|
-
if os.path.exists(path):
|
6445
|
-
return path
|
6446
|
-
|
6447
|
-
|
6448
|
-
|
6449
|
-
|
6450
|
-
|
6451
|
-
|
6452
|
-
|
6453
|
-
|
6454
|
-
|
6455
|
-
|
6456
|
-
|
6457
|
-
# Wenn auch der alternative Pfad nicht existiert, gib den Originalpfad zurück
|
6458
|
-
return path
|
6442
|
+
#@beartype
|
6443
|
+
#def check_alternate_path(path: str) -> str:
|
6444
|
+
# if os.path.exists(path):
|
6445
|
+
# return path
|
6446
|
+
# if path.endswith('.out'):
|
6447
|
+
# alt_path = path[:-4] + '.err'
|
6448
|
+
# elif path.endswith('.err'):
|
6449
|
+
# alt_path = path[:-4] + '.out'
|
6450
|
+
# else:
|
6451
|
+
# alt_path = None
|
6452
|
+
# if alt_path and os.path.exists(alt_path):
|
6453
|
+
# return alt_path
|
6454
|
+
# # Wenn auch der alternative Pfad nicht existiert, gib den Originalpfad zurück
|
6455
|
+
# return path
|
6459
6456
|
|
6460
6457
|
@beartype
|
6461
6458
|
def handle_restart_on_different_node(stdout_path: str, hostname_from_out_file: Union[None, str], trial_index: int) -> None:
|
@@ -6471,7 +6468,7 @@ def handle_restart_on_different_node(stdout_path: str, hostname_from_out_file: U
|
|
6471
6468
|
|
6472
6469
|
@beartype
|
6473
6470
|
def _orchestrate(stdout_path: str, trial_index: int) -> None:
|
6474
|
-
stdout_path = check_alternate_path(stdout_path)
|
6471
|
+
#stdout_path = check_alternate_path(stdout_path)
|
6475
6472
|
|
6476
6473
|
behavs = check_orchestrator(stdout_path, trial_index)
|
6477
6474
|
|
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
|
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
|