How to solve the "Kernel Restarting"?

When I tried “trainer.train()” in Lab_2_fine_tune_generative_ai_model.ipynb , I always got the message.

Kernel Restarting
The kernel for Lab_2_fine_tune_generative_ai_model.ipynb appears to have died. It will restart automatically.

How to fix it? Thank you.

Hi @Muhmut

Welcome to the community.

You ended up posting in the general category

What course are you attending to?

Don’t forget to post your queries on the appropriate space, this is the only way to us, mentors to get aware of issues or questions that learners might facing.

I hope you understand

Best regards

1 Like

course: Generative AI with Large Language Models
week 2

1 Like

2 Likes

Thank you for your response.

I will move your query to the appropriate category.

Best regards

1 Like

I had the same problem and now I don’t have enough aws credit finish the lab.

1 Like

Mahmut - did you get a reply for this? I have the identical issue. Thanks.

1 Like

Hi everyone, please check item 10 of this FAQ. The error is most likely because of the chosen instance type. Please check that it matches exactly what is mentioned in the lab instructions. Thank you!

1 Like

Hi Chris,

Your suggestion to check the FAQ did not resolve the issue. I am unable to switch to the specified kernel in the lab due to the “Failed to start kernel: AccessDeniedException” mentioned in the thread below.

I followed the instructions mentioned in the thread to restart the kernel and clear all the outputs. But that did not resolve the issue for me. Could you please try to take a look at this issue and let us know if there are any other workarounds possible?

Thanks,
Srikanth

1 Like

Hi Srikanth. Sorry to hear that. Can you take a screenshot of the entire error message you’re seeing? That helps a lot in debugging. I just did the lab and did not run into any issues. Thanks.

1 Like

I can no longer start the lab now. It says account is cleaning up when I try to start the lab.

1 Like

I see. Kindly fill out the form mentioned in the FAQ. Will reach out when our engineer has reactivated your account. Thanks.

1 Like