Add MIOPEN_DISABLE_CACHE=1 to prevent SQLite crash on benchmark
All checks were successful
Build ROCm Image / build (push) Successful in 19s

cudnn.benchmark triggers MIOpen exhaustive kernel search which then
crashes writing results to SQLite. Disabling the cache skips the write.
PyTorch's in-memory benchmark cache still applies so warmup results are
reused for all requests within a container run.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-05 14:14:44 -04:00
parent 7436c49d44
commit e69b072b70

View File

@@ -26,6 +26,11 @@ services:
- HF_HUB_ENABLE_HF_TRANSFER=1 - HF_HUB_ENABLE_HF_TRANSFER=1
# Required for RX 6700 XT (gfx1031) - not natively supported in ROCm 7.2. # Required for RX 6700 XT (gfx1031) - not natively supported in ROCm 7.2.
- HSA_OVERRIDE_GFX_VERSION=10.3.0 - HSA_OVERRIDE_GFX_VERSION=10.3.0
# Disable MIOpen's SQLite cache. Without this, cudnn.benchmark triggers an
# exhaustive kernel search and then crashes trying to write results to SQLite.
# PyTorch's own in-memory benchmark cache still works so warmup results are
# reused for all subsequent requests within the same container run.
- MIOPEN_DISABLE_CACHE=1
# - HF_TOKEN=your_token_here # - HF_TOKEN=your_token_here
volumes: volumes: