From 0fe2f08a90b8a9eb267139ed9b9295e3240f557e Mon Sep 17 00:00:00 2001 From: "hanxudong.hxd" Date: Tue, 12 Nov 2024 17:34:28 +0800 Subject: [PATCH] add spwan method --- tools/checkpoint/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/checkpoint/convert.py b/tools/checkpoint/convert.py index 935613b143..51e453bbbe 100644 --- a/tools/checkpoint/convert.py +++ b/tools/checkpoint/convert.py @@ -136,7 +136,7 @@ def main(): saver.add_arguments(parser) args = parser.parse_args() - + mp.set_start_method('spawn') queue = mp.Queue(maxsize=args.max_queue_size) print("Starting saver...")