From 7f8132ba9688af285156dd3267e3faca625cd1e5 Mon Sep 17 00:00:00 2001 From: Felicity Liao Date: Mon, 31 Mar 2025 12:39:34 -0700 Subject: [PATCH] Fix pyre test on OSS remove ignore Differential Revision: D72187346 --- torchrec/ir/utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/torchrec/ir/utils.py b/torchrec/ir/utils.py index 990f16ff1..6e9367e43 100644 --- a/torchrec/ir/utils.py +++ b/torchrec/ir/utils.py @@ -175,7 +175,6 @@ def _get_dim(name: str, min: Optional[int] = None, max: Optional[int] = None) -> """ dim = f"{name}_{DYNAMIC_DIMS[name]}" DYNAMIC_DIMS[name] += 1 - # pyre-ignore[7]: Expected `DIM` but got `Dim`. return Dim(dim, min=min, max=max)