Skip to content

[ROCm] Update CK submodule for gfx90c support - #191245

Closed
alugorey wants to merge 1 commit into
pytorch:mainfrom
alugorey:update_ck_90c
Closed

alugorey wants to merge 1 commit into
pytorch:mainfrom
alugorey:update_ck_90c

Conversation

@alugorey

@alugorey alugorey commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

Bumps third_party/composable_kernel from 2c0b7cb to 5a74dec to pick up gfx90c support.

Root cause

gfx90c previously failed to compile CK. In include/ck/ck.hpp, __gfx9__ is only defined for gfx908, gfx90a, gfx942, gfx950 and gfx9_4_generic, so gfx90c matched no branch in either the CK_BUFFER_RESOURCE_3RD_DWORD chain or the FMA instruction chain. That left CK_BUFFER_RESOURCE_3RD_DWORD undefined and selected no FMA macro.

The upstream fix adds __gfx90c__ to two existing branches: the gfx803/gfx900/gfx906 buffer-resource branch (0x00020000) and the gfx803/gfx900/gfx101 branch that defines CK_USE_AMD_V_MAC_F32. gfx90c correctly continues to get no MFMA, since CK_USE_AMD_MFMA stays gated on __gfx9__.

Scope of the bump

The gfx90c fix itself is two lines in include/ck/ck.hpp, but the pin advances 65 commits over 473 files (+48,717 / -101,700). Of those, 113 files under include/ck_tile and 22 under include/ck are headers PyTorch compiles into ck_gemm and the CK SDPA backend; the remainder is CK dispatcher, tile_engine, tests and docs that PyTorch does not consume.

cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @jataylo @hongxiayang @naromero77amd @pragupta @jerrymannil @xinyazhang

@pytorch-bot

pytorch-bot Bot commented Jul 27, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/191245

Note: Links to docs will display an error until the docs builds have been completed.

❌ 6 New Failures, 4 Unclassified Failures

As of commit be09f38 with merge base 4fbc0c5 (image):

NEW FAILURES - The following jobs have failed:

  • docs-build / linux-jammy-py3.10-gcc11 / build (gh)
    Executing the custom container implementation failed. Please contact your self hosted runner administrator.

    AI verdict: AI verdict: infra issue

    The failure is a container infrastructure error ("Executing the custom container implementation failed. Please contact your self hosted runner administrator."), not a build or test failure. The commit only updates a ROCm third-party submodule pointer, which cannot cause container execution failures.

    Full reasoning on HUD →

  • pull / dynamo-cpython-build / build (gh)
    Executing the custom container implementation failed. Please contact your self hosted runner administrator.

  • pull / linux-jammy-py3.10-gcc11 / build (gh)
    Executing the custom container implementation failed. Please contact your self hosted runner administrator.

    AI verdict: AI verdict: infra issue

    The failure is "Executing the custom container implementation failed. Please contact your self hosted runner administrator." — a container runtime infrastructure error on the self-hosted runner, unrelated to the code change (which only updates a ROCm submodule pointer).

    Full reasoning on HUD →

  • pull / linux-jammy-py3.10-gcc11-mobile-lightweight-dispatch-build / build (gh)
    Executing the custom container implementation failed. Please contact your self hosted runner administrator.

    AI verdict: AI verdict: infra issue

    The failure is "Executing the custom container implementation failed. Please contact your self hosted runner administrator." — a CI runner/container infrastructure error that prevented the job from even starting. The commit only updates a ROCm submodule pointer, unrelated to mobile-lightweight-dispatch builds.

    Full reasoning on HUD →

  • pull / linux-jammy-py3.10-gcc11-no-ops / build (gh)
    Executing the custom container implementation failed. Please contact your self hosted runner administrator.

    AI verdict: AI verdict: infra issue

    The failure is a GitHub Actions runner infrastructure error ("Executing the custom container implementation failed") unrelated to the commit, which only updates a ROCm submodule pointer. The same job succeeds on trunk commits at the same time.

    Full reasoning on HUD →

  • trunk / linux-jammy-rocm-py3.10-mi350 / test (inductor, 1, 2, linux.rocm.gpu.gfx950.1) (gh)
    RuntimeError: test_ops 4/11 failed!

