Skip to content

fix(devcontainer): align AITER ROCm index with PyTorch ROCm version#268

Closed
demandal25 wants to merge 1 commit into
amd-integrationfrom
fix/devcontainer-aiter-rocm-version
Closed

fix(devcontainer): align AITER ROCm index with PyTorch ROCm version#268
demandal25 wants to merge 1 commit into
amd-integrationfrom
fix/devcontainer-aiter-rocm-version

Conversation

@demandal25

Copy link
Copy Markdown
Collaborator

Summary

The devcontainer Dockerfile installed PyTorch from rocm-rel-7.2 but AITER from the rocm-7.1.1 PyPI index. That mismatch can cause binary incompatibilities between the two packages at runtime.

What changed

  • .devcontainer/rocm/Dockerfile — default AITER_ROCM_VERSION to ${ROCM_VERSION} so both packages are pulled from the same ROCm release. The arg can still be overridden at build time if needed.

Test plan

  • Dockerfile-only change; no Python tests applicable
  • pre-commit run -a (via commit hook on staged file)

Made with Cursor

Default AITER_ROCM_VERSION to ROCM_VERSION so the devcontainer installs
both packages from the same ROCm release, avoiding binary mismatches.

Co-authored-by: Cursor <cursoragent@cursor.com>
Copilot AI review requested due to automatic review settings June 24, 2026 14:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the ROCm devcontainer build configuration so amd-aiter is installed from the same ROCm release stream as the ROCm-enabled PyTorch wheel, reducing the risk of runtime binary incompatibilities.

Changes:

  • Default AITER_ROCM_VERSION to ${ROCM_VERSION} in the ROCm devcontainer Dockerfile so the AITER PyPI index tracks the selected ROCm version.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@demandal25

Copy link
Copy Markdown
Collaborator Author
  • amd_aiter only exists at https://pypi.amd.com/rocm-7.1.1/simple/ (200), and it has the pinned amd_aiter==0.1.10.
  • The new value pointed AITER at https://pypi.amd.com/rocm-7.2/simple/ → 403 (doesn't exist). There is no rocm-7.2, 7.1, or 7.0 AITER index at all.
  • torch and amd_aiter come from two different registries (repo.radeon.com vs pypi.amd.com) with independent version axes, so "align them to one
    ROCm version" was a false premise.

@demandal25 demandal25 closed this Jun 24, 2026
@demandal25 demandal25 deleted the fix/devcontainer-aiter-rocm-version branch June 24, 2026 16:50
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.

2 participants