How update the kernel in SageMaker

0

When I used Juypter to run Bert model from huggingface, it reported this and then the notebook did and restarted. Detected kernel version 4.14.334, which is below the recommended minimum of 5.5.0; this can cause the process to hang. It is recommended to upgrade the kernel to the minimum version or higher.

By the way, "sudo amazon-linux-extras install kernel-5.4 -y" this command did not work. Thank you.

  • Hi, can you share more details on the environment you are using? Are you running SageMaker Studio (if so can you please specify which image and version for your app and JupyterLab version)? Alternatively, if you are using SageMaker Notebook Instances, which version of Amazon Linux and JupyterLab are you using? Thank you.

  • It is JupyterLab in SageMaker Studio. The image is SageMaker Distribution 1.3. Instance is ml.t3.medium. I used "uname -r" command to check the kernel version. The kernel version is 4.14.336-253.554.amzn2.x86_64

gefragt vor 3 Monaten216 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen