Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Add ROCm support for AMD Instinct GPUs

已关闭
#9,152 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@nilapate 已经在做这个了。

开始于 2026年10月5日。

  • #9153 来自 @nilapate —— 未关闭

评估

难度
5/5
预计耗时
一周以上
新手友好度
20/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
cpp, docker, python

调研方向

Start by reading the build logic that detects the GPU toolkit and the existing Dockerfile; the issue does not name their paths. The open pull request #9153 already addresses this work, so coordinate there rather than starting a separate implementation. Done would mean ROCm toolkit detection builds the C++ extensions and an official ROCm container recipe is provided.

由索引模型根据 Issue 内容生成。

描述

Is your feature request related to a problem?

MONAI doesn't run on AMD Instinct GPUs out of the box.

The bulk of the library is already portable and needs no changes, with the following exceptions:

  • The compiled C++ extensions are silently skipped. The build detects the toolkit by a vendor-specific path that isn't set on ROCm, so it concludes there's no GPU toolchain available. The build then reports success with the extensions missing, and the failure only surfaces much later as a missing-op error at runtime.
  • There's no ROCm container recipe. The existing Dockerfile is built on a vendor-specific base image, so there's no supported starting point on this platform.

Describe the solution you'd like

First-class ROCm support for AMD Instinct GPUs:

  • Toolkit detection that recognises a ROCm installation, so the compiled extensions build instead of being skipped.
  • An official ROCm container recipe alongside the existing Dockerfile.

We'd like this to be minimal and non-invasive — no abstraction layer and no per-vendor branching in model or transform code.

Describe alternatives you've considered

N/A

Additional context

Target platform: AMD Instinct MI300X / MI325X (gfx942) and MI355X (gfx950), ROCm 10.0, Ubuntu 24.04, Python 3.12.

主要语言
Python
星标
8.7k
派生
1.6k
平均合并
3 天 10 小时
30 天内合并 PR
13

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Project-MONAI/MONAI 的其他 Issue

查看 Project-MONAI/MONAI 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。