Skip to content

Rename miopen-plugin to miopenprovider and use new artifacts#3361

Open
SamuelReeder wants to merge 8 commits intomainfrom
users/sareeder/miopen-plugin-move
Open

Rename miopen-plugin to miopenprovider and use new artifacts#3361
SamuelReeder wants to merge 8 commits intomainfrom
users/sareeder/miopen-plugin-move

Conversation

@SamuelReeder
Copy link
Contributor

@SamuelReeder SamuelReeder commented Feb 10, 2026

Motivation

The MIOpen plugin artifacts were renamed in rocm-libraries. This PR updates TheRock's build infrastructure to reflect the new naming, using miopenprovider as the canonical artifact and subproject name.

Technical Details

  • Rename artifact from miopen-pluginmiopenprovider in BUILD_TOPOLOGY.toml
  • Rename CMake subproject declaration and therock_provide_artifact in ml-libs/CMakeLists.txt
  • Rename artifact descriptor (artifact-miopenprovider.toml) and post-hook (post_hook_miopenprovider.cmake)
  • Update test matrix, install script, and build time analyzer to use the new name
  • Rename test_miopen_plugin.pytest_miopenprovider.py
  • Update README.md CMake flag reference to THEROCK_ENABLE_MIOPENPROVIDER

Test Plan

  • CI build & test with miopenprovider target
  • Verify artifact packaging produces miopenprovider artifacts

Submission Checklist

Abstract the MIOpen provider artifact name to miopenprovider across
TheRock build infrastructure. The underlying rocm-libraries targets
retain their original miopen_plugin naming internally.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@SamuelReeder SamuelReeder force-pushed the users/sareeder/miopen-plugin-move branch from 1443658 to cc18b17 Compare February 11, 2026 19:02
@SamuelReeder SamuelReeder marked this pull request as ready for review February 11, 2026 23:42
[components.test."ml-libs/miopenprovider/stage"]
include = [
"bin/miopen_plugin*_tests",
"bin/miopen_plugin/CTestTestfile.cmake",

Choose a reason for hiding this comment

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

Suggested change
"bin/miopen_plugin/CTestTestfile.cmake",
"bin/miopenprovider/CTestTestfile.cmake",

If possible.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We decided to leave the artifacts as miopen_plugin, but the umbrella naming as miopenprovider. It's one word in TheRock so we can avoid switching between underscores and dashes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's a little confusing, but this is how we've named it in rocm-libraries too.

Copy link
Contributor Author

@SamuelReeder SamuelReeder Feb 12, 2026

Choose a reason for hiding this comment

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

Huh, it's also problematic that hipblaslt uses our old naming everywhere (e.g. HIPBLASLT_PLUGIN, hipBLASlt_plugin).

| `-DTHEROCK_ENABLE_SPARSE=ON` | Enables the SPARSE libraries |
| `-DTHEROCK_ENABLE_MIOPEN=ON` | Enables MIOpen |
| `-DTHEROCK_ENABLE_MIOPEN_PLUGIN=ON` | Enables MIOpen_plugin |
| `-DTHEROCK_ENABLE_MIOPENPROVIDER=ON` | Enables MIOpen provider |
Copy link

@CMiservaAMD CMiservaAMD Feb 12, 2026

Choose a reason for hiding this comment

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

This is the part I'm mildly concerned about where it becomes ambiguous which library the plugin is for. To remove the chance for confusion, consider:

Suggested change
| `-DTHEROCK_ENABLE_MIOPENPROVIDER=ON` | Enables MIOpen provider |
| `-DTHEROCK_ENABLE_HIPDNN_MIOPENPROVIDER=ON` | Enables hipDNN MIOpen-provider plug-in.

I'm ambivalent on whether or not this define should be grouped with MIOpen vs. hipdnn though, but I'm leaning towards having this define described with the hipDNN options.

"ctest",
"--test-dir",
f"{THEROCK_BIN_DIR}/miopen_legacy_plugin",
f"{THEROCK_BIN_DIR}/miopen_plugin",

Choose a reason for hiding this comment

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

Do we have to make another change in rocm-libraries to make this

Suggested change
f"{THEROCK_BIN_DIR}/miopen_plugin",
f"{THEROCK_BIN_DIR}/miopenprovider",

And in a bit of hindisght, maybe this might be better moving forward:

Suggested change
f"{THEROCK_BIN_DIR}/miopen_plugin",
f"{THEROCK_BIN_DIR}/dnnproviders/miopenprovider",

AFAI.

Copy link
Contributor Author

@SamuelReeder SamuelReeder Feb 12, 2026

Choose a reason for hiding this comment

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

The CTest folder might make sense to be named miopenprovider, but generally decided on having the artifacts named as miopen_plugin.

We would have to make another rocm-libraries change, so I think we're left with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: TODO

Development

Successfully merging this pull request may close these issues.

2 participants