generative-ai icon indicating copy to clipboard operation
generative-ai copied to clipboard

Update intro_palm_api.ipynb - no longer need custom code to restart notebook in Colab

Open dvmorris opened this issue 2 years ago • 1 comments

image

dvmorris avatar May 25 '23 17:05 dvmorris

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Hi @dvmorris, Indeed, the runtime doesn't need to be restarted, because Colab now has the latest version of google-cloud-aiplatform pre-installed (1.25.0) already. However, for future-proofing, it's still safer to keep the restart runtime in the notebook (which we're also including in all of the other notebooks too).

polong-lin avatar Jun 01 '23 09:06 polong-lin

I meant that Colab surfaces a restart button, in the console output, so you don't need any custom code to restart the runtime. I provided a screenshot in the pull request description above.

dvmorris avatar Jun 01 '23 15:06 dvmorris