PySyft
PySyft copied to clipboard
Update custom image pip install commands in notebooks to add uv and add import statement to syft function
Description
Updates pip installs commands in custom image notebooks to use uv so that the third party library gets installed to the right venv. In notebook 11, I added an import statement for the third party library to the syft function in notebook 11 to test that it imports successfully. This was originally also done, but removed from notebook 10 in this PR since the syft worker in a separate thread does not appear to use the custom image currently.
Resolves https://github.com/OpenMined/Heartbeat/issues/1441
Affected Dependencies
- API notebooks 10 / 11
-
Custom API + Custom Workernotebook
How has this been tested?
Tested locally on devspace kubernetes cluster.
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
Check out this pull request on ![]()
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB