.. meta:: :description: How to install deep learning frameworks for ROCm :keywords: deep learning, frameworks, ROCm, install, PyTorch, TensorFlow, JAX, MAGMA, DeepSpeed, ML, AI ********************************** Deep learning frameworks for ROCm ********************************** Deep learning frameworks provide environments for machine learning, training, fine-tuning, inference, and performance optimization. ROCm offers a complete ecosystem for developing and running deep learning applications efficiently. It also provides ROCm-compatible versions of popular frameworks and libraries, such as PyTorch, TensorFlow, JAX, and others. The AMD ROCm organization actively contributes to open-source development and collaborates closely with framework organizations. This collaboration ensures that framework-specific optimizations effectively leverage AMD GPUs and accelerators. The table below summarizes information about ROCm-enabled deep learning frameworks. It includes details on ROCm compatibility and third-party tool support, installation steps and options, and links to GitHub resources. For a complete list of supported framework versions on ROCm, see the :doc:`Compatibility matrix <../compatibility/compatibility-matrix>` topic. .. list-table:: :header-rows: 1 :widths: 5 3 6 3 * - Framework - Installation - Installation options - GitHub * - `PyTorch `__ - .. raw:: html - - `Docker image `__ - `Wheels package `__ - `ROCm Base Docker image `__ - `Upstream Docker file `__ - .. raw:: html * - `TensorFlow `__ - .. raw:: html - - `Docker image `__ - `Wheels package `__ - .. raw:: html * - `JAX `__ - .. raw:: html - - `Docker image `__ - .. raw:: html * - `verl `__ - .. raw:: html - - `Docker image `__ - .. raw:: html * - `Stanford Megatron-LM `__ - .. raw:: html - - `Docker image `__ - .. raw:: html * - `DGL `__ - .. raw:: html - - `Docker image `__ - .. raw:: html * - `Megablocks `__ - .. raw:: html - - `Docker image `__ - .. raw:: html * - `Ray `__ - .. raw:: html - - `Docker image `__ - `Wheels package `__ - `ROCm Base Docker image `__ - .. raw:: html * - `llama.cpp `__ - .. raw:: html - - `Docker image `__ - .. raw:: html Learn how to use your ROCm deep learning environment for training, fine-tuning, inference, and performance optimization through the following guides. * :doc:`rocm-for-ai/index` * :doc:`Use ROCm for training ` * :doc:`Use ROCm for fine-tuning LLMs ` * :doc:`Use ROCm for AI inference ` * :doc:`Use ROCm for AI inference optimization `