Skip to content

AMD Official Support: Add ROCm Docker support for PyTorch training on AMD GPUs - #1035

Open
Treemann wants to merge 2 commits into
Physical-Intelligence:mainfrom
Treemann:treemann/amd-support
Open

AMD Official Support: Add ROCm Docker support for PyTorch training on AMD GPUs#1035
Treemann wants to merge 2 commits into
Physical-Intelligence:mainfrom
Treemann:treemann/amd-support

Conversation

@Treemann

@Treemann Treemann commented Sep 2, 2026

Copy link
Copy Markdown

Summary

  • Add ROCm Docker image and compose file for PyTorch training on AMD GPUs
  • Document setup, workflow, and design trade-offs in docs/rocm.md
  • Link from README and docs/docker.md; no changes to existing NVIDIA paths

Motivation

openpi's pyproject.toml pins CUDA builds of torch and jax, making uv sync unusable on ROCm hosts. This provides a Docker-based alternative that preserves the ROCm PyTorch stack from the base image.

Scope

  • PyTorch training on AMD GPUs (tested on 8× MI308X)
  • Docker-only; JAX GPU training and policy serving are out of scope

Test plan

  • Image builds and passes smoke test
  • 8-GPU visibility confirmed in container
  • JAX → PyTorch checkpoint conversion
  • Multi-GPU torchrun training on pi05_libero
  • NVIDIA Docker workflow unaffected

@jimmyt857
jimmyt857 removed their request for review September 2, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant