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

[Bug]: Restart Kernel code removed from Summarize Article notebook

Open pmorrisgit opened this issue 3 months ago • 2 comments

File Name

gemini/tuning/sft_gemini_summarization.ipynb

What happened?

A bug happened! In the last commit, the 'Restart Runtime in Colab' cell was removed. Due to this, when running the notebook in colab, the import libraries cell fails to run without manually restarting the runtime.

Relevant log output


Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

pmorrisgit avatar Sep 16 '25 19:09 pmorrisgit

This shouldn't be required when the install %pip is being used instead of !pip. Be sure that everything is installed how the notebook is written.

holtskinner avatar Sep 17 '25 17:09 holtskinner

Thank you for the reply, that makes a lot of sense. For some reason I can't get it to work in that way, restarting the runtime has been necessary.

pmorrisgit avatar Sep 18 '25 17:09 pmorrisgit