From 3fbd547b4230dba34a64cc084e2c3e17cd6512c6 Mon Sep 17 00:00:00 2001 From: generatedunixname89002005287564 Date: Mon, 22 Apr 2024 15:02:27 -0700 Subject: [PATCH] Pyre Configurationless migration for] [batch:28/29] (#1911) Summary: Pull Request resolved: https://github.com/pytorch/torchrec/pull/1911 Reviewed By: connernilsen Differential Revision: D56413782 fbshipit-source-id: eec8087f69b2cc4354d88c3b91db88638a5196f3 --- torchrec/ir/schema.py | 2 ++ torchrec/ir/serializer.py | 2 ++ torchrec/ir/tests/test_serializer.py | 2 ++ torchrec/ir/utils.py | 2 ++ 4 files changed, 8 insertions(+) diff --git a/torchrec/ir/schema.py b/torchrec/ir/schema.py index 27ee9c8e6..f0fbf706e 100644 --- a/torchrec/ir/schema.py +++ b/torchrec/ir/schema.py @@ -5,6 +5,8 @@ # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. +# pyre-strict + from dataclasses import dataclass from typing import List, Optional diff --git a/torchrec/ir/serializer.py b/torchrec/ir/serializer.py index 514ea501e..f6ebd8ba5 100644 --- a/torchrec/ir/serializer.py +++ b/torchrec/ir/serializer.py @@ -5,6 +5,8 @@ # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. +# pyre-strict + import json from typing import Dict, Type diff --git a/torchrec/ir/tests/test_serializer.py b/torchrec/ir/tests/test_serializer.py index 6ff922c07..af3a91687 100644 --- a/torchrec/ir/tests/test_serializer.py +++ b/torchrec/ir/tests/test_serializer.py @@ -5,6 +5,8 @@ # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. +# pyre-strict + #!/usr/bin/env python3 import unittest diff --git a/torchrec/ir/utils.py b/torchrec/ir/utils.py index bc89ab03b..5809b9dff 100644 --- a/torchrec/ir/utils.py +++ b/torchrec/ir/utils.py @@ -5,6 +5,8 @@ # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. +# pyre-strict + #!/usr/bin/env python3 from typing import List, Tuple, Type