Skip to content

Commit 198da58

Browse files
generatedunixname89002005287564facebook-github-bot
authored andcommitted
Pyre Configurationless migration for] [batch:23/25] (#841)
Summary: Pull Request resolved: #841 Reviewed By: connernilsen Differential Revision: D57836213 fbshipit-source-id: 39b0f90fe467850e7f0a6d45a2213cd7d4186dba
1 parent 077c1fe commit 198da58

File tree

7 files changed

+14
-0
lines changed

7 files changed

+14
-0
lines changed

tests/framework/callbacks/test_early_stopping.py

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

7+
# pyre-strict
8+
79
import unittest
810
from typing import cast, Literal
911
from unittest.mock import MagicMock, patch

tests/framework/callbacks/test_time_wait_for_batch_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 unittest
911
from unittest.mock import ANY, call, MagicMock
1012

torchtnt/framework/callbacks/early_stopping.py

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

7+
# pyre-strict
8+
79
from typing import Literal
810

911
from torchtnt.framework.callback import Callback

torchtnt/framework/callbacks/progress_reporter.py

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

7+
# pyre-strict
8+
79

810
import logging
911
from typing import cast

torchtnt/framework/callbacks/slow_rank_detector.py

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

7+
# pyre-strict
8+
79
import logging
810
import time
911
from typing import List, Optional, Tuple

torchtnt/framework/callbacks/time_wait_for_batch_logger.py

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

7+
# pyre-strict
8+
79

810
from typing import cast, Union
911

torchtnt/utils/fsdp_utils.py

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

7+
# pyre-strict
8+
79
import importlib
810

911
from dataclasses import dataclass

0 commit comments

Comments
 (0)