Skip to content
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

[core] Fix placement groups scheduling when no resources are specified #39946

Merged
merged 16 commits into from
Oct 19, 2023
Prev Previous commit
Next Next commit
comment
Signed-off-by: vitsai <vitsai@cs.stanford.edu>
  • Loading branch information
vitsai committed Oct 18, 2023
commit 8874cf5ba74c1b9e7f04928a3f2e9c5dcc48f70a
2 changes: 1 addition & 1 deletion src/ray/core_worker/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ struct ActorCreationOptions {
for (auto &resource : resources) {
auto it = this->placement_resources.find(resource.first);
RAY_CHECK(it != this->placement_resources.end());
RAY_CHECK(it->second >= resource.second);
RAY_CHECK_GE(it->second, resource.second);
}
};

Expand Down