Add CPU-only GitHub Actions CI (presubmit + nightly + lint)#143
Open
yinlin09 wants to merge 4 commits into
Open
Add CPU-only GitHub Actions CI (presubmit + nightly + lint)#143yinlin09 wants to merge 4 commits into
yinlin09 wants to merge 4 commits into
Conversation
Mirrors torch_tpu's GitHub Actions setup, scoped to a CPU runner (linux-x86-n2-32) since google/tpu-raiden is not granted TPU runner scale-sets. Builds the JAX extension, runs OSS-safe CPU unit tests, builds the tpu_raiden_jax wheel nightly, and lints license headers + C++ format. Kokoro CI is kept alongside. See .github/README.md.
addlicense flagged the root BUILD file (no header); add the standard Apache header. Add a pull-request smoke workflow on linux-x86-tpu7x-224-4tpu to test whether the v7 TPU runner scale-set is available to this repo.
n2-32 and tpu7x jobs stayed queued/unassigned (not granted to this repo), so run presubmit + nightly on the available v5e TPU host: build, verify TPU visible, run unit tests + a device test. Drop the tpu7x probe.
n2-32 and v5e are self-hosted scale-sets that cold-start slowly; jobs may sit queued for several minutes before pickup. Keep CPU (presubmit/nightly) and TPU (device_test) in separate workflows so a slow TPU runner never blocks the CPU gate. v5e is used for device tests since tpu7x is unavailable.
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.
Adds CPU-only GitHub Actions CI mirroring torch_tpu's setup, scoped to a CPU runner (
linux-x86-n2-32) since this repo isn't granted TPU runner scale-sets.tpu_raiden_jaxwheel + failure issueKokoro CI is kept alongside. See
.github/README.md.Opened to validate the workflows on the runner; landing happens via google3/Copybara.