OMNITRACE_ROCM_SMI_METRICS (#331)
* OMNITRACE_ROCM_SMI_METRICS - configuration variable OMNITRACE_ROCM_SMI_METRICS for specifying which rocm-smi metrics to collect - auto-disable metric collection when rsmi_dev_X_get returns RSMI_STATUS_NOT_SUPPORTED * Bump version to 1.11.1 * Python formatting * Update python/libpyomnitrace.cpp - fix usage of substr (ignored return value) * Update python/gui/source/gui.py - Fix E721 - do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()`
This commit is contained in:
committed by
GitHub
parent
77d52814e9
commit
15127c0d43
@@ -191,7 +191,7 @@ def update_line_graph(
|
||||
|
||||
def reset_input_filters(workloads, max_points, verbosity):
|
||||
sortOptions = ["Alphabetical", "Max Speedup", "Min Speedup", "Impact"]
|
||||
if type(workloads) == str:
|
||||
if isinstance(workloads, str):
|
||||
workloads = [workloads]
|
||||
|
||||
input_filters = [
|
||||
@@ -241,9 +241,11 @@ def build_causal_layout(
|
||||
]
|
||||
|
||||
app.layout = html.Div(
|
||||
style={"backgroundColor": "rgb(255, 255, 255)"}
|
||||
if light_mode
|
||||
else {"backgroundColor": "rgb(50, 50, 50)"}
|
||||
style=(
|
||||
{"backgroundColor": "rgb(255, 255, 255)"}
|
||||
if light_mode
|
||||
else {"backgroundColor": "rgb(50, 50, 50)"}
|
||||
)
|
||||
)
|
||||
|
||||
line_graph1, line_graph2 = build_line_graph()
|
||||
|
||||
@@ -186,7 +186,7 @@ def get_header(dropDownMenuItems, input_filters):
|
||||
ul = html.Div(
|
||||
id="nav-center",
|
||||
className="nav-center",
|
||||
children=filter_children
|
||||
children=filter_children,
|
||||
# [
|
||||
# html.Li(className="filter", children=filter_children),
|
||||
# refresh(),
|
||||
|
||||
Reference in New Issue
Block a user