Skip to content

infra: add manual release-wheel builder (Hopper); no tag-triggered CI - #323

Draft
Andrewxu313 wants to merge 1 commit into
mainfrom
infra/release-wheel-builder
Draft

Andrewxu313 wants to merge 1 commit into
mainfrom
infra/release-wheel-builder

Conversation

@Andrewxu313

Copy link
Copy Markdown
Contributor

Description

Add scripts/build_release_wheels.sh — a manual release-wheel builder run on a Hopper node (e.g. h200-instance-3) before a release. It builds the complete reference wheel set — flash-attn 3, FlashMLA, DeepGEMM, batchgen_kernels (sm90a), batchgen — using the same pinned recipes as install_deps.sh but emitting wheels (pip wheel --no-deps), and optionally uploads them all to one GitHub release tag (--tag, via gh). This is the set install_deps.sh's auto-download fast path (#322) looks for on a single tag.

No tag-triggered GitHub Actions workflow is added: there is no stable GPU runner, so per the current decision the wheel build is run by hand before each release.

Motivation

The canonical distribution is source install; the wheel fast path (#322) only activates when the complete wheel set lives on one release tag. Today those wheels are hand-built and split across tags. This script makes producing the full, co-located set a single repeatable command on a Hopper box.

⚠️ Not yet run on hardware — verified with bash -n + --help. Needs one run on h200-instance-3 to confirm the builds (esp. the FA3 Hopper build) and the resulting wheel tags. Re-hosting FA3 (Dao-AILab, BSD-3) / FlashMLA / DeepGEMM (DeepSeek, MIT) wheels is redistribution of permissively-licensed deps (same as INSTALL.md Option C already does).

Type of Change

  • model — add/extend model support (models/** + registration seam + model kernels only)
  • kernel — add/optimize a compute kernel (batchgen_kernels/** + in-tree kernel dirs)
  • core — change scheduling/serving/runtime scaffolding (the only type that may)
  • fix — narrow bug fix (+ a regression test)
  • infra — build / CI / packaging / scripts / Docker
  • docs — documentation only

File changes

File Δ Note
scripts/build_release_wheels.sh add manual Hopper release-wheel builder (+--tag upload); mirrors install_deps.sh pins

Checklist

Builds the complete Hopper reference wheel set (flash-attn 3, FlashMLA, DeepGEMM,
batchgen_kernels sm90a, batchgen) via the same pinned recipes as install_deps.sh
but emitting wheels, and optionally uploads them to a GitHub release tag with
--tag. Intended to be run manually on a Hopper node (e.g. h200-instance-3)
before a release, since there is no stable GPU CI runner. Pairs with the
install_deps.sh wheel fast path.
@github-actions github-actions Bot added the ci:run Trigger build + GPU regression on H20 label Sep 12, 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

Development

Successfully merging this pull request may close these issues.

1 participant