jax-hpc-profiler 0.2.5__tar.gz → 0.2.6__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.
- {jax_hpc_profiler-0.2.5 → jax_hpc_profiler-0.2.6}/PKG-INFO +1 -1
- {jax_hpc_profiler-0.2.5 → jax_hpc_profiler-0.2.6}/pyproject.toml +1 -1
- {jax_hpc_profiler-0.2.5 → jax_hpc_profiler-0.2.6}/src/jax_hpc_profiler/create_argparse.py +20 -18
- {jax_hpc_profiler-0.2.5 → jax_hpc_profiler-0.2.6}/src/jax_hpc_profiler/timer.py +1 -0
- {jax_hpc_profiler-0.2.5 → jax_hpc_profiler-0.2.6}/src/jax_hpc_profiler.egg-info/PKG-INFO +1 -1
- {jax_hpc_profiler-0.2.5 → jax_hpc_profiler-0.2.6}/LICENSE +0 -0
- {jax_hpc_profiler-0.2.5 → jax_hpc_profiler-0.2.6}/README.md +0 -0
- {jax_hpc_profiler-0.2.5 → jax_hpc_profiler-0.2.6}/setup.cfg +0 -0
- {jax_hpc_profiler-0.2.5 → jax_hpc_profiler-0.2.6}/src/jax_hpc_profiler/__init__.py +0 -0
- {jax_hpc_profiler-0.2.5 → jax_hpc_profiler-0.2.6}/src/jax_hpc_profiler/main.py +0 -0
- {jax_hpc_profiler-0.2.5 → jax_hpc_profiler-0.2.6}/src/jax_hpc_profiler/plotting.py +0 -0
- {jax_hpc_profiler-0.2.5 → jax_hpc_profiler-0.2.6}/src/jax_hpc_profiler/utils.py +0 -0
- {jax_hpc_profiler-0.2.5 → jax_hpc_profiler-0.2.6}/src/jax_hpc_profiler.egg-info/SOURCES.txt +0 -0
- {jax_hpc_profiler-0.2.5 → jax_hpc_profiler-0.2.6}/src/jax_hpc_profiler.egg-info/dependency_links.txt +0 -0
- {jax_hpc_profiler-0.2.5 → jax_hpc_profiler-0.2.6}/src/jax_hpc_profiler.egg-info/entry_points.txt +0 -0
- {jax_hpc_profiler-0.2.5 → jax_hpc_profiler-0.2.6}/src/jax_hpc_profiler.egg-info/requires.txt +0 -0
- {jax_hpc_profiler-0.2.5 → jax_hpc_profiler-0.2.6}/src/jax_hpc_profiler.egg-info/top_level.txt +0 -0
|
@@ -136,23 +136,25 @@ def create_argparser():
|
|
|
136
136
|
default="%m%-%f%-%pn%-%pr%-%b%-%p%-%n%")
|
|
137
137
|
|
|
138
138
|
args = parser.parse_args()
|
|
139
|
-
|
|
140
|
-
if
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
139
|
+
|
|
140
|
+
# if command was plot, then check if pdim_strategy is validat
|
|
141
|
+
if args.command == 'plot':
|
|
142
|
+
if 'plot_all' in args.pdim_strategy and len(args.pdim_strategy) > 1:
|
|
143
|
+
print(
|
|
144
|
+
"Warning: 'plot_all' strategy is combined with other strategies. Using 'plot_all' only."
|
|
145
|
+
)
|
|
146
|
+
args.pdim_strategy = ['plot_all']
|
|
147
|
+
|
|
148
|
+
if 'plot_fastest' in args.pdim_strategy and len(args.pdim_strategy) > 1:
|
|
149
|
+
print(
|
|
150
|
+
"Warning: 'plot_fastest' strategy is combined with other strategies. Using 'plot_fastest' only."
|
|
151
|
+
)
|
|
152
|
+
args.pdim_strategy = ['plot_fastest']
|
|
153
|
+
if args.plot_times is not None:
|
|
154
|
+
args.plot_columns = args.plot_times
|
|
155
|
+
elif args.plot_memory is not None:
|
|
156
|
+
args.plot_columns = args.plot_memory
|
|
157
|
+
else:
|
|
158
|
+
raise ValueError('Either plot_times or plot_memory should be provided')
|
|
157
159
|
|
|
158
160
|
return args
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{jax_hpc_profiler-0.2.5 → jax_hpc_profiler-0.2.6}/src/jax_hpc_profiler.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{jax_hpc_profiler-0.2.5 → jax_hpc_profiler-0.2.6}/src/jax_hpc_profiler.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{jax_hpc_profiler-0.2.5 → jax_hpc_profiler-0.2.6}/src/jax_hpc_profiler.egg-info/requires.txt
RENAMED
|
File without changes
|
{jax_hpc_profiler-0.2.5 → jax_hpc_profiler-0.2.6}/src/jax_hpc_profiler.egg-info/top_level.txt
RENAMED
|
File without changes
|