mirror of
https://github.com/vale981/ray
synced 2025-03-05 10:01:43 -05:00

There are mysterious memory usage growth in Ray clusters that disappear when running with jemalloc. Before we are able to figure out the root cause, it seems using jemalloc by default can be a good walkaround. Because of its efficiency, using jemalloc by default can be beneficial, but we need to run more benchmarks to verify.
14 lines
470 B
YAML
14 lines
470 B
YAML
base_image: {{ env["RAY_IMAGE_ML_NIGHTLY_GPU"] | default("anyscale/ray-ml:nightly-py37-gpu") }}
|
|
env_vars: {"LD_PRELOAD": "/usr/lib/x86_64-linux-gnu/libjemalloc.so"}
|
|
|
|
debian_packages:
|
|
- libjemalloc-dev
|
|
|
|
python:
|
|
pip_packages: []
|
|
conda_packages: []
|
|
|
|
post_build_cmds:
|
|
- pip3 install tqdm || true
|
|
- pip3 uninstall ray -y && pip3 install -U {{ env["RAY_WHEELS"] | default("ray") }}
|
|
- {{ env["RAY_WHEELS_SANITY_CHECK"] | default("echo No Ray wheels sanity check") }}
|