diff --git a/projects/rocprofiler-compute/CHANGELOG.md b/projects/rocprofiler-compute/CHANGELOG.md index 50812ff9bb..11d81a291b 100644 --- a/projects/rocprofiler-compute/CHANGELOG.md +++ b/projects/rocprofiler-compute/CHANGELOG.md @@ -60,6 +60,7 @@ Full documentation for ROCm Compute Profiler is available at [https://rocm.docs. * Update definition of following metrics for MI 350: * VGPR Writes * Total FLOPs (consider fp6 and fp4 ops) +* Update Dash to >=3.0.0 (for web UI) ### Resolved issues diff --git a/projects/rocprofiler-compute/requirements.txt b/projects/rocprofiler-compute/requirements.txt index e442f2b0f8..7db15c6c23 100644 --- a/projects/rocprofiler-compute/requirements.txt +++ b/projects/rocprofiler-compute/requirements.txt @@ -1,6 +1,6 @@ astunparse==1.6.2 colorlover -dash>=1.12.0 +dash>=3.0.0 matplotlib numpy>=1.17.5 pandas>=1.4.3 diff --git a/projects/rocprofiler-compute/src/rocprof_compute_analyze/analysis_webui.py b/projects/rocprofiler-compute/src/rocprof_compute_analyze/analysis_webui.py index 2bc7c7c33b..297f80f32e 100644 --- a/projects/rocprofiler-compute/src/rocprof_compute_analyze/analysis_webui.py +++ b/projects/rocprofiler-compute/src/rocprof_compute_analyze/analysis_webui.py @@ -343,9 +343,7 @@ class webui_analysis(OmniAnalyze_Base): self._arch_configs[self.arch], ) if args.random_port: - self.app.run_server( - debug=False, host="0.0.0.0", port=random.randint(1024, 49151) - ) + self.app.run(debug=False, host="0.0.0.0", port=random.randint(1024, 49151)) else: self.app.run(debug=False, host="0.0.0.0", port=args.gui) diff --git a/projects/rocprofiler-compute/src/utils/gui.py b/projects/rocprofiler-compute/src/utils/gui.py index 05f44617be..b391e2dfad 100644 --- a/projects/rocprofiler-compute/src/utils/gui.py +++ b/projects/rocprofiler-compute/src/utils/gui.py @@ -131,7 +131,7 @@ def build_bar_chart(display_df, table_config, barchart_elements, norm_filt): display_df["Avg"] = [ x.astype(int) if x != "" else int(0) for x in display_df["Avg"] ] - df_unit = display_df["Unit"][0] + df_unit = display_df["Unit"].iloc[0] d_figs.append( px.bar( display_df, @@ -149,7 +149,7 @@ def build_bar_chart(display_df, table_config, barchart_elements, norm_filt): display_df["Avg"] = [ x.astype(int) if x != "" else int(0) for x in display_df["Avg"] ] - df_unit = display_df["Unit"][0] + df_unit = display_df["Unit"].iloc[0] nested_bar = multi_bar_chart(table_config["id"], display_df) # generate chart for each coherency for group, metric in nested_bar.items():