2024-07-31 10:42:27 -04:00
.. meta ::
2025-01-02 13:29:47 -08:00
:description: ROCm Compute Profiler analysis: Standalone GUI
2024-07-31 10:42:27 -04:00
:keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, GUI, standalone, filter
***********************
Standalone GUI analysis
***********************
2025-01-02 13:29:47 -08:00
ROCm Compute Profiler's standalone analysis GUI is a lightweight web page that you can
2024-07-31 10:42:27 -04:00
generate straight from the command line. The standalone analysis GUI is an
2025-10-29 11:32:06 -04:00
alternative to the CLI if you want to explore profiling results visually. This analysis
2024-07-31 10:42:27 -04:00
option is implemented as a simple `Flask <https://flask.palletsprojects.com> `_
application that lets you view results from your preferred web browser.
.. note ::
A point on *port forwarding* : the standalone GUI analyzer publishes its
web-based interface on port ``8050`` by default. On production HPC systems
where profiling jobs run under the control of a resource manager, additional
SSH tunneling between the desired web browser host (such as a login node or
remote workstation) and compute host may be required. Alternatively, you
might find it more convenient to download profiled workloads to perform
analysis on a local system.
See the :doc: `/reference/faq` for more details on SSH tunneling.
Launch the standalone GUI analyzer
----------------------------------
2025-01-02 13:29:47 -08:00
To launch the ROCm Compute Profiler GUI analyzer, include the ``--gui`` flag with your
2026-01-20 10:02:31 -05:00
desired analysis command.
For example:
2024-07-31 10:42:27 -04:00
2025-01-02 13:29:47 -08:00
.. code-block :: shell-session
2024-07-31 10:42:27 -04:00
2025-01-02 13:29:47 -08:00
$ rocprof-compute analyze -p workloads/vcopy/MI200/ --gui
2024-07-31 10:42:27 -04:00
2025-01-02 13:29:47 -08:00
__ _
_ __ ___ ___ _ __ _ __ ___ / _| ___ ___ _ __ ___ _ __ _ _| |_ ___
| '__/ _ \ / __| '_ \| '__/ _ \| |_ _____ / __/ _ \| '_ ` _ \| '_ \| | | | __/ _ \
| | | (_) | (__| |_) | | | (_) | _|_____| (_| (_) | | | | | | |_) | |_| | || __/
|_| \___/ \___| .__/|_| \___/|_| \___\___/|_| |_| |_| .__/ \__,_|\__\___|
|_| |_|
2024-07-31 10:42:27 -04:00
Analysis mode = web_ui
2025-01-02 13:29:47 -08:00
[analysis] deriving rocprofiler-compute metrics...
2024-07-31 10:42:27 -04:00
Dash is running on http://0.0.0.0:8050/
2024-11-01 12:20:21 -04:00
* Serving Flask app 'rocprof_compute_analyze.analysis_webui' (lazy loading)
2024-07-31 10:42:27 -04:00
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
* Running on all addresses (0.0.0.0)
WARNING: This is a development server. Do not use it in a production deployment.
* Running on http://127.0.0.1:8050
* Running on http://10.228.33.172:8050 (Press CTRL+C to quit)
At this point, you can launch your web browser of choice and navigate to
``http://localhost:8050/`` to view the analysis interface.
.. image :: ../../data/analyze/standalone_gui.png
:align: center
2025-01-02 13:29:47 -08:00
:alt: ROCm Compute Profiler standalone GUI home screen
2024-07-31 10:42:27 -04:00
:width: 800
.. tip ::
To launch the standalone GUI analyzer web app on a port other than ``8050`` ,
include the optional argument ``--gui <desired port>`` .
When no filters are applied, you'll see five basic sections derived from your
application's profiling data:
#. Memory Chart Analysis
#. Empirical Roofline Analysis
2025-04-07 12:10:37 -04:00
2026-01-09 09:05:49 -05:00
Use ``--roofline-data-type`` option to specify which data type(s) you would like displayed on the roofline HTMLs in the standalone analysis GUI.
Data types can be stacked- for example, "--roofline-data-type FP32 FP64 I32" would display one HTML with FP32 and FP64 stacked, and one HTML with INT32.
2025-07-16 12:39:24 -04:00
Default roofline data type plotted is FP32.
2025-04-07 12:10:37 -04:00
2024-07-31 10:42:27 -04:00
#. Top Stats (Top Kernel Statistics)
#. System Info
#. System Speed-of-Light
2025-08-20 09:58:08 -04:00
#. Roofline AI Data Metrics
2024-07-31 10:42:27 -04:00
To dive deeper, use the dropdown menus at the top of the screen to isolate
particular kernels or dispatches. You should see the web page update with
metrics specific to your selected filters.
Once a filter is applied, you'll see several additional sections become
2025-10-29 11:32:06 -04:00
available with detailed metrics specific to that area of AMD hardware.