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) Stop launching simulation in thread if asyncio loop detected #3472

Merged
merged 71 commits into from
Jul 11, 2024

Conversation

jafermarq
Copy link
Contributor

Earlier, because the Simulation Engine was built on asyncio, we had to run it in a separate thread if it was started in an environment with an asyncio loop already present. This was the case in Colab notebooks. Since we've removed asyncio from the Simulation Engine, launching it in a separate thread is no longer needed.

@jafermarq jafermarq added the simulation An issue related to Flower's simulation label May 19, 2024
Base automatically changed from simplify-sim-no-asyncio-events to main July 11, 2024 10:30
An error occurred while trying to automatically change base from simplify-sim-no-asyncio-events to main July 11, 2024 10:30
@jafermarq jafermarq marked this pull request as ready for review July 11, 2024 10:49
@danieljanes danieljanes merged commit ed566a7 into main Jul 11, 2024
28 checks passed
@danieljanes danieljanes deleted the simplify-sim-always-in-main-thread branch July 11, 2024 10:52
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.

3 participants