omniopt2 8184__py3-none-any.whl → 8284__py3-none-any.whl

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.

Potentially problematic release.


This version of omniopt2 might be problematic. Click here for more details.

Files changed (38) hide show
  1. .omniopt.py +133 -92
  2. .omniopt_plot_trial_index_result.py +1 -0
  3. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/.omniopt.py +133 -92
  4. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/.omniopt_plot_trial_index_result.py +1 -0
  5. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/omniopt_docker +60 -60
  6. {omniopt2-8184.dist-info → omniopt2-8284.dist-info}/METADATA +1 -1
  7. {omniopt2-8184.dist-info → omniopt2-8284.dist-info}/RECORD +38 -38
  8. omniopt2.egg-info/PKG-INFO +1 -1
  9. omniopt_docker +60 -60
  10. pyproject.toml +1 -1
  11. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/.colorfunctions.sh +0 -0
  12. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/.general.sh +0 -0
  13. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/.helpers.py +0 -0
  14. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/.omniopt_plot_cpu_ram_usage.py +0 -0
  15. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/.omniopt_plot_general.py +0 -0
  16. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/.omniopt_plot_gpu_usage.py +0 -0
  17. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/.omniopt_plot_kde.py +0 -0
  18. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/.omniopt_plot_scatter.py +0 -0
  19. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/.omniopt_plot_scatter_generation_method.py +0 -0
  20. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/.omniopt_plot_scatter_hex.py +0 -0
  21. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/.omniopt_plot_time_and_exit_code.py +0 -0
  22. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/.omniopt_plot_worker.py +0 -0
  23. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/.random_generator.py +0 -0
  24. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/.shellscript_functions +0 -0
  25. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/.tpe.py +0 -0
  26. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/LICENSE +0 -0
  27. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/apt-dependencies.txt +0 -0
  28. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/omniopt +0 -0
  29. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/omniopt_evaluate +0 -0
  30. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/omniopt_plot +0 -0
  31. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/omniopt_share +0 -0
  32. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/pylint.rc +0 -0
  33. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/requirements.txt +0 -0
  34. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/setup.py +0 -0
  35. {omniopt2-8184.data → omniopt2-8284.data}/data/bin/test_requirements.txt +0 -0
  36. {omniopt2-8184.dist-info → omniopt2-8284.dist-info}/WHEEL +0 -0
  37. {omniopt2-8184.dist-info → omniopt2-8284.dist-info}/licenses/LICENSE +0 -0
  38. {omniopt2-8184.dist-info → omniopt2-8284.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omniopt2
3
- Version: 8184
3
+ Version: 8284
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
omniopt_docker CHANGED
@@ -15,79 +15,79 @@ help_message() {
15
15
 
16
16
  function _mkdir {
17
17
  mkdir -p $* || {
18
- echo "mkdir -p $* failed. Exiting."
19
- exit 12
20
- }
18
+ echo "mkdir -p $* failed. Exiting."
19
+ exit 12
21
20
  }
21
+ }
22
22
 
23
- while [[ "$#" -gt 0 ]]; do
24
- case $1 in
25
- --help)
26
- help_message
27
- exit 0
28
- ;;
29
- esac
30
- shift
31
- done
32
-
33
- UPDATED_PACKAGES=0
34
-
35
- function apt_get_update () {
36
- if command -v apt >/dev/null; then
37
- if [[ $UPDATED_PACKAGES == 0 ]]; then
38
- sudo apt update || {
39
- echo "apt-get update failed. Are you online?"
40
- exit 2
41
- }
23
+ while [[ "$#" -gt 0 ]]; do
24
+ case $1 in
25
+ --help)
26
+ help_message
27
+ exit 0
28
+ ;;
29
+ esac
30
+ shift
31
+ done
32
+
33
+ UPDATED_PACKAGES=0
34
+
35
+ function apt_get_update () {
36
+ if command -v apt >/dev/null; then
37
+ if [[ $UPDATED_PACKAGES == 0 ]]; then
38
+ sudo apt update || {
39
+ echo "apt-get update failed. Are you online?"
40
+ exit 2
41
+ }
42
42
 
43
- UPDATED_PACKAGES=1
44
- fi
45
- else
46
- echo "apt is not installed. You need to be on debian for auto-installing packages. Please install it manually."
47
- exit 10
43
+ UPDATED_PACKAGES=1
48
44
  fi
49
- }
45
+ else
46
+ echo "apt is not installed. You need to be on debian for auto-installing packages. Please install it manually."
47
+ exit 10
48
+ fi
49
+ }
50
50
 
