Skip to content

Commit

Permalink
Cloud TPU CI: don't use tcmalloc (temporary workaround for tcmalloc d…
Browse files Browse the repository at this point in the history
…eadlock)
  • Loading branch information
skye committed Sep 28, 2023
1 parent e6f8477 commit ef241e5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/cloud-tpu-ci-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ jobs:
env:
JAX_PLATFORMS: tpu,cpu
PY_COLORS: 1
# TODO(b/302562327): TPU VMs have an ancient tcmalloc set in their
# LD_PRELOAD by default. This has been causing deadlocks due to its
# use of libunwind. Use the system allocator in the meantime to
# unblock testing until we develop a better fix.
LD_PRELOAD:
run: |
# Run single-accelerator tests in parallel
JAX_ENABLE_TPU_XDIST=true python3 -m pytest -n=4 --tb=short \
Expand Down

0 comments on commit ef241e5

Please sign in to comment.