Skip to content

Commit 4659ead

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

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/utils/test_device_mesh.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

911
from torchtnt.utils.device_mesh import (

torchtnt/utils/device_mesh.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 Optional
810

911
from torch.distributed.device_mesh import DeviceMesh, init_device_mesh

0 commit comments

Comments
 (0)