mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6536] [CLOSED] fix(docker): avoid unused ONNX CUDA downloads blocking image builds #7218
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#7218
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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)
02623a0fix(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=skiponly 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 checkpassed. 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 checkpasses locallyCONTRIBUTING.mdManual 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.