jax
77b69680 - [ROCm test] Drop MIOPEN_FIND_ENFORCE workaround in pytest_rocm

Commit
212 days ago
[ROCm test] Drop MIOPEN_FIND_ENFORCE workaround in pytest_rocm The ghcr.io/rocm/jax-base-ubu24.* image bakes in MIOPEN_FIND_ENFORCE=SEARCH_DB_UPDATE (Dockerfile.base-ubu24:157, added in ROCm/rocm-jax#317) as a workaround for the MIOpen kernels() static-map stack-overflow SIGSEGV that fires from XLA worker threads with 512KB stacks during PopulateMIOpenFindDb -> kernels() -> GetKernelSrc -> BuildCodeObject. That underlying bug is fixed by ROCm/rocm-libraries#4472, which the rocm720 base image already rebuilds MIOpen from. This change unsets the env var only for the pytest test step to verify empirically that the patch alone is sufficient. Not touching bazel_rocm.yml: it dispatches via TF_ROCM_RBE_DOCKER_IMAGE to remote workers in fresh containers, so a local unset would not propagate. That would need --test_env=MIOPEN_FIND_ENFORCE= as a follow-up. If this run is green, the proper cleanup is a separate rocm-jax PR removing the ENV line from Dockerfile.base-ubu24.
Author
Committer
Parents
Loading