Skip to content

[OMNIML-6260] Pin the hosted Linux runners to ubuntu-24.04 - #2950

Merged
kevalmorabia97 merged 1 commit into
mainfrom
shengliangx/ci-pin-ubuntu-24-04
Oct 23, 2026
Merged

kevalmorabia97 merged 1 commit into
mainfrom
shengliangx/ci-pin-ubuntu-24-04

Conversation

@shengliangxu

@shengliangxu shengliangxu commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

What does this PR do?

Type of change: Bug fix (CI)

Pins every runs-on: ubuntu-latest of the workflows to ubuntu-24.04. GitHub moved ubuntu-latest to Ubuntu 26.04 at about 00:45 UTC on 2026-10-23, and the hosted jobs that install torch into a nox/uv environment fail on it, so every pull request is red:

job (all attempts, from the run logs) on ubuntu-24.04, until 10-23 00:xx UTC on ubuntu-26.04, since 00:46 UTC
linux (unit_tests.yml) 210 of 210 passed 0 of 23 passed
build-docs (pages.yml) all passed 0 of 25 passed

The failure, in "Run unit tests" and in the docs build alike, while uv installs torch 2.14.1:

warning: Failed to hardlink files; falling back to full copy.
error: Failed to install: torch-2.14.1-cp312-cp312-manylinux_2_28_x86_64.whl (torch==2.14.1)
  cause: failed to copy file from /home/runner/.cache/uv/archive-v0/.../torch/lib/libtorch_cuda.so to /tmp/.nox/<session>/lib/python3.12/site-packages/torch/lib/.tmp...: Disk quota exceeded (os error 122)

The 24.04 logs have no hardlink warning, so there the uv cache and /tmp/.nox share a filesystem; on 26.04 they do not, uv copies the torch and CUDA libraries, and the copy exceeds the quota. The GPU, example and regression workflows wait for the unit check (wait-checks), so no pull request gets GPU CI while it fails.

After this merges, a pull request needs a new pull_request run to pick it up (a push, or a rebase onto main): re-running a failed job keeps the old runs-on and lands on 26.04 again.

Moving to 26.04 is a separate change that needs the install fixed first (untested ideas: a UV_CACHE_DIR on the filesystem of /tmp/.nox, or NOX_ENVDIR under the workspace). tools/launcher/docs/testing.md keeps ubuntu-latest because it is an example for users.

Testing

This PR's own run is the test: its linux and build-docs jobs must run on ubuntu-24.04 and pass. The changed YAML passes the pre-commit hooks (YAML format). Not run: a throwaway check on 26.04.

Before your PR is "Ready for review"

Make sure you read and follow Contributor guidelines and your commits are signed (git commit -s -S).

Make sure you read and follow the Security Best Practices (e.g. avoiding hardcoded trust_remote_code=True, torch.load(..., weights_only=False), pickle, etc.).

  • Is this change backward compatible?: N/A (CI)
  • If you copied code from any other sources or added a new PIP dependency, did you follow guidance in CONTRIBUTING.md: no new dependency
  • Did you write any new necessary tests?: N/A (CI)
  • Did you update Changelog?: N/A (CI)
  • Did you get Claude approval on this PR?: N/A (not run yet)

Additional Information

Jira: [OMNIML-6260].

Summary by CodeRabbit

  • Chores
    • Automated checks, tests, documentation builds, and release jobs now run on Ubuntu 24.04. This standardizes the operating system used across the project’s automation; no workflow conditions or other behavior changed. These updates affect project maintenance and do not change the app’s end-user features.

