Skip to content

Commit 26400a0

Browse files
authored
Update nvfuserex_impl.py
fix type hint
1 parent f9dbf9c commit 26400a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thunder/executors/nvfuserex_impl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def compute_symbolic_shape(shape: torch.Size | Sequence[int]) -> tuple[int, ...]
292292

293293
def compute_contiguity(
294294
shape: torch.Size | Sequence[int], stride: Sequence[int]
295-
) -> tuple([tuple[bool, ...], tuple[int, ...]]):
295+
) -> tuple[[tuple[bool, ...], tuple[int, ...]]]:
296296
"""
297297
Computes the contiguity and stride_order of a tensor using nvFuser's notion.
298298

0 commit comments

Comments
 (0)