mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
[Graph Optimization][BugFix][CI] Fix 0size bug && add unitest (#5495)
This commit is contained in:
@@ -149,6 +149,9 @@ class ForwardMeta:
|
||||
moe_num_chunk: int = 1
|
||||
max_moe_num_chunk: int = 1
|
||||
|
||||
# for zero size
|
||||
is_zero_size: bool = False
|
||||
|
||||
def clear_caches(self):
|
||||
"""Safely clean up the caches"""
|
||||
if self.caches:
|
||||
|
||||
Reference in New Issue
Block a user