Skip to content

Commit f012ff6

Browse files
Pyre Bot Jr.facebook-github-bot
authored andcommitted
Add missing Pyre mode headers] [batch:1/N] [A] [A] (#3204)
Summary: X-link: pytorch/torchx#1091 X-link: pytorch/tnt#1016 Differential Revision: D78138183
1 parent 45d5c4d commit f012ff6

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

torchrec/distributed/logger.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
# This source code is licensed under the BSD-style license found in the
66
# LICENSE file in the root directory of this source tree.
77

8+
# pyre-strict
9+
810
# mypy: allow-untyped-defs
911
import functools
1012
import inspect

torchrec/distributed/torchrec_logger.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
# This source code is licensed under the BSD-style license found in the
66
# LICENSE file in the root directory of this source tree.
77

8+
# pyre-strict
9+
810
# mypy: allow-untyped-defs
911

1012

torchrec/modules/hash_mc_evictions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
# This source code is licensed under the BSD-style license found in the
66
# LICENSE file in the root directory of this source tree.
77

8+
# pyre-strict
9+
810
import logging
911
import time
1012
from dataclasses import dataclass

torchrec/modules/pruning_logger.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
# This source code is licensed under the BSD-style license found in the
66
# LICENSE file in the root directory of this source tree.
77

8+
# pyre-strict
9+
810
import logging
911
from abc import ABC, abstractmethod
1012
from contextlib import contextmanager

0 commit comments

Comments
 (0)