Skip to content

Remove internal-repository references from tracked files; fail CI on new ones - #1086

Merged
zaneni6 merged 3 commits into
mainfrom
chore/remove-internal-refs
Nov 20, 2026
Merged

zaneni6 merged 3 commits into
mainfrom
chore/remove-internal-refs

Conversation

@zaneni6

@zaneni6 zaneni6 commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator

Removes references to the internal development repository (names, PR/commit/branch refs, ticket IDs), NPU crash codes and personal /scratch/<user> paths from tracked files, and adds a check so they don't come back.

Changes

  • CI scripts and data: provenance clauses are dropped or reworded. The _doc strings in engines.json and build_units.json are reworded. Only comment lines change in toolchain.lock and docker/aie-build.pdi.sha256; no KEY=VALUE or hash line changes.
  • Dev-kit sources and notes: internal commit and PR references are removed. Measured results in the Gemma4 notes are unchanged.
  • NPU crash wording: replaced with "repeated hangs can make the machine unresponsive (reboot to recover)". The guidance itself is kept.
  • Test helpers: src/test/**/activate.sh and src/update_qwen35.sh now find the dev kit relative to the script, and FLM_DEVKIT_DIR overrides it.
  • src/home_install.sh: no longer writes another user's FLM_MODEL_PATH.
  • The bench files from CI: dev-kit perf and accuracy benches (P3) #1084: their provenance lines are dropped too.
  • New check_internal_refs.py and its tests: it runs in the always-on changes job and fails on these patterns in any tracked text file. "IRON" as the mlir-aie Python API is allowed.

For review

  • Kernel image rebuild: the image tag hashes the whole of toolchain.lock plus the Dockerfile, so even this comment-only change rebuilds and republishes aie-build under a new tag.
  • THIRD_PARTY_NOTICES.txt entry 40 (OpenBMB M-RoPE): "whether this reimplementation needs attribution is pending Legal review" was dropped. It now reads "Listed for attribution." Please confirm this wording.
  • Left as is: a few "IRON" mentions in qwen3_8mtp_npu (README, SECOND_DISPATCH_TIMEOUT.md, mtp_sequence.cpp, attn_weights.hpp). They most likely mean the kernel design or host harness, not the repository.

Checks run: unit tests, devkit_check.py, check_internal_refs.py and actionlint pass; bash -n passes on every edited shell script.

🤖 Generated with Claude Code

zaneni6 and others added 3 commits November 20, 2026 11:56
Reword comments, docs and lab notes that named the private development
tree, its pull requests, commits, branches and CI, internal ticket IDs
and NPU crash codes; keep the engineering guidance in generic terms
(repeated hangs can make the machine unresponsive; reboot to recover).

Point the src/test activate scripts, src/update_qwen35.sh and the test
Makefiles at the dev kit in this repository (flm-dev-kit/, overridable
with FLM_DEVKIT_DIR) instead of personal /scratch paths, and stop
home_install.sh from baking one user's FLM_MODEL_PATH into flm_env.sh.

toolchain.lock and aie-build.pdi.sha256 change in comments only; the
toolchain hash covers the whole file, so the aie-build image is rebuilt
and republished on the next main push.

Co-Authored-By: Claude <noreply@anthropic.com>
check_internal_refs.py scans every tracked text file for the names of
the private development tree, internal ticket IDs, personal /scratch
paths and NPU crash details, with a narrow pattern list that leaves the
public mlir-aie "IRON" API alone. The changes job runs it on every
event; its unit tests run with the other CI script tests.

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

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

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.

@zaneni6
zaneni6 merged commit 929b1c4 into main Nov 20, 2026
81 of 83 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.

1 participant