From fd86dce17bfb4338bbc94b73efc151cfd2288382 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 4 Jul 2024 00:25:30 +0000 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9B=B4=E6=96=B0=E5=86=85?= =?UTF-8?q?=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- finetune/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/finetune/README.md b/finetune/README.md index ab77345..f550217 100644 --- a/finetune/README.md +++ b/finetune/README.md @@ -5,6 +5,17 @@ docker-compose -f docker-compose_pytorch1.13.yml build docker-compose -f docker-compose_pytorch2.3.yml build ``` +## 物理机更新内核 + +```shell +uname -r +sudo apt-get update # This will update the repositories list +sudo apt-get upgrade # This will update all the necessary packages on your system +sudo apt-get dist-upgrade # This will add/remove any needed packages +reboot # You may need this since sometimes after a upgrade/dist-upgrade, there are some left over entries that get fixed after a reboot +sudo apt-get install linux-headers-$(uname -r) # This should work now +``` + ## test command ```shell