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