From f058b5019cc8131423535f6ffc5293bc257f3753 Mon Sep 17 00:00:00 2001 From: Laith Al-Saadoon Date: Fri, 26 Jun 2026 02:21:06 +0000 Subject: [PATCH] chore: drop stale onnxruntime-node CUDA-skip npmrc setting (post-ADR-0019) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `onnxruntime_node_install_cuda=skip` and its pnpm-workspace.yaml note guarded the onnxruntime-node postinstall (a ~400MB CUDA EP fetch). That package was replaced by onnxruntime-web (prebuilt WASM, no install script) in the single-file SQLite migration (ADR 0019) and is no longer a dependency anywhere — the setting only produced an "Unknown config" warning on every npm/pnpm invocation. Removing both. --- .npmrc | 5 ----- pnpm-workspace.yaml | 3 --- 2 files changed, 8 deletions(-) diff --git a/.npmrc b/.npmrc index f058f1da..17e7350e 100644 --- a/.npmrc +++ b/.npmrc @@ -2,8 +2,3 @@ engine-strict=true auto-install-peers=true resolution-mode=time-based save-exact=false - -# onnxruntime-node 1.22+ postinstall otherwise fetches a ~400MB CUDA EP from -# NuGet. We are CPU-only and offline-first; skip that step unconditionally. -# See: packages/embedder + .erpaval/sessions/002/research-embeddings.yaml §1 -onnxruntime_node_install_cuda=skip diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index ba68413c..c29491b0 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -56,9 +56,6 @@ packageExtensions: # from .npmrc; non-auth settings belong here or in ~/.config/pnpm/config.yaml. # User-specific settings (store-dir, package-import-method) stay in # ~/.config/pnpm/config.yaml. -# NOTE: onnxruntime_node_install_cuda=skip must remain in ~/.npmrc (or be set -# as npm_config_onnxruntime_node_install_cuda=skip in CI) so the onnxruntime -# install script skips the ~400MB CUDA EP download on CPU-only environments. autoInstallPeers: true resolutionMode: time-based engineStrict: true