Add MIOPEN_DISABLE_CACHE=1 to prevent SQLite crash on benchmark
All checks were successful
Build ROCm Image / build (push) Successful in 19s
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:
@@ -26,6 +26,11 @@ services:
|
||||
- HF_HUB_ENABLE_HF_TRANSFER=1
|
||||
# Required for RX 6700 XT (gfx1031) - not natively supported in ROCm 7.2.
|
||||
- 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
|
||||
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user