diff --git a/use_existing_torch.py b/use_existing_torch.py index 7c58a34d69..39c327e967 100644 --- a/use_existing_torch.py +++ b/use_existing_torch.py @@ -30,8 +30,8 @@ def main(argv): args = parser.parse_args(argv) for file in ( - *glob.glob("requirements/*.txt"), - *glob.glob("requirements/*.in"), + *glob.glob("requirements/**/*.txt", recursive=True), + *glob.glob("requirements/**/*.in", recursive=True), "pyproject.toml", ): with open(file) as f: