ci: automate nightly and stable wheel releases - #465
Open
yinlin09 wants to merge 1 commit into
Open
Conversation
yinlin09
force-pushed
the
yinlin/nightly-release-workflows
branch
4 times, most recently
from
July 28, 2026 18:04
8f0c440 to
c5dd233
Compare
Sets up the release workflow for raiden: a nightly build publishes dev wheels for jax and torch to Artifact Registry (pip install --pre), and pushing a vX.Y.Z tag cuts a stable release (plain pip install, plus a GitHub Release). RELEASING.md describes the process.
yinlin09
force-pushed
the
yinlin/nightly-release-workflows
branch
from
July 29, 2026 22:46
c5dd233 to
1ede5e1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sets up the release workflow for raiden.
tpu_raiden_jaxandtpu_raiden_torchwheels plus bare.sofiles in the ml-build container, versioned<base>.devYYYYMMDDHHMMSS, publishes them as run artifacts, and uploads scheduled builds to the raiden Artifact Registry (pip install --pre).vX.Y.Ztag): verifies the tag matchespyproject.tomland sits onmain, rebuilds the wheels with the bareX.Y.Zversion, uploads to Artifact Registry, and attaches wheels +.sofiles to a GitHub Release.workflow_dispatchis a build-only dry run.torch_tpu.versionpin for releases,torch_tpu_commit.txtin artifacts) and the jax/jaxlib/libtpu pins (jax_pins.txt).ci/build_wheel.shintoci/build_wheel_impl.shso workflow jobs already running in the ml-build container can invoke them without docker-in-docker; the docker wrapper behaves as before.RELEASING.mddocuments the process.Testing
ci/build_wheel_impl.shin the ml-build container locally;twine checkpasses and the torch wheel's.socarries the injectedNEEDED libpywrap_torch_tpu_common.so.linux-x86-n2-32including artifact uploads; the registry upload was correctly skipped for the push event.Remaining setup before the workflows are fully live
TORCH_TPU_DEPLOY_KEYsecret (read-only deploy key forgoogle-pytorch/torch_tpu) — until then the torch leg fails at checkout.RAIDEN_REGISTRY_URLrepo variable to a writable registry).