From c1f7991aece25d6f147e8d08cfda3d68afed9fa5 Mon Sep 17 00:00:00 2001 From: xiaoxiaohehe001 <49090790+xiaoxiaohehe001@users.noreply.github.com> Date: Mon, 23 Mar 2026 17:10:56 +0800 Subject: [PATCH] [BugFix] add worker_process no grad (#6971) --- fastdeploy/worker/worker_process.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fastdeploy/worker/worker_process.py b/fastdeploy/worker/worker_process.py index 940e37a942..29deb2db4d 100644 --- a/fastdeploy/worker/worker_process.py +++ b/fastdeploy/worker/worker_process.py @@ -1242,6 +1242,7 @@ def initialize_fd_config(args, ranks: int = 1, local_rank: int = 0) -> FDConfig: return fd_config +@paddle.no_grad() def run_worker_proc() -> None: """ start worker process