Skip to content

Commit 514e43d

Browse files
connernilsenfacebook-github-bot
authored andcommitted
Pyre Configurationless migration for] [batch:231/244]
Reviewed By: inseokhwang Differential Revision: D54686975 fbshipit-source-id: 58759f1c69c8abc06cf32b9a9f406dc4c51de2d5
1 parent 6bd9dc6 commit 514e43d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+158
-0
lines changed

benchmarks/torchrec/main.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 argparse
911
import logging
1012
import os

examples/ddp_example.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#
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.
7+
8+
# pyre-strict
79
import argparse
810
import os
911
import uuid

examples/simple_example.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 argparse
911
import uuid
1012
from typing import Optional

examples/torchrec/main.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 argparse
911
import os
1012
import uuid

tests/conftest.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
from typing import Generator
911

1012
import pytest

tests/gpu_tests/test_dtensor_io_preparer.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
from typing import List, Sequence, Set, Tuple
911

1012
import numpy as np

tests/gpu_tests/test_dtensor_utils.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 torch
911

1012
import torch.distributed as dist

tests/gpu_tests/test_manifest_utils.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 torch
911

1012
import torch.distributed as dist

tests/gpu_tests/test_partitioner_dtensor.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 uuid
911
from collections import defaultdict
1012
from typing import List

tests/gpu_tests/test_snapshot_dtensor.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 uuid
1012
from typing import Optional

0 commit comments

Comments
 (0)