Prodigy on AWS Sagemaker Notebooks


We are having some trouble running Prodigy from AWS SageMaker Notebooks. We have used the license to install prodigy via pip. We also executed the labextensions statement. However, when trying to run prodigy, it does not open the web interface. It does look like it is running but we cannot open a web page on notebooks to confirm.

Could you please help me with this?

Hi! If you've installed the JupyterLab extension for Prodigy in your notebook environment, you should be able to open the Prodigy UI in a tab with "Open Prodigy" in the commands palette in the left sidebar. Also see the docs here for an example: GitHub - explosion/jupyterlab-prodigy: 🧬 A JupyterLab extension for annotating data with Prodigy

(I don't know how SageMaker notebooks are configured by default but if the app isn't showing in the JupyterLab UI, you might have to check if you need to open up the port you're serving Prodigy on.)

Hi Ines,

Thank you so much for that link! I think I found the issue. AWS Jupyterlabs has a version of 1.2.X. Sources state that they will be updating to 2.X.X some time later this year. Though Prodigy did install and labextension was active, when searching for "Open Prodigy" in commands, nothing was showing up.

Thanks for the update, that's really good to know for the future! Hope they'll be updating the version soon :blush:

In the meantime, you could try installing version 1.0.0 of the prodigy-jupyterlab extension, which was developed for JupyterLab v1.x: It's a pretty old version, though, so I can't promise that it'll work and be compatible with v1.2.x that Sagemaker is running.

Hi @Prem @ines
Did you find a solution to using prodigy in sagemaker jupyter lab notebook instances, or is it not possible?