-
Notifications
You must be signed in to change notification settings - Fork 6.5k
[Core] Split stats_metric into smaller targets to improve build performance #50595
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
base: master
Are you sure you want to change the base?
Conversation
64c3c25
to
64a9360
Compare
f021322
to
83dc5ae
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.
LGTM, thanks for the effort!
@dentiny what's wrong with the premerge? |
I will take a look later tonight, feel free to ping me directly! |
BUILD.bazel
Outdated
"-lpthread", | ||
], | ||
"@platforms//os:windows": [], | ||
"//conditions:default": ["-lpthread"], |
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 don't think we need the link option
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.
It seems we need this link option, or else it will show
ERROR: /ray/BUILD.bazel:815:15: configurable attribute "linkopts" in //:stats_lib doesn't match this configuration. Would a default condition help?
[2025-02-20T13:46:24Z]
2114afc
to
1e166a8
Compare
Signed-off-by: 400Ping <43886578+400Ping@users.noreply.github.com>
Signed-off-by: 400Ping <43886578+400Ping@users.noreply.github.com>
Signed-off-by: 400Ping <43886578+400Ping@users.noreply.github.com>
Signed-off-by: 400Ping <43886578+400Ping@users.noreply.github.com>
Signed-off-by: 400Ping <43886578+400Ping@users.noreply.github.com>
Signed-off-by: 400Ping <43886578+400Ping@users.noreply.github.com>
Signed-off-by: 400Ping <43886578+400Ping@users.noreply.github.com>
Signed-off-by: 400Ping <43886578+400Ping@users.noreply.github.com>
This reverts commit a6cba67. Signed-off-by: 400Ping <43886578+400Ping@users.noreply.github.com>
This reverts commit b3e6d42. Signed-off-by: 400Ping <43886578+400Ping@users.noreply.github.com>
6459efa
to
94f79f7
Compare
Signed-off-by: 400Ping <43886578+400Ping@users.noreply.github.com>
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
|
Work in process |
This pull request has been automatically marked as stale because it has not had You can always ask for help on our discussion forum or Ray's public slack channel. If you'd like to keep this open, just leave any comment, and the stale label will be removed. |
working on it |
This pull request has been automatically marked as stale because it has not had You can always ask for help on our discussion forum or Ray's public slack channel. If you'd like to keep this open, just leave any comment, and the stale label will be removed. |
Will be working on it |
Why are these changes needed?
As of now, ray core uses bazel as build system, which encourages small targets.
Ray core is not following the best practice, which bundles all related files into several giant targets.
Related issue number
Closes: #50588
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.