[V1] Initial support of multimodal models for V1 re-arch (#10699)
Signed-off-by: Roger Wang <ywang@roblox.com>
This commit is contained in:
@@ -96,7 +96,8 @@ class PlaceholderRange(TypedDict):
|
||||
"""The length of the placeholder."""
|
||||
|
||||
|
||||
NestedTensors = Union[List["NestedTensors"], List[torch.Tensor], torch.Tensor]
|
||||
NestedTensors = Union[List["NestedTensors"], List[torch.Tensor], torch.Tensor,
|
||||
Tuple[torch.Tensor, ...]]
|
||||
"""
|
||||
Uses a list instead of a tensor if the dimensions of each element do not match.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user