Repository navigation
feat(setup): reuse prebuilt wheel hipDNN, MIOpen, and hipBLASLt plugins by default - #148
Draft
SamuelReeder wants to merge 1 commit into
Draft
SamuelReeder wants to merge 1 commit into
SamuelReeder wants to merge 1 commit into
Conversation
SamuelReeder
force-pushed
the
users/sareeder/hybrid-prebuilt-hipdnn
branch
from
November 24, 2026 17:41
f68d4db to
5f9b399
Compare
SamuelReeder
force-pushed
the
users/sareeder/hybrid-prebuilt-hipdnn
branch
from
November 24, 2026 17:47
5f9b399 to
39e6790
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to #147 (
rocm-pin.json): reuse the prebuilthipDNN,miopen_plugin, andhipblaslt_pluginbinaries already shipped inside the pinned ROCm SDK wheels (rocm-sdk-libraries+rocm-sdk-devel) instead of rebuilding them from source on every setup.Behavior
hipdnn_{frontend,backend,data_sdk,flatbuffers_sdk,plugin_sdk}Config.cmakeininstall_prefixortoolchain_prefix) pluslibhipdnn_backend.so,libmiopen_plugin.so, andlibhipblaslt_plugin.soininstall_prefix. When present androcm-libraries/matches the pinned commit with no local edits underprojects/hipdnn,dnn-providers/miopen-provider, ordnn-providers/hipblaslt-provider, configuresrocm-librarieswith-DROCM_LIBS_ENABLE_COMPONENTS=hip-kernel-provideronly (for rocKE + kernel ingestor, which TheRock builds OFF) and builds thehipdnn_frontendPython bindings against the wheel's hipDNN SDK.hip_kernel_provider.dllis also present ininstall_prefixand no--cmake-argis passed, skips the C++ superbuild completely and builds only thehipdnn_frontendPython bindings.hipdnn;miopen-provider;hipblaslt-provider;hip-kernel-provider) whenever:--build-from-sourceis passed (rejected alongside--reuse-artifacts),--rocm-libraries-ref <sha>is passed,rocm-libraries/checkout is at a different commit than the pin or has local edits underprojects/hipdnn,dnn-providers/miopen-provider, ordnn-providers/hipblaslt-provider, or--reuse-artifactscompatibility: Checks bothinstall_prefixandtoolchain_prefixfor hipDNN CMake configs so--reuse-artifactsworks after a hybrid setup (where CMake configs remain inrocm-sdk-devel).Verification
uvx black==25.12.0 --check setup_env.py tests/unit/test_setup_env.py— clean.pytest tests/unit/test_setup_env.py tests/unit/test_bump_rocm_pin.py -q— 176 passed, 1 skipped (including 10 new unit tests for Linux/Windows hybrid mode,--build-from-source,--rocm-libraries-ref, local-edit fallback, missing-plugin fallback, and--reuse-artifactssplit-prefix lookup).check-deserialize+gpu-tests (gfx950, full suite)).