pytorch/torch/_dynamo
Edward Z. Yang d03173e88c Unify MYPYINDUCTOR and MYPY (#118432)
The original motivation for MYPYINDUCTOR was a faster type checking configuration that only checked a subset of files. With the removal of `follow_imports = ignore`, we are now able to use dmypy to do fast incremental typechecking, eliminating the need for this.

Perhaps erroneously, when I tee'ed up this PR I elected to delete the `follow_imports = skip` designations in the mypy-inductor.ini. This lead to a number of extra type error suppressions that I manually edited. You will need to review.

Signed-off-by: Edward Z. Yang <ezyang@meta.com>

Pull Request resolved: https://github.com/pytorch/pytorch/pull/118432
Approved by: https://github.com/Skylion007
ghstack dependencies: #118414, #118418
2024-01-27 17:23:20 +00:00
..
backends Unify MYPYINDUCTOR and MYPY (#118432) 2024-01-27 17:23:20 +00:00
repro Prefer e.is_number over not e.free_symbols in SymPy (#112688) 2023-11-06 20:05:13 +00:00
variables Unify MYPYINDUCTOR and MYPY (#118432) 2024-01-27 17:23:20 +00:00
__init__.py [Dynamo][12/N] Remove allowed_functions.py (#116401) 2023-12-28 21:26:06 +00:00
_trace_wrapped_higher_order_op.py Support a simple subset of functions as backward hooks on intermediate tensors (#109537) 2023-10-11 01:35:37 +00:00
bytecode_analysis.py [dynamo] Enable typechecking for bytecode_analysis.py (#112972) 2023-11-08 21:17:45 +00:00
bytecode_transformation.py [dynamo] Enable typechecking for bytecode_transformation.py (#112561) 2023-11-04 19:36:27 +00:00
cache_size.py Chore: improve log message about cache size limit exceeded (#116557) 2024-01-17 06:07:18 +00:00
code_context.py [dynamo] preserve some FX node metadata of GraphModules (#107067) 2023-09-15 23:29:14 +00:00
codegen.py [dynamo] Refactor install_global_once, remove usages of install_global_unsafe (#118100) 2024-01-24 23:25:44 +00:00
compiled_autograd.py Unify MYPYINDUCTOR and MYPY (#118432) 2024-01-27 17:23:20 +00:00
comptime.py [dynamo] Enable typechecking for comptime.py (#112999) 2023-11-08 21:17:45 +00:00
config.py LazyGraphModule (#117911) 2024-01-27 04:10:18 +00:00
convert_frame.py LazyGraphModule (#117911) 2024-01-27 04:10:18 +00:00
current_scope_id.py [HigherOrderOp] Fall back on all new side effects in speculate_subgraph (#104077) 2023-06-28 14:20:37 +00:00
debug_utils.py Unify MYPYINDUCTOR and MYPY (#118432) 2024-01-27 17:23:20 +00:00
decorators.py [Dynamo][12/N] Remove allowed_functions.py (#116401) 2023-12-28 21:26:06 +00:00
device_interface.py Reconstruct streams via global registration, temporary impl to unblock FSDP (#117386) 2024-01-13 07:03:33 +00:00
eval_frame.py Unify MYPYINDUCTOR and MYPY (#118432) 2024-01-27 17:23:20 +00:00
exc.py [exportdb] Remove torch/fb/exportdb (#117866) 2024-01-22 17:41:33 +00:00
external_utils.py Compiled autograd: Lift autograd functions' backward and provide default key for custom autograd functions (#115573) 2024-01-10 18:01:28 +00:00
funcname_cache.py [dynamo] Enable typechecking for funcname_cache.py (#112031) 2023-10-26 04:54:16 +00:00
guards.py Fix several bugs related to unbacked SymInt codegen in inductor (#117862) 2024-01-26 18:08:03 +00:00
hooks.py [dynamo] Enable typechecking for hooks.py (#112565) 2023-11-04 19:37:06 +00:00
logging.py Add stack trace to "start tracing" log (#118217) 2024-01-25 06:53:12 +00:00
mutation_guard.py [dynamo] Make {mutation_guard,symbolic_convert,side_effects}.py pass follow_imports typechecking (#113610) 2023-11-16 01:54:00 +00:00
output_graph.py Unify MYPYINDUCTOR and MYPY (#118432) 2024-01-27 17:23:20 +00:00
polyfill.py Unify MYPYINDUCTOR and MYPY (#118432) 2024-01-27 17:23:20 +00:00
profiler.py Remove size asserts from fx_insert_profiling (#114830) 2023-12-04 19:08:36 +00:00
replay_record.py [CI] Install dill in ci (#116214) 2024-01-24 23:42:35 +00:00
resume_execution.py Add torch_dynamo to resume_in for ease of debugging (#118201) 2024-01-25 06:52:17 +00:00
side_effects.py Unify MYPYINDUCTOR and MYPY (#118432) 2024-01-27 17:23:20 +00:00
skipfiles.py [dynamo] inline torch.jit._unwrap_optional (#118434) 2024-01-27 02:22:14 +00:00
source.py [dynamo] GetItemSource - restrict the supported index Source to be GlobalWeakRefSource (#117138) 2024-01-12 18:21:14 +00:00
symbolic_convert.py Unify MYPYINDUCTOR and MYPY (#118432) 2024-01-27 17:23:20 +00:00
test_case.py Unify MYPYINDUCTOR and MYPY (#118432) 2024-01-27 17:23:20 +00:00
test_minifier_common.py Unify MYPYINDUCTOR and MYPY (#118432) 2024-01-27 17:23:20 +00:00
testing.py [dynamo] fix functools.reduce() function with None as initial (#116398) 2023-12-25 21:23:28 +00:00
trace_rules.py Unify MYPYINDUCTOR and MYPY (#118432) 2024-01-27 17:23:20 +00:00
types.py Delete a bunch of type-ignores (#113990) 2023-11-18 02:48:38 +00:00
utils.py [dynamo] Refactor install_global_once, remove usages of install_global_unsafe (#118100) 2024-01-24 23:25:44 +00:00