llamafactory-cli train /path/to/train_full.yaml

改成

FORCE_TORCHRUN=1 llamafactory-cli train /path/to/train_full.yaml

或者

export FORCE_TORCHRUN=1
llamafactory-cli train /path/to/train_full.yaml

以及

不用nohup改用screen

step-1,screen -S my_background_task

step-2,./long_running_script.sh

step-3,按组合键 ‌Ctrl + A 松开后按 D‌

Logo

汇聚全球AI编程工具,助力开发者即刻编程。

更多推荐