UNCLASSIFIED FAILURES - DrCI could not classify the following jobs because the workflow did not run on the merge base. The failures may be pre-existing on trunk or introduced by this PR:

  • pull / linux-jammy-py3.10-clang21 / build (gh) (this job did not run on the merge base, so DrCI cannot tell whether the failure is pre-existing)
    Executing the custom container implementation failed. Please contact your self hosted runner administrator.

    AI verdict: AI verdict: infra issue

    The failure is a container runtime infrastructure error ("Executing the custom container implementation failed"), unrelated to the code change which only updates a ROCm third-party submodule pointer.

    Full reasoning on HUD →

  • pull / linux-jammy-py3.10-clang21-asan / build (gh) (this job did not run on the merge base, so DrCI cannot tell whether the failure is pre-existing)
    Executing the custom container implementation failed. Please contact your self hosted runner administrator.

    AI verdict: AI verdict: infra issue

    The failure is a Docker/container infrastructure error ("Executing the custom container implementation failed. Please contact your self hosted runner administrator."), not a build or test failure. The suspect commit only updates a ROCm submodule pointer, which cannot cause container execution failures.

    Full reasoning on HUD →

  • pull / linux-jammy-py3.14-clang21 / build (gh) (this job did not run on the merge base, so DrCI cannot tell whether the failure is pre-existing)
    Executing the custom container implementation failed. Please contact your self hosted runner administrator.

    AI verdict: AI verdict: infra issue

    The failure is "Executing the custom container implementation failed. Please contact your self hosted runner administrator." — a CI infrastructure error where the Docker container failed to start on the self-hosted runner. This has nothing to do with the code change (a ROCm submodule pointer update).

    Full reasoning on HUD →

  • pull / linux-jammy-py3.14t-clang21 / build (gh) (this job did not run on the merge base, so DrCI cannot tell whether the failure is pre-existing)
    Executing the custom container implementation failed. Please contact your self hosted runner administrator.

    AI verdict: AI verdict: infra issue

    The failure is a GitHub Actions self-hosted runner infrastructure error ("Executing the custom container implementation failed"), not caused by code changes. The commit only updates a ROCm submodule pointer, completely unrelated to this clang21 build job.

    Full reasoning on HUD →

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot Bot added module: rocm AMD GPU support for Pytorch topic: not user facing topic category labels Jul 27, 2026
@jithunnair-amd jithunnair-amd added ciflow/rocm-mi300 Trigger "default" config CI on ROCm MI300 ciflow/trunk Trigger trunk jobs on your pull request ciflow/periodic-rocm-mi300 Trigger "distributed" config CI on ROCm MI300/MI325 ciflow/inductor-rocm-mi300 Trigger "inductor" config CI on ROCm MI300/MI325 labels Jul 27, 2026
@drisspg drisspg added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Jul 29, 2026
@drisspg
drisspg requested a review from jeffdaily July 29, 2026 04:26
@jeffdaily jeffdaily changed the title [ROCm] - Update CK for gfx90c support [ROCm] Update CK submodule for gfx90c support Aug 3, 2026
@jeffdaily

Copy link
Copy Markdown
Collaborator

@pytorchbot merge -i

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

Labels

ciflow/inductor-rocm-mi300 Trigger "inductor" config CI on ROCm MI300/MI325 ciflow/periodic-rocm-mi300 Trigger "distributed" config CI on ROCm MI300/MI325 ciflow/rocm-mi300 Trigger "default" config CI on ROCm MI300 ciflow/trunk Trigger trunk jobs on your pull request Merged module: rocm AMD GPU support for Pytorch open source topic: not user facing topic category triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants