[FSDP] exclude from typing (#74833)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/74833

FSDP has 74 type ignores and more being added, it may be better to
exclude from typechecking until we can type it properly.
ghstack-source-id: 152354450

Test Plan: CI

Reviewed By: zhaojuanmao

Differential Revision: D35186441

fbshipit-source-id: d06d90a06dcdbd38033adc70d0e9374333d4dc9a
(cherry picked from commit 4b410e1480abeeb672ce14274215ef55bcf3285d)
This commit is contained in:
Rohan Varma
2022-03-29 05:42:41 -07:00
committed by PyTorch MergeBot
parent 3cbf308a1f
commit 0928da10e4

View File

@ -41,7 +41,7 @@ files =
#
# `exclude` is a regex, not a list of paths like `files` (sigh)
#
exclude = torch/include/|torch/csrc/|torch/distributed/elastic/agent/server/api.py|torch/testing/_internal
exclude = torch/include/|torch/csrc/|torch/distributed/elastic/agent/server/api.py|torch/testing/_internal|torch/distributed/fsdp/fully_sharded_data_parallel.py
# Minimum version supported - variable annotations were introduced
# in Python 3.7