Skip to content

fix: prepare v1.0.10.post5 with pool-mode failure, numa.h prereq, doc fixes - #301

Open
drunkcoding wants to merge 1 commit into
mainfrom
release-v1.0.10.post5
Open

fix: prepare v1.0.10.post5 with pool-mode failure, numa.h prereq, doc fixes#301
drunkcoding wants to merge 1 commit into
mainfrom
release-v1.0.10.post5

Conversation

@drunkcoding

Copy link
Copy Markdown
Collaborator

Description

Prepares a v1.0.10.post5 release by bundling the three still-open blockers found in the full fresh re-verification of the v1.0.10.post4 release docs, and bumping the version fallback + Option C wheel pins to post5.

main already carries the fixes for the other release-tree failures (#283#290 via #291#298, #277/#278, #279/#280), but no tag ships them and the post4 release only uploaded 2 of 5 wheels. This PR closes the remaining gaps so a single post5 tag is installable end-to-end.

Closes #299, closes #300, closes #166.

Motivation

Verified against origin/main @ d171a15:

Milestone

None.

Type of Change

⚠️ Cross-type release PR. The user asked for a single PR proposing post5 that includes these fixes, so this intentionally spans fix + infra + docs and does not fit one §2.5 allowlist. Requesting the owner's §9 override to merge as a release-prep bundle — happy to split into three PRs (fix / infra / docs) if you'd prefer.

  • model
  • kernel
  • core
  • fix — narrow bug fix (+ a regression test) ← primary
  • infra — build / CI / packaging / scripts (version bump, install_deps.sh)
  • docs — INSTALL.md / manual-installation.md / client-api.md

File changes

File Δ Note
batchgen/server/batch_scheduler.py mod #299 — use update_batch_status(BatchStatus.FAILED, …) on both pool-mode failure paths
tests/test_pool_mode_failure_status.py add #299 regression test (isolated import; no CUDA/core_engine build needed)
scripts/install_deps.sh mod #166 — fail early if numa.h is missing, with an apt hint
docs/INSTALL.md mod #166 libnuma-dev prereq; Option C wheel pins → post5 (batchgen_kernels 0.3.3+sm90a)
docs/manual-installation.md mod #166 libnuma-dev prereq
docs/client-api.md mod #300test/tests/e2e/
setup.py mod version fallback → 1.0.10.post5

Release checklist (after merge, before tagging v1.0.10.post5)

  • bash scripts/build_wheels.sh --output-dir ./wheels (Hopper, CUDA 12.8) → build all 5 wheels.
  • gh release create v1.0.10.post5 and upload all 5 wheels (post4 shipped only 2) + SHA256SUMS.
  • Sanity-run INSTALL.md Option C from the new tag.

Checklist

  • I have read the CONTRIBUTING guide and the PR Merge Policy Contract.
  • I have updated the tests (regression test added; passes locally: 2 passed).
  • I have updated the documentation.

PR Merge Policy Contract — pre-merge checklist

  • git diff --stat origin/main reviewed; every file traces to the task — no unrelated files (§3.1).
  • Exactly one Type of Change — see the cross-type note above; requesting §9 override.
  • File changes table lists every changed file and matches the diff.
  • No debug_* / check_* / scratch_* / tmp_* scripts added (§1.1).
  • No test_*.py added inside the runtime package; the test is under tests/ (§1.2, §2.1).
  • No new BATCHGEN_* env-var debug guard (§1.3).

Notes

  • Pre-existing ruff I001 import-sort warnings at batch_scheduler.py:3,318,1244 are untouched (on main already) — left out of scope per §3 diff discipline.
  • Full evidence report: RELEASE_DOC_VERIFICATION_v1.0.10.post4_rerun-2026-07-04.md (attached in the worktree).

… fixes

Bundle the three still-open release blockers ahead of a v1.0.10.post5 tag so a
single release ships them together:

- fix(#299): the pool-mode batch-failure paths called a non-existent
  storage.update_batch(), which raised AttributeError instead of failing the
  batch (leaving it stuck). Use the canonical
  update_batch_status(batch_id, BatchStatus.FAILED, error=...) and keep the
  documented capacity_exceeded / batch_failed codes in the error string. Add a
  regression test covering both paths (isolated import, no CUDA needed).
- infra(#166): install_deps.sh now fails early if libnuma headers (numa.h) are
  missing, and INSTALL.md / manual-installation.md list libnuma-dev as a
  prerequisite for the first-launch core-engine JIT.
- docs(#300): fix the MMLU-Pro example path (test/ -> tests/e2e/).

Also bump the setup.py version fallback and INSTALL.md Option C wheel pins to
1.0.10.post5 (batchgen_kernels 0.3.3+sm90a).

Signed-off-by: leyang.xue <leyang.xue@ed.ac.uk>
@github-actions github-actions Bot added the ci:run Trigger build + GPU regression on H20 label Jul 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:run Trigger build + GPU regression on H20

Projects

None yet

1 participant