From 279cb4d7b81d4cfbfbdc2f2314765c7f0ae98c75 Mon Sep 17 00:00:00 2001 From: Masaki Kozuki Date: Mon, 16 Dec 2024 15:58:21 +0900 Subject: [PATCH] remove redundant square brackets from type hint --- thunder/executors/nvfuserex_impl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thunder/executors/nvfuserex_impl.py b/thunder/executors/nvfuserex_impl.py index 4e5a204f8c..fe68bf72f4 100644 --- a/thunder/executors/nvfuserex_impl.py +++ b/thunder/executors/nvfuserex_impl.py @@ -349,7 +349,7 @@ def compute_symbolic_shape( def compute_contiguity( shape: torch.Size | Sequence[int], stride: Sequence[int] -) -> tuple[[tuple[bool, ...], tuple[int, ...]]]: +) -> tuple[tuple[bool, ...], tuple[int, ...]]: """ Computes the contiguity and stride_order of a tensor using nvFuser's notion.