-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: enable jemalloc in release tests #46393
Conversation
i just run a release test on this PR, let see if it works |
Signed-off-by: hongchaodeng <[email protected]>
ae51a24
to
50159bf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deferring this to @can-anyscale
@@ -24,3 +24,5 @@ EOF | |||
|
|||
COPY "$PIP_REQUIREMENTS" . | |||
RUN "$HOME"/anaconda3/bin/pip install --no-cache-dir -r "${PIP_REQUIREMENTS}" | |||
|
|||
ENV LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so:$LD_PRELOAD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this the final form?
should we just set an RAY_LD_PRELOAD
, and set this env var when ray is launching gcs or raylet? rather than setting this as global env?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think using LD_PRELOAD
is fine given that the container is only for running ray workloads.
I'm fine either way. Defer to @can-anyscale on final decision.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if we want this as a global feature for all release tests i think this is fine; this layer is specific to ray release tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eventually we want to only set LD_PRELOAD
for ray start
command so that ONLY ray processes will use jemalloc. But I'm not sure how to do it here. I think this is good enough as a temporary thing given we will revert it back later and rely on other places to set LD_PRELOAD
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will enable jemalloc on all release tests but not in production?
so we will be testing something that is different from production?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This reverts commit 05067f4. Signed-off-by: Gene Su <[email protected]>
Why are these changes needed?
Related issue number
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.