mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-23 00:17:25 +08:00
[BugFix] add worker_process no grad (#6971)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user