Repository navigation
[Atlas Inference] Enable torch.compile for the Strix Halo Gated DeltaNet hub kernel - #49453
Merged
Merged
Conversation
Contributor
CI recapDashboard: View test results in Grafana |
5 of 6 tasks
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.
The Strix Halo (gfx1151) entry for
Qwen3_5GatedDeltaNetfrom #49127 pins a revision ofAtlas-Inference/gdnwhose layers declarecan_torch_compile = False. The kernel already traces cleanly undertorch.compile, so this bumps the pin to a rebuilt revision that sets the flag, which is needed now thatkernelsis becoming a default dependency.integrations/hub_kernels.py: the gfx1151LayerRepositoryrevision moves fromdff7b2fto13462bf(Hub branchv1).The new revision only flips
can_torch_compiletoTrueinlayers.py. It was rebuilt with the same pinned kernel-builder from the same kernel sources, still targets gfx1151 only, and produces the same outputs as the current pin on every check below.What does this PR do?
The revision bump for the gfx1151 entry in
integrations/hub_kernels.py.Verified on Strix Halo (gfx1151), bf16, torch 2.14 + ROCm 7.2,
kernels0.17.1, transformersmain:torch.compile0 graph breaks on prefill and decodefullgraph=Trueandmode="reduce-overhead"both run and match eager the kernel ops run inside the compiled graph.torch.library.opcheckpasses for every op the layer calls (schema, fake tensor, AOT dispatch with dynamic shapes), and HIP graph capture + replay is bit-identical to eager.Context: follow-up to #49127 (Strix Halo entry). The
trust_remote_code=Truenote from those PRs still applies untilAtlas-Inferenceis on thekernelstrusted-publisher allowlist.Code Agent Policy
Before submitting
kernelsa default dependency.Who can review?
@vasqu (merged #49127)