.. meta::
   :description: How to fine-tune LLMs with ROCm
   :keywords: ROCm, LLM, fine-tuning, usage, tutorial, profiling, debugging, performance, Triton

***********************
Profiling and debugging
***********************

This section provides an index for further documentation on  profiling and
debugging tools and their common usage patterns.

See :ref:`AMD Instinct MI300X™ workload optimization <mi300x-profiling-start>`
for a conceptual summary of the workload profiling workflow for ROCm applications
on AMD hardware -- including fine-tuning LLMs.

There, you'll find information on higher-level and kernel-level profiling tools
as well as other profiling and debugging suggestions.

* :ref:`PyTorch Profiler <mi300x-pytorch-profiler>`

* :ref:`ROCm profiling tools <mi300x-profiling-tools>`

  * :ref:`ROCProfiler <mi300x-rocprof>`

  * :ref:`Omniperf <mi300x-omniperf>`

  * :ref:`Omnitrace <mi300x-omnitrace>`

* :ref:`ROCr Debug Agent <mi300x-rocr-debug-agent>`
