-
Notifications
You must be signed in to change notification settings - Fork 28k
ROCm: Python 3.15 wheel builds blocked by composable_kernel using removed importlib.abc.Loader.load_module() #184900
Copy link
Copy link
Closed
Labels
bot-triagedThis is a label only to be used by the auto triage botThis is a label only to be used by the auto triage botmodule: buildBuild system issuesBuild system issuesmodule: ciRelated to continuous integrationRelated to continuous integrationmodule: dependency bugProblem is not caused by us, but caused by an upstream library we useProblem is not caused by us, but caused by an upstream library we usemodule: python versionIssues related to specific Python versionsIssues related to specific Python versionsmodule: rocmAMD GPU support for PytorchAMD GPU support for PytorchtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Metadata
Metadata
Assignees
Labels
bot-triagedThis is a label only to be used by the auto triage botThis is a label only to be used by the auto triage botmodule: buildBuild system issuesBuild system issuesmodule: ciRelated to continuous integrationRelated to continuous integrationmodule: dependency bugProblem is not caused by us, but caused by an upstream library we useProblem is not caused by us, but caused by an upstream library we usemodule: python versionIssues related to specific Python versionsIssues related to specific Python versionsmodule: rocmAMD GPU support for PytorchAMD GPU support for PytorchtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
Done
StatusShow more project fields
Done
Tracking issue for the AMD/ROCm team to unblock Python 3.15 wheel builds.
Context
Python 3.15 / 3.15t support is being added across the PyTorch build matrix (umbrella: #184352). PR #184600 enabled 3.15 and 3.15t Linux manywheel builds, but skipped ROCm because the ROCm path fails to build on Python 3.15.
Root cause
composable_kernel'sck_tile/01_fmha/generate.pystill usesimportlib.abc.Loader.load_module(), which was removed in Python 3.15 (deprecated since 3.4).The skip was added in
.github/scripts/generate_binary_build_matrix.pyin #184600:Action items
composable_kernel(ck_tile/01_fmha/generate.py) to useimportlib.util.spec_from_file_location/module_from_spec(or equivalent) instead ofLoader.load_module()..github/scripts/generate_binary_build_matrix.pyand re-enable ROCm wheel builds for 3.15 / 3.15t.References
cc @malfet @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @jataylo @hongxiayang @naromero77amd @pragupta @jerrymannil @xinyazhang @pytorch/pytorch-dev-infra
Suggested labels:
module: rocm,module: ci,module: python version