diff --git a/mypy.ini b/mypy.ini index ec5b4fd3f..3d555eadb 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,3 +1,8 @@ [mypy] ignore_missing_imports = true exclude = output + +# torch had some type errors, we ignore them because they're not our fault +[mypy-torch._dynamo.*] +follow_imports = skip +follow_imports_for_stubs = True