From 2c55bd5768e536433e2a87e69035e869266d2477 Mon Sep 17 00:00:00 2001 From: lijiaxing Date: Wed, 20 Dec 2023 17:23:45 +0800 Subject: [PATCH] redo --- configs/7B_sft.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/7B_sft.py b/configs/7B_sft.py index 7e81f42..4358ae8 100644 --- a/configs/7B_sft.py +++ b/configs/7B_sft.py @@ -38,7 +38,7 @@ ckpt = dict( # If you want to initialize your model weights from another model, you must set `auto_resume` to False. # If you want to train from scratch, please set `auto_resume` to False and 'load_ckpt_info' to None. auto_resume=True, - checkpoint_every=CHECKPOINT_EVERY, # if checkpoint_every is not set, auto checkpoint_every will be executed + checkpoint_every=CHECKPOINT_EVERY, async_upload=True, # async ckpt upload. (only work for boto3 ckpt) async_upload_tmp_folder="/dev/shm/internlm_tmp_ckpt/", # path for temporarily files during asynchronous upload. auto_save_time=1200, # time to control oss_snapshot_freq. If not set, 1200 seconds by default.