-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
🔥 Hot-reload Syft nodes in your notebooks #8988
Conversation
This is incredible, beyond amazing! |
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.
Works like a charm, this will change the course of Syft's dev team!
@madhavajay there are instances when we run multiple nodes in the same notebook, but are actively developing on just one node. For example, in tauquir/enclave-prototype/03-ds-execute-code.ipynb we are usually actively working on the |
def app_factory() -> FastAPI: | ||
settings = AppSettings() | ||
|
||
worker_classes = { |
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.
nit: we define this worker_classes dict a few times in the codebase, can we reuse?
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.
Will address this in a separate PR
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.
Great work on this Tauquir! Will save a ton of time in notebook debugging🔥
Co-authored-by: Tauquir <30658453+itstauq@users.noreply.github.com>
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.
Description
An alternative approach to #8971 and #8987
Affected Dependencies
List any dependencies that are required for this change.
How has this been tested?
Checklist