mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 08:37:06 +08:00
enable dcu ci (#3402)
This commit is contained in:
@@ -197,3 +197,13 @@ class XPUForwardMeta(ForwardMeta):
|
||||
dec_batch: Optional[paddle.Tensor] = None
|
||||
#
|
||||
total_enc_len: Optional[paddle.Tensor] = None
|
||||
|
||||
|
||||
@dataclass
|
||||
class DCUForwardMeta(ForwardMeta):
|
||||
"""
|
||||
DCUForwardMeta is used to store the global meta information of the forward, and some DCU specific meta info.
|
||||
"""
|
||||
|
||||
# Accumulated offset
|
||||
cum_offsets: Optional[paddle.Tensor] = None
|
||||
|
Reference in New Issue
Block a user