Skip to content

Commit f69c6cf

Browse files
committed
Remove explicit torch domain lib install in install_requirements.py
1 parent 584dc60 commit f69c6cf

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

install_requirements.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -147,25 +147,6 @@ def install_requirements(use_pytorch_nightly):
147147

148148

149149
def install_optional_example_requirements(use_pytorch_nightly):
150-
print("Installing torch domain libraries")
151-
DOMAIN_LIBRARIES = [
152-
("torchvision==0.24.0" if use_pytorch_nightly else "torchvision"),
153-
"torchaudio==2.9.0" if use_pytorch_nightly else "torchaudio",
154-
]
155-
# Then install domain libraries
156-
subprocess.run(
157-
[
158-
sys.executable,
159-
"-m",
160-
"pip",
161-
"install",
162-
*DOMAIN_LIBRARIES,
163-
"--extra-index-url",
164-
TORCH_URL,
165-
],
166-
check=True,
167-
)
168-
169150
print("Installing packages in requirements-examples.txt")
170151
subprocess.run(
171152
[

0 commit comments

Comments
 (0)