[PR #6536] [CLOSED] fix(docker): avoid unused ONNX CUDA downloads blocking image builds #7218

Closed
opened 2026-10-23 04:17:37 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6536
Author: @SpicyMarinara
Created: 9/22/2026
Status: ❌ Closed

Base: staging ← Head: codex/sept22-container-cuda


📝 Commits (1)

  • 02623a0 fix(docker): skip unused ONNX CUDA downloads during dependency install

📊 Changes

2 files changed (+4 additions, -2 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 Dockerfile (+3 -2)

📄 Description

Resolution

Closed unmerged: the maintainer reran the original staging publish, and attempt 2 succeeded. Both published platform manifests were verified to reference dda7f8cd6d8ad1b2aa133d513216d092330b22d6. The current failure was transient and no code change is needed to restore publishing.

Linked issue

Closes #6535

Why this change

Staging's full-image publish failed before compilation: the transitive ONNX Runtime installer tried to download optional CUDA binaries and received HTTP 403. The amd64 failure cancelled arm64 and prevented the staging manifest from publishing.

What changed

Set the upstream-supported ONNXRUNTIME_NODE_INSTALL_CUDA=skip only for the two full-Docker dependency installs. Both installed ONNX versions support this flag. The CPU binaries used by the embedding and Whisper pipelines are already bundled; other native lifecycle scripts still run. The separate llama-server GPU backend and native/source installations are unchanged.

Validation

pnpm check passed. A Linux/x64 installer probe confirmed both ONNX versions attempt an external download by default and succeed with the CUDA-skip flag while networking is forbidden. The local container build was interrupted by host disk exhaustion; temporary task artifacts were cleaned up and OrbStack restored. Local CodeRabbit suggested replacing the deprecated flag, but ONNX 1.21.0 only supports the older name; both installed versions accept it.

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

Manually verify a fresh full-image install can use local CPU embeddings and Whisper. The original publishing failure is captured in the linked GitHub log. This patch was not merged.

Docs and release impact

Changelog entry only. This removes an unused build-time download and preserves existing runtime behavior; no version or user workflow changes.

UI evidence (if applicable)

No UI changes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/6536 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 9/22/2026 **Status:** ❌ Closed **Base:** `staging` ← **Head:** `codex/sept22-container-cuda` --- ### 📝 Commits (1) - [`02623a0`](https://github.com/Pasta-Devs/Marinara-Engine/commit/02623a0143184b7e1365e586b4d7173af457c2b9) fix(docker): skip unused ONNX CUDA downloads during dependency install ### 📊 Changes **2 files changed** (+4 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `Dockerfile` (+3 -2) </details> ### 📄 Description ## Resolution Closed unmerged: the maintainer reran the original staging publish, and [attempt 2 succeeded](https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/35734565465). Both published platform manifests were verified to reference `dda7f8cd6d8ad1b2aa133d513216d092330b22d6`. The current failure was transient and no code change is needed to restore publishing. ## Linked issue Closes #6535 ## Why this change Staging's full-image publish failed before compilation: the transitive ONNX Runtime installer tried to download optional CUDA binaries and received HTTP 403. The amd64 failure cancelled arm64 and prevented the staging manifest from publishing. ## What changed Set the upstream-supported `ONNXRUNTIME_NODE_INSTALL_CUDA=skip` only for the two full-Docker dependency installs. Both installed ONNX versions support this flag. The CPU binaries used by the embedding and Whisper pipelines are already bundled; other native lifecycle scripts still run. The separate llama-server GPU backend and native/source installations are unchanged. ## Validation `pnpm check` passed. A Linux/x64 installer probe confirmed both ONNX versions attempt an external download by default and succeed with the CUDA-skip flag while networking is forbidden. The local container build was interrupted by host disk exhaustion; temporary task artifacts were cleaned up and OrbStack restored. Local CodeRabbit suggested replacing the deprecated flag, but ONNX 1.21.0 only supports the older name; both installed versions accept it. - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes Manually verify a fresh full-image install can use local CPU embeddings and Whisper. The original publishing failure is captured in the linked GitHub log. This patch was not merged. ## Docs and release impact Changelog entry only. This removes an unused build-time download and preserves existing runtime behavior; no version or user workflow changes. ## UI evidence (if applicable) No UI changes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:17:37 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#7218
No description provided.