Hello Maria,
I shared a link in the previous comment which has issues related to your issue. did you go through those link?? Sharing again, in case you haven’t had a look
https://community.deeplearning.ai/t/genai-with-llms-lab-faq/374869#11
kindly look at pointer #10 for kernel crashing, for AWS issue #7 and #8, in case you cannot go through all the pointers.
The post is made by the L.T of this course @chris.favila, I am tagging him too incase your issue does not resolved even after going through those pointers.
Regards
DP