PySyft icon indicating copy to clipboard operation
PySyft copied to clipboard

Update custom image pip install commands in notebooks to add uv and add import statement to syft function

Open BrendanSchell opened this issue 1 year ago • 1 comments

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 Worker notebook

How has this been tested?

Tested locally on devspace kubernetes cluster.

Checklist

BrendanSchell avatar Jun 12 '24 14:06 BrendanSchell

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB