mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 00:57:33 +08:00
fix typos (#3684)
This commit is contained in:
@@ -40,7 +40,7 @@ class ConcreteSizeEntry:
|
||||
# Has runtime-bs been captured before
|
||||
captured: bool = False
|
||||
|
||||
# Need to be captured callable object(dynamic graph or static grpah backend)
|
||||
# Need to be captured callable object(dynamic graph or static graph backend)
|
||||
runnable: Callable = None # type: ignore
|
||||
# Number of completed warmups
|
||||
num_finished_warmup: int = 0
|
||||
|
@@ -117,9 +117,9 @@ class GraphOptBackend:
|
||||
|
||||
self.max_captre_batch = fd_config.graph_opt_config.cudagraph_capture_sizes[0]
|
||||
if self.fd_config.graph_opt_config.graph_opt_level > 0:
|
||||
# 1. Prepare cuda grpah input buffers (contain output of subgraphs)
|
||||
# 1. Prepare cuda graph input buffers (contain output of subgraphs)
|
||||
|
||||
# 2. Convert dynamic grpah to static graph
|
||||
# 2. Convert dynamic graph to static graph
|
||||
|
||||
backend = (
|
||||
ToStaticBackend.CINN if self.fd_config.graph_opt_config.graph_opt_level > 1 else ToStaticBackend.PHI
|
||||
|
Reference in New Issue
Block a user