ci(hipdnn): validate Python wheel in superbuild#9364
Open
tvy-amd wants to merge 31 commits into
Open
Conversation
3 tasks
tvy-amd
added a commit
that referenced
this pull request
Jul 14, 2026
## Summary Adds the standalone hipDNN Python frontend wheel package and build wiring. The CI workflow changes that validate this package are split into stacked PR #9364. JIRA ID : ALMIOPEN-2286 ## Risk Assessment Risk level 3. This changes hipDNN Python packaging/build wiring and moves the frontend bindings into a standalone CMake project. It does not change kernels, provider dispatch, or hipDNN runtime behavior, but it changes how the Python frontend wheel is assembled and consumed. ## ASIC Coverage No full multi-arch sweep required. The change is packaging/build wiring for the Python frontend; runtime GPU coverage is provided by existing Python frontend tests and the stacked superbuild CI workflow in #9364 on Linux `gfx94X-dcgpu` / `gfx942` and Windows `gfx1151`. ## Testing Summary - Local Python syntax/help checks passed for the wheel packer, package initializer, and import-alias regression test. - End-to-end superbuild wheel validation is split into stacked PR #9364. ## Testing Checklist - [x] Python syntax/help checks - `python -m py_compile projects/hipdnn/python/frontend_wheel_package/pack_frontend_wheel.py projects/hipdnn/python/frontend_wheel_package/src/hipdnn_frontend/__init__.py projects/hipdnn/python/frontend_wheel_package/tests/test_import_alias.py && python projects/hipdnn/python/frontend_wheel_package/pack_frontend_wheel.py --help` - Status: Passed - [ ] Stacked superbuild CI PR - #9364 - Status: Pending - [ ] PR CI - GitHub PR checks - Status: Pending ## Technical Changes - Splits Python frontend bindings into a standalone CMake project under `projects/hipdnn/python/frontend_bindings` that consumes installed `hipdnn_frontend`, `hipdnn_backend`, HIP, Python, and nanobind packages. - Adds `frontend_wheel_package` with wheel metadata, runtime package initializer, wheel packing script, relocated samples/tests, and an import-alias regression test. - Adds `download_third_party_deps.py` so CI and local wheel builds can stage pinned third-party dependency sources without relying on CMake network fetches. - Updates hipDNN Python documentation and removes the old in-tree Python CMake/pyproject wiring so packaging is owned by the standalone wheel path. - Updates the dnn-benchmark setup scripts to build/package the standalone bindings and wire the staged wheel package into the ROCm wheel environment.
Base automatically changed from
users/tvy/hipdnn-python-wheel-package
to
develop
July 14, 2026 07:50
✅ All Checks Passed — Ready for Review
📖 Need help? See the Policy FAQ for details on every check and how to fix failures. |
|
🎉 All checks passed! This PR is ready for review. |
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
Adds Python frontend wheel validation to the existing hipDNN superbuild CI on Linux and Windows. This PR is stacked on #9211 because the workflow uses the packaging layout and helper scripts introduced there.
JIRA ID : ALMIOPEN-2286
Risk Assessment
Risk level 2. This is workflow-only CI wiring: it does not change hipDNN runtime behavior, kernels, provider dispatch, or public API. The main risk is CI reliability/runtime because the superbuild jobs now also configure, pack, install, and test the Python frontend wheel.
ASIC Coverage
No full multi-arch sweep required. The change is CI workflow wiring only; the relevant coverage is the hipDNN Superbuild CI jobs on their configured ROCm wheel targets: Linux
gfx94X-dcgpu/gfx942and Windowsgfx1151.Testing Summary
.github/workflows/hipdnn-superbuild-ci.yml..github/workflows/hipdnn-superbuild-ci.yml.Testing Checklist
git diff --name-status origin/users/tvy/hipdnn-python-wheel-package...HEAD- Status: Passedgit diff --name-only origin/develop...origin/users/tvy/hipdnn-python-wheel-package -- .github/workflows/hipdnn-superbuild-ci.yml- Status: Passedpython -c "from pathlib import Path; import yaml; path=Path('.github/workflows/hipdnn-superbuild-ci.yml'); data=yaml.safe_load(path.read_text(encoding='utf-8')); assert data['name']=='hipDNN Superbuild CI'; assert 'hipdnn-windows-superbuild' in data['jobs']; assert 'hipdnn-linux-superbuild' in data['jobs']; print(f'parsed {path}')"- Status: Passedgfx94X-dcgpu/gfx942- Status: Pendinggfx1151- Status: PendingTechnical Changes
.github/workflows/hipdnn-superbuild-ci.ymlchanges.actions: readpermission required by the workflow checks.