51
- install_if_missing() {
52
- if ! command -v "$1" &>/dev/null; then
53
- apt_get_update
51
+ install_if_missing() {
52
+ if ! command -v "$1" &>/dev/null; then
53
+ apt_get_update
54
54
 
55
- [[ "$2" == "docker" ]] && curl -fsSL "https://get.docker.com" | bash || sudo apt-get install -y "$1" || {
56
- echo "Failed to install $1"
57
- exit $3
58
- }
59
- fi
60
- }
55
+ [[ "$2" == "docker" ]] && curl -fsSL "https://get.docker.com" | bash || sudo apt-get install -y "$1" || {
56
+ echo "Failed to install $1"
57
+ exit $3
58
+ }
59
+ fi
60
+ }
61
61
 
62
- install_if_missing docker docker 2
63
- install_if_missing docker-compose "" 2
64
- install_if_missing wget "" 2
65
- install_if_missing git "" 2
66
- install_if_missing docker "" 2
62
+ install_if_missing docker docker 2
63
+ install_if_missing docker-compose "" 2
64
+ install_if_missing wget "" 2
65
+ install_if_missing git "" 2
66
+ install_if_missing docker "" 2
67
67
 
68
- if ! groups | grep -q '\bdocker\b'; then
69
- install_if_missing sudo "" 2
70
- fi
71
- [[ -n $DISPLAY ]] && install_if_missing xhost "" 2
68
+ if ! groups | grep -q '\bdocker\b'; then
69
+ install_if_missing sudo "" 2
70
+ fi
71
+ [[ -n $DISPLAY ]] && install_if_missing xhost "" 2
72
72
 
73
- echo "=== Current git hash before auto-pulling ==="
74
- git rev-parse HEAD
75
- echo "=== Current git hash before auto-pulling ==="
73
+ echo "=== Current git hash before auto-pulling ==="
74
+ git rev-parse HEAD
75
+ echo "=== Current git hash before auto-pulling ==="
76
76
 
77
- git pull
77
+ git pull
78
78
 
79
- _mkdir runs
80
- _mkdir logs
79
+ _mkdir runs
80
+ _mkdir logs
81
81
 
82
- git rev-parse HEAD > git_hash
82
+ git rev-parse HEAD > git_hash
83
83
 
84
- if groups | grep -q '\bdocker\b'; then
85
- DOCKER_COMPOSE_CMD="docker-compose"
86
- DOCKER_CMD="docker"
87
- else
88
- DOCKER_COMPOSE_CMD="sudo docker-compose"
89
- DOCKER_CMD="sudo docker"
90
- fi
84
+ if groups | grep -q '\bdocker\b'; then
85
+ DOCKER_COMPOSE_CMD="docker-compose"
86
+ DOCKER_CMD="docker"
87
+ else
88
+ DOCKER_COMPOSE_CMD="sudo docker-compose"
89
+ DOCKER_CMD="sudo docker"
90
+ fi
91
91
 
92
92
  $DOCKER_COMPOSE_CMD build --build-arg GetMyUsername=$(whoami) || {
93
93
  echo "Failed composing container"
pyproject.toml CHANGED
@@ -5,7 +5,7 @@ authors = [
5
5
  {email = "norman.koch@tu-dresden.de"},
6
6
  {name = "Norman Koch"}
7
7
  ]
8
- version = "8184"
8
+ version = "8284"
9
9
 
10
10
  readme = "README.md"
11
11
  dynamic = ["dependencies"]