Repository navigation
ci(real-models): skip the onnxruntime-node CUDA binary download - #1004
Conversation
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.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Problem
Real models / CPUfails atpnpm install --frozen-lockfile, before any test runs.onnxruntime-node's postinstall finds nonvcc, assumes CUDA 12 and downloadsonnxruntime-linux-x64-gpu-1.21.0.tgzfrom the onnxruntime v1.21.0 GitHub release. That request now answers 404, so the install script exits 1.The nightly run on
mainhas 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: skipin the workflow'senv, asci.ymlalready 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, soReal models / CPUruns on it.Summary by CodeRabbit