From 059b9ac379888a326a70efc1c6ef7e8f1bfc3fec Mon Sep 17 00:00:00 2001 From: agent Date: Sun, 8 Nov 2026 18:33:01 -0400 Subject: [PATCH] licensing: drop the duplicated notice from the 13 quiet files (refs #1547) 20 of the 720 files carrying the Apache notice carried it more than once. This removes the genuine duplicates from the 13 whose last commit is 2026-09-27..11-05, i.e. the ones no lane is editing: two deleted comment lines per file, nothing else. onnx/build_ort.sh, os/v3/puppy/catalogue-manifest.py, os/v3/puppy/shell-login.sh, os/v3/puppy/embed/etc/sysctl.d/60-1bit-console.conf, scripts/check_repack_config.py, tools/flm_head_pb16i.py, and seven under tools/npu-arena/ (TOOLCHAIN.lock.example, ceiling.sh, lib/env.sh, make_probe.sh, make_task.sh, oracle.sh, runner/build.sh) The edit is a script that refuses anything it does not recognise rather than a sed, and it earned that: tools/npu-arena/make_task.sh holds THREE copyright lines because it embeds a second script (a `#!/bin/bash` at line 55 with its own notice), so only the pair after the Apache prose was removed -- the embedded script's header and both shebangs survive. tools/npu_leaderboard.py was in the original list and is NOT swept: its second occurrence is uncommented inside the module docstring, the same load-bearing class as scripts/mk-kernel-packages.sh (a heredoc emitting a header) and tests/copyright_check_untracked_test.py (the NOTICE string a test asserts against). Those three are never touched, and #1547 says why. Checks: every change is a removed `#` comment line (git diff -U0 shows zero additions); `bash -n` on the 10 shell files and `py_compile` on the 3 python files; `tools/copyright.py --check` rc 0; the count of files carrying the notice twice drops 20 -> 8, and those 8 are the 4 live files (touched today: tools/fconst19_measure.py, tests/fconst19_measure_test.py, onnx/tests/ort_run_generic.sh, tools/amd-rai-sweep/README.md), the 3 load-bearing ones, and make_task.sh where two occurrences are now correct. Does not close #1547: the four live files follow once their editors are quiet, and a uniqueness rule in has_notice() can only land after that, since it would otherwise red 20 files on main at once. --- onnx/build_ort.sh | 2 -- os/v3/puppy/catalogue-manifest.py | 2 -- os/v3/puppy/embed/etc/sysctl.d/60-1bit-console.conf | 2 -- os/v3/puppy/shell-login.sh | 2 -- scripts/check_repack_config.py | 2 -- tools/flm_head_pb16i.py | 2 -- tools/npu-arena/TOOLCHAIN.lock.example | 2 -- tools/npu-arena/ceiling.sh | 2 -- tools/npu-arena/lib/env.sh | 2 -- tools/npu-arena/make_probe.sh | 2 -- tools/npu-arena/make_task.sh | 2 -- tools/npu-arena/oracle.sh | 2 -- tools/npu-arena/runner/build.sh | 2 -- 13 files changed, 26 deletions(-) diff --git a/onnx/build_ort.sh b/onnx/build_ort.sh index 7d6c58263..24c8e7d16 100755 --- a/onnx/build_ort.sh +++ b/onnx/build_ort.sh @@ -13,8 +13,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2026 bong-water-water-bong -# SPDX-License-Identifier: Apache-2.0 # # Build ONNX Runtime from source and install it to a prefix we own, so onnx/ links against our # libonnxruntime instead of the distro's. ORT is MIT: patching it and shipping the result closed diff --git a/os/v3/puppy/catalogue-manifest.py b/os/v3/puppy/catalogue-manifest.py index 19341993d..c46c0588b 100644 --- a/os/v3/puppy/catalogue-manifest.py +++ b/os/v3/puppy/catalogue-manifest.py @@ -13,8 +13,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2026 bong-water-water-bong -# SPDX-License-Identifier: Apache-2.0 # # catalogue-manifest.py # diff --git a/os/v3/puppy/embed/etc/sysctl.d/60-1bit-console.conf b/os/v3/puppy/embed/etc/sysctl.d/60-1bit-console.conf index 9c8f740ca..00d67c233 100644 --- a/os/v3/puppy/embed/etc/sysctl.d/60-1bit-console.conf +++ b/os/v3/puppy/embed/etc/sysctl.d/60-1bit-console.conf @@ -12,8 +12,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2026 bong-water-water-bong -# SPDX-License-Identifier: Apache-2.0 # # Cycle 26, item 1: the console belongs to the console. Nothing may print onto tty1 while the console TUI is on it. # diff --git a/os/v3/puppy/shell-login.sh b/os/v3/puppy/shell-login.sh index fa76a9d6c..29c0267a6 100644 --- a/os/v3/puppy/shell-login.sh +++ b/os/v3/puppy/shell-login.sh @@ -13,8 +13,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2026 bong-water-water-bong -# SPDX-License-Identifier: Apache-2.0 # # shell-login.sh # diff --git a/scripts/check_repack_config.py b/scripts/check_repack_config.py index f1d15a5cb..559ad285a 100755 --- a/scripts/check_repack_config.py +++ b/scripts/check_repack_config.py @@ -13,8 +13,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2026 bong-water-water-bong -# SPDX-License-Identifier: Apache-2.0 # # check_repack_config.py -- oracle-free repack validation. # diff --git a/tools/flm_head_pb16i.py b/tools/flm_head_pb16i.py index 9b95902ea..31f473556 100644 --- a/tools/flm_head_pb16i.py +++ b/tools/flm_head_pb16i.py @@ -13,8 +13,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2026 bong-water-water-bong -# SPDX-License-Identifier: Apache-2.0 # # The MTP head in our "pb16i" form: codes x per-(32 K, column) magnitudes, no per-group bias. # diff --git a/tools/npu-arena/TOOLCHAIN.lock.example b/tools/npu-arena/TOOLCHAIN.lock.example index 022e959a2..656c831c0 100644 --- a/tools/npu-arena/TOOLCHAIN.lock.example +++ b/tools/npu-arena/TOOLCHAIN.lock.example @@ -12,8 +12,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2026 bong-water-water-bong -# SPDX-License-Identifier: Apache-2.0 # # TOOLCHAIN.lock.example -- copy to TOOLCHAIN.lock (git-ignored) and fill in for # your box. The arena resolves every path from the environment first, then from diff --git a/tools/npu-arena/ceiling.sh b/tools/npu-arena/ceiling.sh index 7b8d7a9e2..b252a2bdf 100755 --- a/tools/npu-arena/ceiling.sh +++ b/tools/npu-arena/ceiling.sh @@ -13,8 +13,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2026 bong-water-water-bong -# SPDX-License-Identifier: Apache-2.0 # # ceiling.sh -- phase 1 of the 2026-10-30 14:58 addendum: measure the attainable # weight-stream bandwidth for EACH phase's tap/tile geometry with the matrix unit diff --git a/tools/npu-arena/lib/env.sh b/tools/npu-arena/lib/env.sh index 53bcfe02a..fdb7cb36c 100755 --- a/tools/npu-arena/lib/env.sh +++ b/tools/npu-arena/lib/env.sh @@ -12,8 +12,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2026 bong-water-water-bong -# SPDX-License-Identifier: Apache-2.0 # # lib/env.sh -- sourced by every arena build/run. Resolves the toolchain from the # environment (or from a local TOOLCHAIN.lock, which is deliberately NOT in the diff --git a/tools/npu-arena/make_probe.sh b/tools/npu-arena/make_probe.sh index 92bc628c3..a1207b6a6 100755 --- a/tools/npu-arena/make_probe.sh +++ b/tools/npu-arena/make_probe.sh @@ -13,8 +13,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2026 bong-water-water-bong -# SPDX-License-Identifier: Apache-2.0 # # make_probe.sh [ ...] -- build the DMA-ceiling probe submissions for # a phase: the phase's own tap/tile geometry with the matrix unit replaced by diff --git a/tools/npu-arena/make_task.sh b/tools/npu-arena/make_task.sh index 5215576d9..aafad6027 100755 --- a/tools/npu-arena/make_task.sh +++ b/tools/npu-arena/make_task.sh @@ -13,8 +13,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2026 bong-water-water-bong -# SPDX-License-Identifier: Apache-2.0 # # make_task.sh -- create or refresh a task bundle for one phase. # make_task.sh GU|D|QKV|O|Z diff --git a/tools/npu-arena/oracle.sh b/tools/npu-arena/oracle.sh index 02c42268d..739782952 100755 --- a/tools/npu-arena/oracle.sh +++ b/tools/npu-arena/oracle.sh @@ -13,8 +13,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2026 bong-water-water-bong -# SPDX-License-Identifier: Apache-2.0 # # oracle.sh -- score ONE submission for ONE phase. # diff --git a/tools/npu-arena/runner/build.sh b/tools/npu-arena/runner/build.sh index 7a6594edf..1a4411f01 100755 --- a/tools/npu-arena/runner/build.sh +++ b/tools/npu-arena/runner/build.sh @@ -13,8 +13,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2026 bong-water-water-bong -# SPDX-License-Identifier: Apache-2.0 # # runner/build.sh -- build the arena's host-side on-device scorer. # Links the engine's own NPU runtime (pinned in TOOLCHAIN.lock); no XRT.