omniopt2 7014__tar.gz → 7015__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-7014 → omniopt2-7015}/.omniopt_plot_cpu_ram_usage.py +1 -8
- {omniopt2-7014 → omniopt2-7015}/.omniopt_plot_general.py +1 -8
- {omniopt2-7014 → omniopt2-7015}/.omniopt_plot_gpu_usage.py +7 -14
- {omniopt2-7014 → omniopt2-7015}/.omniopt_plot_kde.py +1 -8
- {omniopt2-7014 → omniopt2-7015}/.omniopt_plot_scatter.py +1 -8
- {omniopt2-7014 → omniopt2-7015}/.omniopt_plot_scatter_generation_method.py +1 -8
- {omniopt2-7014 → omniopt2-7015}/.omniopt_plot_scatter_hex.py +1 -8
- {omniopt2-7014 → omniopt2-7015}/.omniopt_plot_time_and_exit_code.py +1 -8
- {omniopt2-7014 → omniopt2-7015}/.omniopt_plot_trial_index_result.py +1 -8
- {omniopt2-7014 → omniopt2-7015}/.omniopt_plot_worker.py +1 -8
- {omniopt2-7014 → omniopt2-7015}/PKG-INFO +1 -1
- {omniopt2-7014 → omniopt2-7015}/omniopt2.egg-info/PKG-INFO +1 -1
- {omniopt2-7014 → omniopt2-7015}/pyproject.toml +1 -1
- {omniopt2-7014 → omniopt2-7015}/.colorfunctions.sh +0 -0
- {omniopt2-7014 → omniopt2-7015}/.dockerignore +0 -0
- {omniopt2-7014 → omniopt2-7015}/.general.sh +0 -0
- {omniopt2-7014 → omniopt2-7015}/.gitignore +0 -0
- {omniopt2-7014 → omniopt2-7015}/.helpers.py +0 -0
- {omniopt2-7014 → omniopt2-7015}/.omniopt.py +0 -0
- {omniopt2-7014 → omniopt2-7015}/.random_generator.py +0 -0
- {omniopt2-7014 → omniopt2-7015}/.shellscript_functions +0 -0
- {omniopt2-7014 → omniopt2-7015}/LICENSE +0 -0
- {omniopt2-7014 → omniopt2-7015}/MANIFEST.in +0 -0
- {omniopt2-7014 → omniopt2-7015}/README.md +0 -0
- {omniopt2-7014 → omniopt2-7015}/apt-dependencies.txt +0 -0
- {omniopt2-7014 → omniopt2-7015}/omniopt +0 -0
- {omniopt2-7014 → omniopt2-7015}/omniopt2.egg-info/SOURCES.txt +0 -0
- {omniopt2-7014 → omniopt2-7015}/omniopt2.egg-info/dependency_links.txt +0 -0
- {omniopt2-7014 → omniopt2-7015}/omniopt2.egg-info/requires.txt +0 -0
- {omniopt2-7014 → omniopt2-7015}/omniopt2.egg-info/top_level.txt +0 -0
- {omniopt2-7014 → omniopt2-7015}/omniopt_docker +0 -0
- {omniopt2-7014 → omniopt2-7015}/omniopt_evaluate +0 -0
- {omniopt2-7014 → omniopt2-7015}/omniopt_plot +0 -0
- {omniopt2-7014 → omniopt2-7015}/omniopt_share +0 -0
- {omniopt2-7014 → omniopt2-7015}/requirements.txt +0 -0
- {omniopt2-7014 → omniopt2-7015}/setup.cfg +0 -0
- {omniopt2-7014 → omniopt2-7015}/setup.py +0 -0
- {omniopt2-7014 → omniopt2-7015}/test_requirements.txt +0 -0
@@ -39,7 +39,6 @@ def load_helpers(script_dir: str) -> None:
|
|
39
39
|
parser = argparse.ArgumentParser(description='Plotting tool for analyzing CPU and RAM usage data.')
|
40
40
|
parser.add_argument('--save_to_file', nargs='?', const='plot', type=str, help='Path to save the plot(s)')
|
41
41
|
parser.add_argument('--run_dir', type=str, help='Path to a CSV file', required=True)
|
42
|
-
parser.add_argument('--darkmode', help='Enable darktheme', action='store_true', default=False)
|
43
42
|
parser.add_argument('--no_plt_show', help='Disable showing the plot', action='store_true', default=False)
|
44
43
|
args = parser.parse_args()
|
45
44
|
|
@@ -114,10 +113,4 @@ def main() -> None:
|
|
114
113
|
update_graph(csv_path)
|
115
114
|
|
116
115
|
if __name__ == "__main__":
|
117
|
-
|
118
|
-
|
119
|
-
if args is not None and args.darkmode:
|
120
|
-
theme = "dark_background"
|
121
|
-
|
122
|
-
with plt.style.context(theme):
|
123
|
-
main()
|
116
|
+
main()
|
@@ -41,7 +41,6 @@ def parse_arguments() -> Any:
|
|
41
41
|
parser.add_argument('--max', type=float, help='Maximum value for result filtering')
|
42
42
|
parser.add_argument('--save_to_file', nargs='?', const='plot', type=str, help='Path to save the plot(s)')
|
43
43
|
parser.add_argument('--run_dir', type=str, help='Path to a CSV file', required=True)
|
44
|
-
parser.add_argument('--darkmode', help='Enable darktheme', action='store_true', default=False)
|
45
44
|
parser.add_argument('--bins', type=int, help='Number of bins for distribution of results', default=10)
|
46
45
|
parser.add_argument('--alpha', type=float, help='Transparency of plot bars', default=0.5)
|
47
46
|
parser.add_argument('--no_plt_show', help='Disable showing the plot', action='store_true', default=False)
|
@@ -139,10 +138,4 @@ if __name__ == "__main__":
|
|
139
138
|
logging.error("Specified --run_dir does not exist")
|
140
139
|
sys.exit(1)
|
141
140
|
|
142
|
-
|
143
|
-
|
144
|
-
if args is not None and args.darkmode:
|
145
|
-
theme = "dark_background"
|
146
|
-
|
147
|
-
with plt.style.context(theme):
|
148
|
-
update_graph()
|
141
|
+
update_graph()
|
@@ -20,7 +20,6 @@ from beartype import beartype
|
|
20
20
|
|
21
21
|
parser = argparse.ArgumentParser(description='Process some integers.')
|
22
22
|
parser.add_argument('--run_dir', type=str, help='Directory where to search for CSV files')
|
23
|
-
parser.add_argument('--darkmode', help='Enable darktheme', action='store_true', default=False)
|
24
23
|
parser.add_argument('--no_legend', help='Disables legend (useless here)', action='store_true', default=False)
|
25
24
|
parser.add_argument('--save_to_file', nargs='?', const='plot', type=str, help='Path to save the plot(s)')
|
26
25
|
parser.add_argument('--no_plt_show', help='Disable showing the plot', action='store_true', default=False)
|
@@ -140,16 +139,10 @@ def save_to_file_or_show_canvas() -> None:
|
|
140
139
|
plt.show()
|
141
140
|
|
142
141
|
if __name__ == "__main__":
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
try:
|
151
|
-
plot_gpu_usage(args.run_dir)
|
152
|
-
except UnicodeDecodeError:
|
153
|
-
if not os.environ.get("PLOT_TESTS"):
|
154
|
-
print(f"{args.run_dir}/results.csv seems to be invalid utf8.")
|
155
|
-
sys.exit(7)
|
142
|
+
args = parser.parse_args()
|
143
|
+
try:
|
144
|
+
plot_gpu_usage(args.run_dir)
|
145
|
+
except UnicodeDecodeError:
|
146
|
+
if not os.environ.get("PLOT_TESTS"):
|
147
|
+
print(f"{args.run_dir}/results.csv seems to be invalid utf8.")
|
148
|
+
sys.exit(7)
|
@@ -42,7 +42,6 @@ parser = argparse.ArgumentParser(description='Plotting tool for analyzing trial
|
|
42
42
|
parser.add_argument('--run_dir', type=str, help='Path to a run dir', required=True)
|
43
43
|
parser.add_argument('--bins', type=int, help='Number of bins for distribution of results', default=10)
|
44
44
|
parser.add_argument('--alpha', type=float, help='Transparency of plot bars (between 0 and 1)', default=0.5)
|
45
|
-
parser.add_argument('--darkmode', help='Enable darktheme', action='store_true', default=False)
|
46
45
|
parser.add_argument('--no_legend', help='Disables legend', action='store_true', default=False)
|
47
46
|
parser.add_argument('--save_to_file', type=str, help='Save the plot to the specified file', default=None)
|
48
47
|
parser.add_argument('--no_plt_show', help='Disable showing the plot', action='store_true', default=False)
|
@@ -191,10 +190,4 @@ if __name__ == "__main__":
|
|
191
190
|
logging.error("Specified --run_dir does not exist")
|
192
191
|
sys.exit(1)
|
193
192
|
|
194
|
-
|
195
|
-
|
196
|
-
if args is not None and args.darkmode:
|
197
|
-
theme = "dark_background"
|
198
|
-
|
199
|
-
with plt.style.context(theme):
|
200
|
-
update_graph()
|
193
|
+
update_graph()
|
@@ -49,7 +49,6 @@ parser.add_argument('--run_dir', type=str, help='Path to a CSV file', required=T
|
|
49
49
|
parser.add_argument('--save_to_file', type=str, help='Save the plot to the specified file', default=None)
|
50
50
|
parser.add_argument('--max', type=float, help='Maximum value', default=None)
|
51
51
|
parser.add_argument('--min', type=float, help='Minimum value', default=None)
|
52
|
-
parser.add_argument('--darkmode', help='Enable darktheme', action='store_true', default=False)
|
53
52
|
parser.add_argument('--bubblesize', type=int, help='Size of the bubbles', default=15)
|
54
53
|
parser.add_argument('--merge_with_previous_runs', action='append', nargs='+', help="Run-Dirs to be merged with", default=[])
|
55
54
|
parser.add_argument('--exclude_params', action='append', nargs='+', help="Params to be ignored", default=[])
|
@@ -214,12 +213,6 @@ def update_graph(csv_file_path: str, event: Any = None, _min: Union[int, float,
|
|
214
213
|
|
215
214
|
if __name__ == "__main__":
|
216
215
|
try:
|
217
|
-
|
218
|
-
|
219
|
-
if args is not None and args.darkmode:
|
220
|
-
theme = "dark_background"
|
221
|
-
|
222
|
-
with plt.style.context(theme):
|
223
|
-
main()
|
216
|
+
main()
|
224
217
|
except KeyboardInterrupt:
|
225
218
|
sys.exit(0)
|
@@ -34,7 +34,6 @@ else:
|
|
34
34
|
parser = argparse.ArgumentParser(description='Plotting tool for analyzing trial data.')
|
35
35
|
parser.add_argument('--min', type=float, help='Minimum value for result filtering')
|
36
36
|
parser.add_argument('--max', type=float, help='Maximum value for result filtering')
|
37
|
-
parser.add_argument('--darkmode', help='Enable darktheme', action='store_true', default=False)
|
38
37
|
parser.add_argument('--save_to_file', nargs='?', const='plot', type=str, help='Path to save the plot(s)')
|
39
38
|
parser.add_argument('--run_dir', type=str, help='Path to a CSV file', required=True)
|
40
39
|
parser.add_argument('--no_plt_show', help='Disable showing the plot', action='store_true', default=False)
|
@@ -116,10 +115,4 @@ if __name__ == "__main__":
|
|
116
115
|
|
117
116
|
helpers.die_if_cannot_be_plotted(args.run_dir)
|
118
117
|
|
119
|
-
|
120
|
-
|
121
|
-
if args is not None and args.darkmode:
|
122
|
-
theme = "dark_background"
|
123
|
-
|
124
|
-
with plt.style.context(theme):
|
125
|
-
update_graph()
|
118
|
+
update_graph()
|
@@ -55,7 +55,6 @@ parser.add_argument('--run_dir', type=str, help='Path to a CSV file', required=T
|
|
55
55
|
parser.add_argument('--save_to_file', type=str, help='Save the plot to the specified file', default=None)
|
56
56
|
parser.add_argument('--max', type=float, help='Maximum value', default=None)
|
57
57
|
parser.add_argument('--min', type=float, help='Minimum value', default=None)
|
58
|
-
parser.add_argument('--darkmode', help='Enable darktheme', action='store_true', default=False)
|
59
58
|
parser.add_argument('--merge_with_previous_runs', action='append', nargs='+', help="Run-Dirs to be merged with", default=[])
|
60
59
|
parser.add_argument('--exclude_params', action='append', nargs='+', help="Params to be ignored", default=[])
|
61
60
|
|
@@ -266,12 +265,6 @@ def update_graph(csv_file_path: str, event: Any = None, _min: Union[int, float,
|
|
266
265
|
|
267
266
|
if __name__ == "__main__":
|
268
267
|
try:
|
269
|
-
|
270
|
-
|
271
|
-
if args is not None and args.darkmode:
|
272
|
-
theme = "dark_background"
|
273
|
-
|
274
|
-
with plt.style.context(theme):
|
275
|
-
main()
|
268
|
+
main()
|
276
269
|
except KeyboardInterrupt:
|
277
270
|
sys.exit(0)
|
@@ -39,7 +39,6 @@ else:
|
|
39
39
|
parser = argparse.ArgumentParser(description='Plot worker usage from CSV file')
|
40
40
|
parser.add_argument('--run_dir', type=str, help='Directory containing worker usage CSV file')
|
41
41
|
parser.add_argument('--save_to_file', type=str, help='Save the plot to the specified file', default=None)
|
42
|
-
parser.add_argument('--darkmode', help='Enable darktheme', action='store_true', default=False)
|
43
42
|
parser.add_argument('--bins', type=int, help='Number of bins for distribution of results (useless here)', default=10)
|
44
43
|
parser.add_argument('--no_plt_show', help='Disable showing the plot', action='store_true', default=False)
|
45
44
|
args = parser.parse_args()
|
@@ -157,10 +156,4 @@ def main() -> None:
|
|
157
156
|
print("df was empty")
|
158
157
|
|
159
158
|
if __name__ == "__main__":
|
160
|
-
|
161
|
-
|
162
|
-
if args is not None and args.darkmode:
|
163
|
-
theme = "dark_background"
|
164
|
-
|
165
|
-
with plt.style.context(theme):
|
166
|
-
main()
|
159
|
+
main()
|
@@ -41,7 +41,6 @@ parser = argparse.ArgumentParser(description='Plotting tool for analyzing trial
|
|
41
41
|
parser.add_argument('--min', type=float, help='Minimum value for result filtering')
|
42
42
|
parser.add_argument('--max', type=float, help='Maximum value for result filtering')
|
43
43
|
parser.add_argument('--save_to_file', nargs='?', const='plot', type=str, help='Path to save the plot(s)')
|
44
|
-
parser.add_argument('--darkmode', help='Enable darktheme', action='store_true', default=False)
|
45
44
|
parser.add_argument('--run_dir', type=str, help='Path to a CSV file', required=True)
|
46
45
|
parser.add_argument('--no_plt_show', help='Disable showing the plot', action='store_true', default=False)
|
47
46
|
args = parser.parse_args()
|
@@ -122,10 +121,4 @@ if __name__ == "__main__":
|
|
122
121
|
logging.error("Specified --run_dir does not exist")
|
123
122
|
sys.exit(1)
|
124
123
|
|
125
|
-
|
126
|
-
|
127
|
-
if args is not None and args.darkmode:
|
128
|
-
theme = "dark_background"
|
129
|
-
|
130
|
-
with plt.style.context(theme):
|
131
|
-
update_graph()
|
124
|
+
update_graph()
|
@@ -21,7 +21,6 @@ from beartype import beartype
|
|
21
21
|
parser = argparse.ArgumentParser(description='Plot worker usage from CSV file')
|
22
22
|
parser.add_argument('--run_dir', type=str, help='Directory containing worker usage CSV file')
|
23
23
|
parser.add_argument('--debug', action='store_true', help='Enable debug mode')
|
24
|
-
parser.add_argument('--darkmode', help='Enable darktheme', action='store_true', default=False)
|
25
24
|
parser.add_argument('--save_to_file', type=str, help='Save the plot to the specified file', default=None)
|
26
25
|
parser.add_argument('--no_plt_show', help='Disable showing the plot', action='store_true', default=False)
|
27
26
|
args = parser.parse_args()
|
@@ -118,10 +117,4 @@ def main() -> None:
|
|
118
117
|
sys.exit(19)
|
119
118
|
|
120
119
|
if __name__ == "__main__":
|
121
|
-
|
122
|
-
|
123
|
-
if args is not None and args.darkmode:
|
124
|
-
theme = "dark_background"
|
125
|
-
|
126
|
-
with plt.style.context(theme):
|
127
|
-
main()
|
120
|
+
main()
|
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
|