Skip to content

ci(real-models): skip the onnxruntime-node CUDA binary download - #1004

Merged
krisztian-gajdar merged 1 commit into
mainfrom
ci/real-models-skip-onnxruntime-cuda
Nov 23, 2026
Merged

krisztian-gajdar merged 1 commit into
mainfrom
ci/real-models-skip-onnxruntime-cuda

Conversation

@krisztian-gajdar

@krisztian-gajdar krisztian-gajdar commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Real models / CPU fails at pnpm install --frozen-lockfile, before any test runs. onnxruntime-node's postinstall finds no nvcc, assumes CUDA 12 and downloads onnxruntime-linux-x64-gpu-1.21.0.tgz from the onnxruntime v1.21.0 GitHub release. That request now answers 404, so the install script exits 1.

The nightly run on main has failed this way every day since at least 2026-11-20, and pull requests that touch the workflow's paths fail the same job.

Change

Set ONNXRUNTIME_NODE_INSTALL_CUDA: skip in the workflow's env, as ci.yml already does since #922. The runner has no GPU; the CPU binaries ship in the npm package, so only the CUDA execution provider is skipped.

Validation

This PR changes .github/workflows/real-models.yml, so Real models / CPU runs on it.

Summary by CodeRabbit

  • Chores
    • Updated the model workflow’s environment configuration.

The CPU job runs pnpm install without ONNXRUNTIME_NODE_INSTALL_CUDA, so
onnxruntime-node's postinstall fetches the v1.21.0 CUDA archive from a
GitHub release. That download now answers 404 and fails the job before
any test runs. ci.yml already sets the variable for the same reason; the
runner has no GPU.
@krisztian-gajdar
krisztian-gajdar requested a review from a team as a code owner November 23, 2026 11:02
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The real-models workflow adds a comment about the ONNX Runtime Node install script and sets ONNXRUNTIME_NODE_INSTALL_CUDA to skip.

Changes: Workflow install setting

Layer / File(s) Summary
Set install environment
.github/workflows/real-models.yml
The workflow adds a comment about the ONNX Runtime Node install script and sets ONNXRUNTIME_NODE_INSTALL_CUDA to skip.

Possibly related PRs

  • superlinked/sie#922: The main PR states that this setting was already used in ci.yml and extends it to real-models.yml.

Suggested reviewers: dragosboca

Merge Risk: Minimal · up to d1693

This change stops the real-models CI job from downloading the CUDA archive during install, which was returning 404 and blocking the tests. The installer honors the setting, so the failure should be fixed. It affects CI only, is easy to revert, and the remaining risk is minimal.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the change: a CI workflow change that skips the onnxruntime-node CUDA binary download. The raw summary confirms the only change is setting ONNXRUNTIME_NODE_INSTALL_CUDA to skip in .git…
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.
Full details: Title check

Explanation

The title names the change: a CI workflow change that skips the onnxruntime-node CUDA binary download. The raw summary confirms the only change is setting ONNXRUNTIME_NODE_INSTALL_CUDA to skip in .github/workflows/real-models.yml, and the objectives describe the same goal (stop the CUDA archive download that returns 404 and breaks pnpm install). The title is specific, concise, and follows a conventional commit style. No web search was needed for this check.

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
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Team
  • Run ID: a2d83eb3-fbdd-410c-ada6-8bf25bcdbe29
Commits

Reviewing files that changed from the base of the PR and between 58102fa and d1693e4.

Files selected for processing: 1

  • .github/workflows/real-models.yml

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

@krisztian-gajdar
krisztian-gajdar added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 7fb95b1 Nov 23, 2026
21 checks passed
@krisztian-gajdar
krisztian-gajdar deleted the ci/real-models-skip-onnxruntime-cuda branch November 23, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant