You can run Beam functions from Jupyter Notebook cells, which is useful for outsourcing heavy computation to Beam’s serverless cloud.Beam works in local notebooks and cloud notebooks like Google Colab.
Your local notebook server has access to the Beam credentials on your computer, so you can run Beam functions in the notebook cells like you normally would.You can run GPU accelerated functions, mount storage volumes, and use the full-functionality of Beam from the notebook.
You can spin up a local Jupyter notebook server using the jupyter CLI.If you already have a local Jupyter environment, you can skip this step.If you don’t have it installed yet, you can do it with pip: