PySyft
PySyft copied to clipboard
🔥 Hot-reload Syft nodes in your notebooks
Description
An alternative approach to #8971 and #8987
Affected Dependencies
List any dependencies that are required for this change.
How has this been tested?
- Describe the tests that you ran to verify your changes.
- Provide instructions so we can reproduce.
- List any relevant details for your test configuration.
Checklist
- [ ] I have followed the Contribution Guidelines and Code of Conduct
- [ ] I have commented my code following the OpenMined Styleguide
- [ ] I have labeled this PR with the relevant Type labels
- [ ] My changes are covered by tests
This is incredible, beyond amazing!
@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 canada-enclave node but need the other two domain nodes active as well. For such cases, it makes sense to have a separate hot_reload: bool flag in orchestra.launch instead of tying the hot reloading functionality with dev_mode=True. What are your thoughts?
Tested this functionality by changing
- NodeMetadata
- UserService Fields
- Client Side Fields
In jupyter lab.