[CI] Support partial torch requirement contexts (#51832)
Signed-off-by: Taneem Ibrahim <taneem.ibrahim@gmail.com> Co-authored-by: Wentao Ye <44945378+yewentao256@users.noreply.github.com>
This commit is contained in:
co-authored by
Wentao Ye
parent
e3fe212eaf
commit
ca9c8cbd1b
@@ -32,7 +32,7 @@ def main(argv):
|
|||||||
for file in (
|
for file in (
|
||||||
*glob.glob("requirements/**/*.txt", recursive=True),
|
*glob.glob("requirements/**/*.txt", recursive=True),
|
||||||
*glob.glob("requirements/**/*.in", recursive=True),
|
*glob.glob("requirements/**/*.in", recursive=True),
|
||||||
"pyproject.toml",
|
*glob.glob("pyproject.toml"),
|
||||||
):
|
):
|
||||||
with open(file) as f:
|
with open(file) as f:
|
||||||
lines = f.readlines()
|
lines = f.readlines()
|
||||||
|
|||||||
Reference in New Issue
Block a user