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

refactor(framework) Handle unsuitable resources for simulation #4143

Merged
merged 6 commits into from
Sep 11, 2024

Conversation

jafermarq
Copy link
Contributor

@jafermarq jafermarq commented Sep 5, 2024

Moved creation of actor pool in RayBackend to the backend's .build() method. This is in not only a better place "semantically" speaking for constructing the pool of actors, but also prevents the backend obj construction to fail. This is important since, if the actor pool construction fails (e.g. if not resources area available in the system), it still enables the graceful termination of the simulation engine.

@jafermarq jafermarq added the simulation An issue related to Flower's simulation label Sep 5, 2024
@jafermarq jafermarq marked this pull request as ready for review September 11, 2024 08:41
@danieljanes danieljanes merged commit 0613593 into main Sep 11, 2024
33 checks passed
@danieljanes danieljanes deleted the handle-imposible-sim-resources branch September 11, 2024 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
simulation An issue related to Flower's simulation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants