Skip to content

chore(inkling2): remove the unused Inkling2/decode kernel unit; fix devkit-stage on an empty kernel plan - #1143

Merged
zaneni6 merged 1 commit into
mainfrom
chore/inkling2-decode-unit
Nov 25, 2026
Merged

zaneni6 merged 1 commit into
mainfrom
chore/inkling2-decode-unit

Conversation

@tawei-amd

Copy link
Copy Markdown
Collaborator

Split out of #1142.

What it removes: flm-dev-kit/FLM_Xclbin/Inkling2/decode and its build_units.json entry. This unit built the old hybrid decode kernel. Nothing assigns or loads it now: the shipped Inkling decode.xclbin comes from Inkling2/decode_switches, which is unchanged. #1142 removes the host code that used to load the old kernel.

CI fix: this is the first change whose kernel plan is empty. The xclbin area is selected, but there is nothing to build.

The fix has two parts:

  • devkit-xclbins.yml now exports the plan's empty output.
  • devkit-stage downloads the kernels only when the plan wasn't empty.

Why a separate PR: the fix touches SWAP_CI_PATHS, so it can't share a PR with a verified swap. This PR builds no engine or kernel, so it needs no swap.

Checks run locally: devkit_check reports ok. The unit tests pass for changes, the xclbin plan, stage, swap, bench, the image hash and check.

🤖 Generated with Claude Code

…n empty kernel plan

The Inkling2/decode unit built the old hybrid decode kernel, which nothing
assigns or loads since the fused decode (Inkling2/decode_switches) replaced
it. Removing it is the first change whose kernel plan is empty: the xclbin
area is selected, devkit-xclbins succeeds with build and assemble skipped,
and devkit-stage then failed downloading an artifact that was never made.
devkit-xclbins.yml now exports the plan's empty output, and devkit-stage
downloads the kernels only when the plan was not empty.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Security scan found no critical or high findings on lines changed by this pull request (coverage incomplete)

Coverage was incomplete:

  • Duplicate codeql-report-python artifact was ignored.
  • Duplicate codeql-report-actions artifact was ignored.

View the security scan run for complete reports.

“New” means the finding is located in a changed file on an added or modified line; it is not a base-versus-head findings delta.

@tawei-amd
tawei-amd marked this pull request as ready for review November 25, 2026 18:35
@tawei-amd
tawei-amd requested a review from zaneni6 November 25, 2026 18:36
@zaneni6
zaneni6 merged commit ad430d9 into main Nov 25, 2026
100 of 104 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants