[Bug]: `rocprof-compute analyze --gui` fails with `ObsoleteAttributeException` · Issue #640 · ROCm/rocprofiler-compute · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/usr/bin/rocprof-compute", line 153, in <module>
main()
File "/usr/bin/rocprof-compute", line 145, in main
rocprof_compute.run_analysis()
File "/opt/rocm-6.4.0/libexec/rocprofiler-compute/utils/utils.py", line 45, in wrap_function
result = function(*args, **kwargs)
File "/opt/rocm-6.4.0/libexec/rocprofiler-compute/rocprof_compute_base.py", line 295, in run_analysis
analyzer.run_analysis()
File "/opt/rocm-6.4.0/libexec/rocprofiler-compute/utils/utils.py", line 45, in wrap_function
result = function(*args, **kwargs)
File "/opt/rocm-6.4.0/libexec/rocprofiler-compute/rocprof_compute_analyze/analysis_webui.py", line 319, in run_analysis
self.app.run_server(debug=False, host="0.0.0.0", port=args.gui)
File "/home/qdawkins/threadtrace/trace_venv/lib/python3.10/site-packages/dash/_obsolete.py", line 22, in __getattr__
raise err.exc(err.message)
dash.exceptions.ObsoleteAttributeException: app.run_server has been replaced by app.run
Manually replacing run_server with run in rocprofiler-compute/rocprof_compute_analyze/analysis_webui.py:319 fixes the issue.
Linux Distribution
Ubuntu 22.04.2 LTS
ROCm Compute Profiler Version
rocprofiler-compute version: 3.0.0 (release)
GPU
MI300X
ROCm Version
rocm-6.4.0
Cluster name (if applicable)
No response
Reproducer
$ sudo apt install rocprofiler-compute
# Include rocprofiler-compute in your system PATH
$ sudo update-alternatives --install /usr/bin/rocprofiler-compute rocprof-compute /opt/rocm/bin/rocprofiler-compute 0
# Install Python dependencies
$ python3 -m pip install -r /opt/rocm/libexec/rocprofiler-compute/requirements.txt
Capture a trace
Run rocprof-compute analyze -q -p <trace_directory> --gui
Expected behavior
No response
Relevant log output
Screenshots
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Following the official install instructions here: https://rocm.docs.amd.com/projects/rocprofiler-compute/en/latest/install/core-install.html#install-via-package-manager
And launching the gui on a recently captured trace
Fails with the following message
Manually replacing
run_server
withrun
inrocprofiler-compute/rocprof_compute_analyze/analysis_webui.py:319
fixes the issue.Linux Distribution
Ubuntu 22.04.2 LTS
ROCm Compute Profiler Version
rocprofiler-compute version: 3.0.0 (release)
GPU
MI300X
ROCm Version
rocm-6.4.0
Cluster name (if applicable)
No response
Reproducer
Capture a trace
Run
rocprof-compute analyze -q -p <trace_directory> --gui
Expected behavior
No response
Relevant log output
Screenshots
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: