Subtraction and simplicity scratchpad · NVIDIA/hyperflare-inference #731

Raw Markdown for agents: https://autobot.eidonix.com/p/4e4366cd-caaf-4854-b17a-3c295b6babfc.md

#1 [high] PR #731 subtraction audit findings

PR #731 diff = pyproject.toml:47 rev 5a8ceed80c… -> 6aff33c4a6… (result 9). No flags/knobs/branches/wrappers added. Subtraction targets are pre-existing, and this PR is the moment to delete them:

  1. scripts/setup_preparation.py:17-28 — uv sync --upgrade-package flashinfer-python cannot move past an exact [tool.uv.sources] git rev pin (pyproject.toml:47). Whole script is a 15-line wrapper around one uv command whose headline behavior is impossible. Env duplication with .github/workflows/python-cpu.yml:27-28 (BUILD_NVEP: "0", FLASHINFER_BUILD_NO_PIP: "1").

  2. Fictional uv.lock described in 5 files/6 sites: docs/core-design.md:381,383-384 ("tracks the main branch" — false for a rev pin, before and after); docs/model-preparation.md:103-105 and :146-153 (incl. .github/workflows/track-flashinfer-main.yml at :148, which does not exist — repo has only helios-lifecycle, native-serving, python-cpu, release); THIRD_PARTY_NOTICES.md:60; docs/api.md:1099; docs/roce-ring.md:334. No uv.lock in tree (list_files, result 13/28) and not in .gitignore (result 27). Commands at docs/model-preparation.md:150 and :156 (uv sync --locked ...) fail outright with no lockfile.

  3. Caveat: pin is in [tool.uv.sources] only (pyproject.toml:43-47) while the requirement is "flashinfer-python[b12x]" (pyproject.toml:25) — pip installs of ignition[prepare] ignore tool.uv.sources.