Replace individual ROCm libs with rocm-libs meta-package; graceful provider fallback
All checks were successful
Build ROCm Image / build (push) Successful in 14m51s

- Dockerfile: rocm-libs installs all ROCm compute libraries at once
  (hipblas, hipfft, hipsparse, rocblas, miopen, etc.) avoiding whack-a-mole
  with individual missing .so files
- engine.py: query ort.get_available_providers() at runtime and only request
  providers that actually loaded — falls back to CPU instead of crashing

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-06 19:34:28 -04:00
parent f0ab3c1d59
commit 0df6a6cc8f
2 changed files with 16 additions and 9 deletions

View File

@@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
git \
ffmpeg \
libsndfile1 \
hipblas \
rocm-libs \
migraphx \
migraphx-dev \
half \