From d6eeacfeb2d4a2d7bdde9edc192d998abcfab773 Mon Sep 17 00:00:00 2001 From: lijiaxing Date: Tue, 12 Dec 2023 10:36:04 +0800 Subject: [PATCH] bug --- internlm/utils/model_checkpoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internlm/utils/model_checkpoint.py b/internlm/utils/model_checkpoint.py index dfd0386..ee6266d 100644 --- a/internlm/utils/model_checkpoint.py +++ b/internlm/utils/model_checkpoint.py @@ -910,7 +910,7 @@ now step_count is {train_state.step_count}", f"Unsupported backend: {backend}, " "Currently only support `boto3`, `oss2`, `volc` and `local`" ) - if latest_ckpt and not latest_ckpt.startswith(backend): + if latest_ckpt and not latest_ckpt.startswith(backend + ":"): latest_ckpt = ":".join([backend, latest_ckpt]) if gpc.is_rank_for_log():