54fa8ab117
The default build (default = candle-cuda) load-time-imports the CUDA runtime, so it crashes on any machine without the toolkit. Add a CUDA release variant that bundles the redistributable runtime DLLs (cudart/cublas/cublasLt/curand, verified via dumpbin) so it runs on any NVIDIA machine with just a driver. - tauri.cuda.conf.json: a 'tauri build --config' overlay (CPU release untouched) that points the updater at latest-cuda.json so a CUDA install never self-updates into the CPU build - windows/cuda-hooks.nsh: NSIS hook embeds the DLLs via File and extracts them next to phokus.exe, where the Windows loader searches - build:app:cuda script; cuda-redist/ gitignored (DLLs copied from the toolkit locally), with a negation so the overlay stays tracked
45 lines
639 B
Plaintext
45 lines
639 B
Plaintext
# Logs
|
|
logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
lerna-debug.log*
|
|
|
|
node_modules
|
|
dist
|
|
src-tauri/target
|
|
dist-ssr
|
|
*.local
|
|
|
|
# Editor directories and files
|
|
.vscode/*
|
|
.idea
|
|
.DS_Store
|
|
*.suo
|
|
*.ntvs*
|
|
*.njsproj
|
|
*.sln
|
|
*.sw?
|
|
*.local.*
|
|
# Local patch artifacts
|
|
*.diff
|
|
*.patch
|
|
|
|
# Local staging area
|
|
/staging
|
|
|
|
# Misc
|
|
*.py
|
|
*.json
|
|
|
|
*.pyc
|
|
|
|
# Bundled CUDA runtime DLLs for the CUDA build (copied from the toolkit
|
|
# locally; ~600 MB, never committed). See RELEASE_PLAN.md "CUDA release variant".
|
|
src-tauri/cuda-redist/
|
|
|
|
# Keep the CUDA build config overlay tracked despite the *.json rule above.
|
|
!src-tauri/tauri.cuda.conf.json
|