a0dc485ceb
* pip-compile docs/requirements.txt Signed-off-by: Peter Jun Park <peter.park@amd.com> Add Sphinx docs config Signed-off-by: Peter Jun Park <peter.park@amd.com> Add Sphinx config Signed-off-by: Peter Jun Park <peter.park@amd.com> Update docs build config Signed-off-by: Peter Jun Park <peter.park@amd.com> * style(conf.py): Apply black formatting to docs/conf.py Signed-off-by: Sam Wu <22262939+samjwu@users.noreply.github.com> * Update docs requirements Signed-off-by: Peter Jun Park <peter.park@amd.com> Update to rocm-docs-core 1.3.0 Signed-off-by: Peter Jun Park <peter.park@amd.com> Update docs requirements Signed-off-by: Peter Jun Park <peter.park@amd.com> pip-compile requirements Signed-off-by: Peter Jun Park <peter.park@amd.com> bump rocm-docs-core to 1.5.0 bump rocm-docs-core to 1.4.1 Signed-off-by: Peter Jun Park <peter.park@amd.com> * Add dependabot.yml and update CODEOWNERS Signed-off-by: Peter Jun Park <peter.park@amd.com> Update toc and conf Signed-off-by: Peter Jun Park <peter.park@amd.com> update dependabot * Port docs to rocm-docs standard Signed-off-by: Peter Jun Park <peter.park@amd.com> Add toc and Diataxis cards Signed-off-by: Peter Jun Park <peter.park@amd.com> Add basic file structure Signed-off-by: Peter Jun Park <peter.park@amd.com> add glossary Signed-off-by: Peter Jun Park <peter.park@amd.com> add includes Signed-off-by: Peter Jun Park <peter.park@amd.com> Add license.rst Signed-off-by: Peter Jun Park <peter.park@amd.com> add compatible hw Signed-off-by: Peter Jun Park <peter.park@amd.com> fix spelling and license Signed-off-by: Peter Jun Park <peter.park@amd.com> clean up index Signed-off-by: Peter Jun Park <peter.park@amd.com> clean up installation guides Signed-off-by: Peter Jun Park <peter.park@amd.com> add basic usage (quickstart) Signed-off-by: Peter Jun Park <peter.park@amd.com> add ref to global options update toc Signed-off-by: Peter Jun Park <peter.park@amd.com> modularize modes and global options Signed-off-by: Peter Jun Park <peter.park@amd.com> add profile mode Signed-off-by: Peter Jun Park <peter.park@amd.com> fixes Signed-off-by: Peter Jun Park <peter.park@amd.com> reorg and clean up Signed-off-by: Peter Jun Park <peter.park@amd.com> add dynamic omniperf version number in installation guide Signed-off-by: Peter Jun Park <peter.park@amd.com> add datatemplate more reorg Signed-off-by: Peter Jun Park <peter.park@amd.com> clean up Signed-off-by: Peter Jun Park <peter.park@amd.com> reorg images move profile mode reorg reorg reorg more fix formatting fix headings ref anchor mi2xx note add extlinks add extlinks Signed-off-by: Peter Jun Park <peter.park@amd.com> black format fix formatting, anchors Signed-off-by: Peter Jun Park <peter.park@amd.com> reorg fix words and formatting Signed-off-by: Peter Jun Park <peter.park@amd.com> formatting Signed-off-by: Peter Jun Park <peter.park@amd.com> same reorg format fix formatting fix toc Signed-off-by: Peter Jun Park <peter.park@amd.com> format * impr internal linking and fix sphinx warnings Signed-off-by: Peter Jun Park <peter.park@amd.com> * add spellcheck/linting from rocm-docs-core Signed-off-by: Peter Jun Park <peter.park@amd.com> fix rst directives satisfy spellcheck fix more spelling rm unused files fix spelling and update wordlist * bump rocm-docs-core to 1.6.0 Signed-off-by: Peter Jun Park <peter.park@amd.com> * add fixes from @skyreflectedinmirrors and @lpaoletti Signed-off-by: Peter Jun Park <peter.park@amd.com> add references to toc Signed-off-by: Peter Jun Park <peter.park@amd.com> add more fixes Signed-off-by: Peter Jun Park <peter.park@amd.com> * add package manager install section Signed-off-by: Peter Jun Park <peter.park@amd.com> * add fixes Signed-off-by: Peter Jun Park <peter.park@amd.com> add metadata and fixes Signed-off-by: Peter Jun Park <peter.park@amd.com> add fixes bump to 1.6.1 more fixes fix fmt in profiling examples Signed-off-by: Peter Jun Park <peter.park@amd.com> add missing mem type table Signed-off-by: Peter Jun Park <peter.park@amd.com> fix formatting fmt * add custom css Signed-off-by: Peter Jun Park <peter.park@amd.com> fix css fs * make images/figs click-to-expand Signed-off-by: Peter Jun Park <peter.park@amd.com> add missed image update fix link * update documentation link in README Signed-off-by: Peter Jun Park <peter.park@amd.com> * formatting fixes Signed-off-by: Peter Jun Park <peter.park@amd.com> more formatting * fix heading Signed-off-by: Peter Jun Park <peter.park@amd.com> * move archived docs Signed-off-by: Peter Jun Park <peter.park@amd.com> * exclude archived docs from docs build Signed-off-by: Peter Jun Park <peter.park@amd.com> * update archived docs workflow Signed-off-by: Peter Jun Park <peter.park@amd.com> move files update archived docs workflow Signed-off-by: Peter Jun Park <peter.park@amd.com> fix version number clean up workflow workflow test workflow test another workflow test * rm docs linting Signed-off-by: Peter Jun Park <peter.park@amd.com> * Apply cmake-format suggested changes Signed-off-by: Sam Wu <22262939+samjwu@users.noreply.github.com> * Apply cmake-format Signed-off-by: Sam Wu <22262939+samjwu@users.noreply.github.com> --------- Signed-off-by: Peter Jun Park <peter.park@amd.com> Signed-off-by: Sam Wu <22262939+samjwu@users.noreply.github.com> Co-authored-by: Sam Wu <22262939+samjwu@users.noreply.github.com>
90 righe
3.5 KiB
ReStructuredText
90 righe
3.5 KiB
ReStructuredText
.. meta::
|
|
:description: Omniperf analysis: Standalone GUI
|
|
:keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, GUI, standalone, filter
|
|
|
|
***********************
|
|
Standalone GUI analysis
|
|
***********************
|
|
|
|
Omniperf's standalone analysis GUI is a lightweight web page that you can
|
|
generate straight from the command line. The standalone analysis GUI is an
|
|
alternative to the CLI if you want to explore profiling results visually, but
|
|
without the additional setup requirements or server-side overhead of Omniperf's
|
|
detailed :doc:`Grafana interface <grafana-gui>` option. This analysis
|
|
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
|
|
----------------------------------
|
|
|
|
To launch the Omniperf GUI analyzer, include the ``--gui`` flag with your
|
|
desired analysis command. For example:
|
|
|
|
.. code-block:: shell
|
|
|
|
$ omniperf analyze -p workloads/vcopy/MI200/ --gui
|
|
|
|
___ _ __
|
|
/ _ \ _ __ ___ _ __ (_)_ __ ___ _ __ / _|
|
|
| | | | '_ ` _ \| '_ \| | '_ \ / _ \ '__| |_
|
|
| |_| | | | | | | | | | | |_) | __/ | | _|
|
|
\___/|_| |_| |_|_| |_|_| .__/ \___|_| |_|
|
|
|_|
|
|
|
|
Analysis mode = web_ui
|
|
[analysis] deriving Omniperf metrics...
|
|
Dash is running on http://0.0.0.0:8050/
|
|
|
|
* Serving Flask app 'omniperf_analyze.analysis_webui' (lazy loading)
|
|
* 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
|
|
:alt: Omniperf standalone GUI home screen
|
|
: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
|
|
#. Top Stats (Top Kernel Statistics)
|
|
#. System Info
|
|
#. System Speed-of-Light
|
|
|
|
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
|
|
available with detailed metrics specific to that area of AMD hardware. These
|
|
detailed sections mirror the data displayed in Omniperf's
|
|
:doc:`Grafana interface <grafana-gui>`.
|