Skip to content

[WIP][ROCm] Drop support for ROCm < 7.0#863

Open
nurmukhametov wants to merge 5 commits into
mainfrom
anurmukh/remove-old-rocm-support
Open

[WIP][ROCm] Drop support for ROCm < 7.0#863
nurmukhametov wants to merge 5 commits into
mainfrom
anurmukh/remove-old-rocm-support

Conversation

@nurmukhametov
Copy link
Copy Markdown
Member

Motivation

[Do not merge] For review only.

Technical Details

Reject ROCm older than 7.0 at configure and compile time, and remove all version-gated fallback code for older releases.

Submission Checklist

@nurmukhametov nurmukhametov added the claude-review Request a Claude AI code review for this PR label May 18, 2026
@claude
Copy link
Copy Markdown

claude Bot commented May 18, 2026

Claude Code Review — ROCm < 7.0 Support Removal

LGTM — Clean, well-structured cleanup.

Verified across all 17 changed files:

  • All TF_ROCM_VERSION conditional blocks and their pre-7.0 fallbacks are fully removed
  • No stale TF_ROCM_VERSION references remain in changed files
  • Configure-time (Python) and compile-time (#error) guards are consistent, both enforcing ROCm ≥ 7.0
  • MIOPEN_BETA_API feature flags are correctly preserved (independent of ROCm version)
  • hipBLAS type compatibility shims, FP8 fallback paths, and kernel launch workarounds are correctly removed
  • Test guards simplified appropriately (TF_HIPBLASLT without version check)

No issues found.

@github-actions github-actions Bot removed the claude-review Request a Claude AI code review for this PR label May 18, 2026
@nurmukhametov nurmukhametov force-pushed the anurmukh/remove-old-rocm-support branch from ee3064c to a745420 Compare May 19, 2026 16:05
raise ConfigError(
"{} version file not found in {}".format(component_name, candidates))


Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for this refacotring!

@nurmukhametov nurmukhametov force-pushed the anurmukh/remove-old-rocm-support branch 2 times, most recently from 38b3791 to b768e0e Compare May 20, 2026 10:12
akuegel and others added 5 commits May 26, 2026 06:14
PiperOrigin-RevId: 921423387
… prevent crash risk with AVX/SIMD instructions.

PiperOrigin-RevId: 921447706
PiperOrigin-RevId: 921452881
Reject ROCm older than 7.1 at configure and compile time, and remove
all version-gated fallback code for older releases.

- find_rocm_config.py: raise ConfigError when composite version < 70100
- rocm_config.h.tpl: emit #error when TF_ROCM_VERSION < 70100
- Strip dead #if TF_ROCM_VERSION >= X guards
- Drop ROCm <= 5.1 header path fallbacks find_rocm_config.py
- Refactor the per-component version-file lookup into a shared
  _find_version_file() helper in find_rocm_config.py
@nurmukhametov nurmukhametov force-pushed the anurmukh/remove-old-rocm-support branch from b768e0e to 4ccd307 Compare May 26, 2026 14:59
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.

6 participants