Skip to content

Commit 75435b9

Browse files
committed
debug
1 parent aacbeba commit 75435b9

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/trunk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ jobs:
832832
833833
# Install executorch
834834
echo "::group::Set up ExecuTorch"
835-
./install_requirements.sh --use-pt-pinned-commit
835+
./install_requirements.sh
836836
echo "::endgroup::"
837837
838838
# Used by .ci/scripts/test_huggingface_optimum_model.py

install_requirements.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,11 @@ def install_requirements(use_pytorch_nightly):
7777
"-r",
7878
"requirements-dev.txt",
7979
*TORCH_PACKAGE,
80+
"--pre",
8081
"--index-url",
8182
torch_url,
82-
"--pre",
83+
"--extra-index-url",
84+
"https://pypi.org/simple",
8385
],
8486
check=True,
8587
)
@@ -141,9 +143,11 @@ def install_optional_example_requirements(use_pytorch_nightly):
141143
"pip",
142144
"install",
143145
*DOMAIN_LIBRARIES,
146+
"--pre",
144147
"--index-url",
145148
torch_url,
146-
"--pre",
149+
"--extra-index-url",
150+
"https://pypi.org/simple",
147151
],
148152
check=True,
149153
)
@@ -157,9 +161,11 @@ def install_optional_example_requirements(use_pytorch_nightly):
157161
"install",
158162
"-r",
159163
"requirements-examples.txt",
164+
"--pre",
160165
"--index-url",
161166
torch_url,
162-
"--pre",
167+
"--extra-index-url",
168+
"https://pypi.org/simple",
163169
"--upgrade-strategy",
164170
"only-if-needed",
165171
],

0 commit comments

Comments
 (0)