mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
paddlepaddle-gpu requires libcuda.so.1 at import time, but no CUDA driver exists during Docker build. The download script now catches this ImportError and skips PaddleOCR model pre-download on amd64. Models will download on first use at runtime when the CUDA driver is available via nvidia-container-toolkit. On arm64 (CPU paddlepaddle), models are still pre-downloaded at build time as before. Also reverted CI to amd64-only Docker build test for speed. Multi-arch build is tested on release via the release workflow.