GitHub moved `ubuntu-latest` to Ubuntu 26.04 at 01:05 UTC on 2026-10-23. Since then every hosted
`linux` unit job (image ubuntu-26.04 20261012.163.1) fails in "Run unit tests" while uv installs
torch into the nox environment ("failed to copy file .../libtorch_cuda.so to /tmp/.nox/...: Disk
quota exceeded (os error 122)", after "Failed to hardlink files; falling back to full copy"), and
build-docs fails the same way. The GPU, example and regression workflows wait for the unit check,
so no pull request gets GPU CI. Before the switch, every `linux` job ran on ubuntu-24.04 and passed
without the hardlink warning.

Every `runs-on: ubuntu-latest` of the workflows becomes `ubuntu-24.04`, the image the jobs ran on
until then. Running on 26.04 needs the install fixed first: there uv cannot hardlink from its cache
into /tmp/.nox, so it copies the torch and CUDA libraries and exceeds the quota. That is a separate
change.

Signed-off-by: Shengliang Xu <[email protected]>
@shengliangxu
shengliangxu requested a review from a team as a code owner October 23, 2026 01:53
@coderabbitai

coderabbitai Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
📥 Commits

Reviewing files that changed from the base of the PR and between c00ac43 and 03ad8f9.

📒 Files selected for processing: 14
  • .github/actions/ubuntu-setup/action.yml
  • .github/workflows/_pr_gate.yml
  • .github/workflows/bump_uv_lock.yml
  • .github/workflows/check_model_hub_orgs.yml
  • .github/workflows/claude.yml
  • .github/workflows/claude_review.yml
  • .github/workflows/close_inactive_issues_pr.yml
  • .github/workflows/code_quality.yml
  • .github/workflows/example_tests.yml
  • .github/workflows/gpu_tests.yml
  • .github/workflows/pages.yml
  • .github/workflows/regression_tests.yml
  • .github/workflows/release.yml
  • .github/workflows/unit_tests.yml

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 10 remain after this review.

📝 Walkthrough

The setup action description and selected GitHub Actions jobs now specify ubuntu-24.04 instead of ubuntu-latest. No workflow conditions or other behavior changed.

Changes: Ubuntu 24.04 runner updates

Layer / File(s) Summary
Update runner specifications
.github/actions/ubuntu-setup/action.yml, .github/workflows/*
The action description and selected jobs across workflows now specify ubuntu-24.04 instead of ubuntu-latest. Other workflow behavior remains unchanged.

Priority: ➖ Normal

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to 03ad8

The runner pinning change presents no concrete merge-blocking risk.

Pre-merge checks: Passed 6
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely summarizes the main change: pinning hosted Linux runners to Ubuntu 24.04.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Security Anti-Patterns Passed PASS: The reviewed range changes only GitHub Actions and workflow YAML files. It contains no modelopt package or examples Python changes, and no changes to pyproject.toml or requirements.txt. The list…
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (14 skipped: 14 unsupported.)

Full details: Security Anti-Patterns

Explanation

PASS: The reviewed range changes only GitHub Actions and workflow YAML files. It contains no modelopt package or examples Python changes, and no changes to pyproject.toml or requirements.txt. The listed security anti-patterns are therefore not introduced by this pull request.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-10-23 05:23 UTC

@codecov

codecov Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.90%. Comparing base (55b4fd9) to head (03ad8f9).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2950      +/-   ##
==========================================
- Coverage   79.68%   78.90%   -0.78%     
==========================================
  Files         659      659              
  Lines       74466    74822     +356     
==========================================
- Hits        59337    59038     -299     
- Misses      15129    15784     +655     
Flag Coverage Δ
examples-diffusers 19.98% <ø> (ø)
examples-gpt-oss 13.48% <ø> (ø)
examples-hf_ptq 23.43% <ø> (-0.04%) ⬇️
examples-llm_distill 13.56% <ø> (-0.01%) ⬇️
examples-llm_eval 17.22% <ø> (ø)
examples-llm_qat 17.40% <ø> (-0.04%) ⬇️
examples-llm_sparsity 16.81% <ø> (ø)
examples-megatron_bridge 26.33% <ø> (-0.21%) ⬇️
examples-specdec_bench 13.26% <ø> (ø)
examples-speculative_decoding 17.48% <ø> (-0.06%) ⬇️
examples-torch_onnx 21.30% <ø> (-0.02%) ⬇️
examples-torch_trt 15.19% <ø> (ø)
examples-vllm_serve 17.44% <ø> (ø)
gpu 58.70% <ø> (-1.20%) ⬇️
regression 15.06% <ø> (-0.01%) ⬇️
unit 61.14% <ø> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kevalmorabia97
kevalmorabia97 merged commit 845dc9b into main Oct 23, 2026
57 checks passed
@kevalmorabia97
kevalmorabia97 deleted the shengliangx/ci-pin-ubuntu-24-04 branch October 23, 2026 05:23
kevalmorabia97 added a commit that referenced this pull request Oct 28, 2026
#2928 #2885 #2908 #2929 #2950 #2972 #2877 #2951 #2816 #3005 #3012 #2971 #3015 #3006 #3026 #2988 #3028 #1860 #3030 #2612 #3033 #2653 #2599 #2655 #2618 #2868 #3032 #3027 #2869 #2984 #2975 #2345 #3020 #2997 (#3072)

## Cherry-picked PRs

- #2817
- #2671
- #2892
- #2876
- #2910
- #2911
- #2919
- #2904
- #2937
- #2928
- #2885
- #2908
- #2929
- #2950
- #2972
- #2877
- #2951
- #2816
- #3005
- #3012
- #2971
- #3015
- #3006
- #3026
- #2988
- #3028
- #1860
- #3030
- #2612
- #3033
- #2653
- #2599
- #2655
- #2618
- #2868
- #3032
- #3027
- #2869
- #2984
- #2975
- #2345
- #3020
- #2997

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **New Features**
* Diffusion exports now offer more control over attention-quantizer
metadata and preserve sparse-attention settings in a format compatible
with downstream tooling.
* Model loading better handles select bundled model implementations, and
Docker guidance now covers writable CUDA-extension cache locations.
* **Bug Fixes**
* Improved reliability for model export and checkpoint saving,
quantization across devices, ONNX processing, and calibration.
* Temporary TensorRT and autotuning artifacts now use private
directories by default.
* **Documentation**
* Updated installation guidance, compatibility notes, and links;
corrected typos across guides and examples.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: Chad Voegele <[email protected]>
Signed-off-by: Rohan Joshi <[email protected]>
Signed-off-by: LinCanNerd <[email protected]>
Signed-off-by: Keval Morabia <[email protected]>
Signed-off-by: weimingc <[email protected]>
Signed-off-by: Noey Yang <[email protected]>
Signed-off-by: Kai Xu <[email protected]>
Signed-off-by: Zhehao Hu <[email protected]>
Signed-off-by: noeyy-mino <[email protected]>
Signed-off-by: joe-nv <[email protected]>
Signed-off-by: yingguo-trt <[email protected]>
Signed-off-by: Shengliang Xu <[email protected]>
Signed-off-by: Chenjie Luo <[email protected]>
Signed-off-by: anmaurya001 <[email protected]>
Signed-off-by: Connor Baker <[email protected]>
Signed-off-by: wiederse <[email protected]>
Signed-off-by: Vu Dinh <[email protected]>
Signed-off-by: Pratik Gandhi <[email protected]>
Signed-off-by: Michael Rusu <[email protected]>
Signed-off-by: Michael-Rusu <[email protected]>
Signed-off-by: namgyu-youn <[email protected]>
Signed-off-by: Sylvester Kaczmarek <[email protected]>
Signed-off-by: Javier de Jesus <[email protected]>
Signed-off-by: javierdejesusda <[email protected]>
Signed-off-by: Zhiyu Cheng <[email protected]>
Signed-off-by: Juhi Mittal <[email protected]>
Signed-off-by: Dmitry Rantovov <[email protected]>
Signed-off-by: h-guo18 <[email protected]>
Co-authored-by: Chad Voegele <[email protected]>
Co-authored-by: LinCanNerd <[email protected]>
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Co-authored-by: Keval Morabia <[email protected]>
Co-authored-by: Wei-Ming Chen <[email protected]>
Co-authored-by: noeyy-mino <[email protected]>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: kaix-nv <[email protected]>
Co-authored-by: Zhehao Hu <[email protected]>
Co-authored-by: joe <[email protected]>
Co-authored-by: yingguo-trt <[email protected]>
Co-authored-by: Shengliang Xu <[email protected]>
Co-authored-by: Chenjie Luo <[email protected]>
Co-authored-by: anmaurya001 <[email protected]>
Co-authored-by: Connor Baker <[email protected]>
Co-authored-by: Jiao Mingyang <[email protected]>
Co-authored-by: Vu Dinh <[email protected]>
Co-authored-by: Pratik Gandhi <[email protected]>
Co-authored-by: Michael R <[email protected]>
Co-authored-by: Michael-Rusu <[email protected]>
Co-authored-by: namgyu-youn <[email protected]>
Co-authored-by: Sylvester Kaczmarek <[email protected]>
Co-authored-by: Javier De Jesus <[email protected]>
Co-authored-by: Zhiyu <[email protected]>
Co-authored-by: Juhi Mittal <[email protected]>
Co-authored-by: Dmitry Rantovov <[email protected]>
Co-authored-by: h-guo18 <[email protected]>
@rohansjoshi rohansjoshi added the cherry-pick-done Added by bot once PR is cherry-picked to the release branch label Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick-0.48.0 cherry-pick-done Added by bot once PR is cherry-picked to the release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants