-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
[GCS] refactor the resource related data structures on the GCS #22817
[GCS] refactor the resource related data structures on the GCS #22817
Conversation
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.
Looks good overall. The main concern is that there are many repeated loops for predefined and custom resources. I think we can refine this by using a iterator.
86bd0e4
to
9fec902
Compare
9fec902
to
a7c75f3
Compare
a7c75f3
to
21a0e00
Compare
@scv119 Just looked into code details of the new data structures. I think we need some refactor.
Any suggestions? We can work on this after this PR. |
a3521f0
to
16e3185
Compare
16e3185
to
ab212e9
Compare
42203ac
to
0fdc59a
Compare
…ce_data_structure
I'll submit another PR to do the refactor. |
ray-project#22817)" This reverts commit 549466a.
Unfortunately this PR breaks the master, we need to resubmit it again. |
I'm sorry, but I made sure I checked CI before. Any way, I wil fix it soon. |
Why are these changes needed?
As we (@iycheng @scv119 @raulchen @WangTaoTheTonic @Chong-Li ) discussed offline, this PR refactors the resource related data structures on the GCS side from legacy ones to new ones.
ResourceSet -> ResourceRequest
SchedulingResources -> Node
Related issue number
Checks
scripts/format.sh
to lint the changes in this PR.