Skip to content

Commit dcc9f4a

Browse files
aporialiaofacebook-github-bot
authored andcommitted
Fix pyre test on OSS remove ignore
Summary: Remove pyre ignore statement not suppressing error See: https://github.com/pytorch/torchrec/actions/runs/14179869349 Reviewed By: TroyGarden Differential Revision: D72187346
1 parent bd0b13e commit dcc9f4a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

torchrec/ir/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ def _get_dim(name: str, min: Optional[int] = None, max: Optional[int] = None) ->
175175
"""
176176
dim = f"{name}_{DYNAMIC_DIMS[name]}"
177177
DYNAMIC_DIMS[name] += 1
178-
# pyre-ignore[7]: Expected `DIM` but got `Dim`.
179178
return Dim(dim, min=min, max=max)
180179

181180

0 commit comments

Comments
 (0)