mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
[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:
committed by
PyTorch MergeBot
parent
3cbf308a1f
commit
0928da10e4
2
mypy.ini
2
mypy.ini
@ -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
|
||||
|
Reference in New Issue
Block a user