From ca9c8cbd1bfb6a3fdcd3abf64b7204d967f539f0 Mon Sep 17 00:00:00 2001 From: Taneem Ibrahim Date: Tue, 11 Aug 2026 18:25:14 +0200 Subject: [PATCH] [CI] Support partial torch requirement contexts (#51832) Signed-off-by: Taneem Ibrahim Co-authored-by: Wentao Ye <44945378+yewentao256@users.noreply.github.com> --- use_existing_torch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/use_existing_torch.py b/use_existing_torch.py index 39c327e967..d090c4a4c4 100644 --- a/use_existing_torch.py +++ b/use_existing_torch.py @@ -32,7 +32,7 @@ def main(argv): for file in ( *glob.glob("requirements/**/*.txt", recursive=True), *glob.glob("requirements/**/*.in", recursive=True), - "pyproject.toml", + *glob.glob("pyproject.toml"), ): with open(file) as f: lines = f.readlines()