From 5c8533ed108ddb354fcd3c396f89afbc15a7ab94 Mon Sep 17 00:00:00 2001 From: Jia Chen Date: Mon, 8 Apr 2024 08:29:54 -0700 Subject: [PATCH] Add `# pyre-ignore-all-errors` header to generated Python code under `fbcode/deeplearning/fbgemm/fbgemm_gpu` (#2482) Summary: Pull Request resolved: https://github.com/pytorch/FBGEMM/pull/2482 Reviewed By: inseokhwang Differential Revision: D55817659 fbshipit-source-id: 5983e092d351d46b37deddc03f61a3fa3bb20633 --- .../python/split_embedding_codegen_lookup_invoker.template | 2 ++ .../training/python/split_embedding_optimizer_codegen.template | 2 ++ 2 files changed, 4 insertions(+) diff --git a/fbgemm_gpu/codegen/training/python/split_embedding_codegen_lookup_invoker.template b/fbgemm_gpu/codegen/training/python/split_embedding_codegen_lookup_invoker.template index 0a2427f65..fec923833 100644 --- a/fbgemm_gpu/codegen/training/python/split_embedding_codegen_lookup_invoker.template +++ b/fbgemm_gpu/codegen/training/python/split_embedding_codegen_lookup_invoker.template @@ -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-ignore-all-errors + import torch {%- if is_experimental_optimizer %} import warnings diff --git a/fbgemm_gpu/codegen/training/python/split_embedding_optimizer_codegen.template b/fbgemm_gpu/codegen/training/python/split_embedding_optimizer_codegen.template index 4405c3abc..51385c53f 100644 --- a/fbgemm_gpu/codegen/training/python/split_embedding_optimizer_codegen.template +++ b/fbgemm_gpu/codegen/training/python/split_embedding_optimizer_codegen.template @@ -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-ignore-all-errors + import torch from .optimizer_args import * from typing import Optional, List, Tuple